mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-28 17:19:00 +03:00
adjust main activity navbar
- swap anime and manga postions - change anime logo - rename "library" to "manga"
This commit is contained in:
parent
91ee5c993c
commit
e8b89cad9e
5 changed files with 22 additions and 6 deletions
|
@ -76,7 +76,7 @@ class MainActivity : BaseViewBindingActivity<MainActivityBinding>() {
|
|||
3 -> R.id.nav_animelib
|
||||
4 -> R.id.nav_browse
|
||||
5 -> R.id.nav_library
|
||||
else -> R.id.nav_library
|
||||
else -> R.id.nav_animelib
|
||||
}
|
||||
}
|
||||
|
||||
|
|
10
app/src/main/res/drawable/ic_baseline_collections_24.xml
Normal file
10
app/src/main/res/drawable/ic_baseline_collections_24.xml
Normal file
|
@ -0,0 +1,10 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?attr/colorControlNormal">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M22,16L22,4c0,-1.1 -0.9,-2 -2,-2L8,2c-1.1,0 -2,0.9 -2,2v12c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2zM11,12l2.03,2.71L16,11l4,5L8,16l3,-4zM2,6v14c0,1.1 0.9,2 2,2h14v-2L4,20L4,6L2,6z"/>
|
||||
</vector>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/ic_baseline_collections_24" android:state_checked="true" />
|
||||
<item android:drawable="@drawable/ic_baseline_collections_24" android:state_checked="false" />
|
||||
</selector>
|
|
@ -1,13 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:id="@+id/nav_animelib"
|
||||
android:icon="@drawable/ic_collections_baseline_state"
|
||||
android:title="@string/label_animelib" />
|
||||
<item
|
||||
android:id="@+id/nav_library"
|
||||
android:icon="@drawable/ic_collections_bookmark_state"
|
||||
android:title="@string/label_library" />
|
||||
<item
|
||||
android:id="@+id/nav_animelib"
|
||||
android:icon="@drawable/ic_collections_bookmark_state"
|
||||
android:title="@string/label_animelib" />
|
||||
android:title="@string/label_manga" />
|
||||
<item
|
||||
android:id="@+id/nav_updates"
|
||||
android:icon="@drawable/ic_new_releases_state"
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
<string name="label_download_queue">Download queue</string>
|
||||
<string name="label_library">Library</string>
|
||||
<string name="label_animelib">Anime</string>
|
||||
<string name="label_manga">Manga</string>
|
||||
<string name="label_recent_updates">Updates</string>
|
||||
<string name="label_recent_manga">History</string>
|
||||
<string name="label_sources">Sources</string>
|
||||
|
|
Loading…
Reference in a new issue