feat: 优化代码

pull/172/head
kunfei 5 years ago
parent bcb78db5e7
commit d6ef417009
  1. 15
      app/src/main/AndroidManifest.xml

@ -120,15 +120,19 @@
android:configChanges="locale|keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout" android:configChanges="locale|keyboardHidden|orientation|screenSize|smallestScreenSize|screenLayout"
android:launchMode="singleTask" android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize|stateHidden" /> android:windowSoftInputMode="adjustResize|stateHidden" />
<!--配置界面-->
<activity <activity
android:name=".ui.config.ConfigActivity" android:name=".ui.config.ConfigActivity"
android:launchMode="singleTask" /> android:launchMode="singleTask" />
<!--搜索界面-->
<activity <activity
android:name="io.legado.app.ui.book.search.SearchActivity" android:name="io.legado.app.ui.book.search.SearchActivity"
android:launchMode="singleTask" /> android:launchMode="singleTask" />
<!--关于界面-->
<activity <activity
android:name=".ui.about.AboutActivity" android:name=".ui.about.AboutActivity"
android:launchMode="singleTask" /> android:launchMode="singleTask" />
<!--捐赠界面-->
<activity <activity
android:name=".ui.about.DonateActivity" android:name=".ui.about.DonateActivity"
android:launchMode="singleTask" /> android:launchMode="singleTask" />
@ -177,12 +181,15 @@
android:scheme="yuedu" /> android:scheme="yuedu" />
</intent-filter> </intent-filter>
</activity> </activity>
<!--书籍管理-->
<activity <activity
android:name=".ui.book.arrange.ArrangeBookActivity" android:name=".ui.book.arrange.ArrangeBookActivity"
android:launchMode="singleTop" /> android:launchMode="singleTop" />
<!--书源调试-->
<activity <activity
android:name=".ui.book.source.debug.BookSourceDebugActivity" android:name=".ui.book.source.debug.BookSourceDebugActivity"
android:launchMode="singleTop" /> android:launchMode="singleTop" />
<!--目录-->
<activity <activity
android:name="io.legado.app.ui.book.chapterlist.ChapterListActivity" android:name="io.legado.app.ui.book.chapterlist.ChapterListActivity"
android:screenOrientation="behind" android:screenOrientation="behind"
@ -193,28 +200,36 @@
android:configChanges="orientation|screenSize" android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true" android:hardwareAccelerated="true"
android:launchMode="singleTop" /> android:launchMode="singleTop" />
<!--导入书籍-->
<activity <activity
android:name="io.legado.app.ui.book.local.ImportBookActivity" android:name="io.legado.app.ui.book.local.ImportBookActivity"
android:launchMode="singleTop" /> android:launchMode="singleTop" />
<!--发现界面-->
<activity <activity
android:name="io.legado.app.ui.book.explore.ExploreShowActivity" android:name="io.legado.app.ui.book.explore.ExploreShowActivity"
android:launchMode="singleTop" /> android:launchMode="singleTop" />
<!--订阅源调试-->
<activity <activity
android:name=".ui.rss.source.debug.RssSourceDebugActivity" android:name=".ui.rss.source.debug.RssSourceDebugActivity"
android:launchMode="singleTop" /> android:launchMode="singleTop" />
<!--订阅条目-->
<activity <activity
android:name=".ui.rss.article.RssArticlesActivity" android:name=".ui.rss.article.RssArticlesActivity"
android:launchMode="singleTop" /> android:launchMode="singleTop" />
<!--Rss收藏-->
<activity <activity
android:name=".ui.rss.favorites.RssFavoritesActivity" android:name=".ui.rss.favorites.RssFavoritesActivity"
android:launchMode="singleTop" /> android:launchMode="singleTop" />
<!--下载界面-->
<activity <activity
android:name="io.legado.app.ui.book.download.DownloadActivity" android:name="io.legado.app.ui.book.download.DownloadActivity"
android:launchMode="singleTop" /> android:launchMode="singleTop" />
<!--书源登录-->
<activity <activity
android:name=".ui.login.SourceLogin" android:name=".ui.login.SourceLogin"
android:configChanges="orientation|screenSize" android:configChanges="orientation|screenSize"
android:hardwareAccelerated="true" /> android:hardwareAccelerated="true" />
<!--文字处理-->
<activity <activity
android:name=".receiver.SharedReceiverActivity" android:name=".receiver.SharedReceiverActivity"
android:label="@string/receiving_shared_label"> android:label="@string/receiving_shared_label">

Loading…
Cancel
Save