mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化代码
This commit is contained in:
parent
1c175a1ed0
commit
100b3d2216
@ -25,14 +25,9 @@
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/AppTheme.Light"
|
||||
tools:ignore="AllowBackup,GoogleAppIndexingWarning">
|
||||
<activity android:name=".ui.search.SearchActivity">
|
||||
</activity>
|
||||
<activity android:name=".ui.about.AboutActivity">
|
||||
</activity>
|
||||
<activity
|
||||
android:name=".ui.main.MainActivity"
|
||||
android:label="@string/app_name"
|
||||
android:theme="@style/AppTheme.Light.NoActionBar">
|
||||
android:label="@string/app_name">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN"/>
|
||||
|
||||
@ -40,6 +35,8 @@
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity android:name=".ui.replacerule.ReplaceRuleActivity"/>
|
||||
<activity android:name=".ui.search.SearchActivity"/>
|
||||
<activity android:name=".ui.about.AboutActivity"/>
|
||||
|
||||
<activity android:name=".help.permission.PermissionActivity"
|
||||
android:theme="@style/Activity.Permission"/>
|
||||
|
@ -5,7 +5,7 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/drawer_layout"
|
||||
android:layout_width="match_parent" android:layout_height="match_parent"
|
||||
android:fitsSystemWindows="true" tools:openDrawer="start">
|
||||
tools:openDrawer="start">
|
||||
|
||||
<include
|
||||
layout="@layout/app_bar_main"
|
||||
@ -18,6 +18,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:fitsSystemWindows="true"
|
||||
app:insetForeground="@color/transparent"
|
||||
app:headerLayout="@layout/nav_header_main"
|
||||
app:menu="@menu/activity_main_drawer"/>
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
android:id="@+id/title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:fitsSystemWindows="true"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:title="搜索"/>
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
<io.legado.app.ui.widget.TitleBar
|
||||
android:id="@+id/title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:fitsSystemWindows="true"
|
||||
android:layout_height="wrap_content"/>
|
||||
|
||||
<include layout="@layout/content_main"/>
|
||||
|
@ -1,7 +0,0 @@
|
||||
<resources>
|
||||
<style name="AppTheme.Light.NoActionBar">
|
||||
<item name="windowActionBar">false</item>
|
||||
<item name="windowNoTitle">true</item>
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
</style>
|
||||
</resources>
|
Loading…
Reference in New Issue
Block a user