minor tweaks (#115)
* Added telegram link * Removed UPI (rebel not indian) * minor changes * Shows number of manga/Ln downloaded * fixed list name overlapping with notch * wrong index selection in language fixed * novel icon * Emerald theme name changed to Ocean * forgot to remove * why was these still there
This commit is contained in:
parent
af992bd19c
commit
01f9e86475
25 changed files with 149 additions and 190 deletions
10
app/src/main/res/drawable/ic_round_book_24.xml
Normal file
10
app/src/main/res/drawable/ic_round_book_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:tint="?attr/colorControlNormal"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M18,2H6C4.895,2 4,2.895 4,4v16c0,1.105 0.895,2 2,2h12c1.105,0 2,-0.895 2,-2V4C20,2.895 19.105,2 18,2zM11,12l-2.5,-1.5L6,12V5c0,-0.552 0.448,-1 1,-1h3c0.552,0 1,0.448 1,1V12z"
|
||||
android:fillColor="#000000"/>
|
||||
</vector>
|
|
@ -1,4 +1,12 @@
|
|||
<vector android:height="24dp" android:viewportHeight="24"
|
||||
android:viewportWidth="24" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#000000" android:fillType="evenOdd" android:pathData="M3,7C3,6.448 3.448,6 4,6H20C20.552,6 21,6.448 21,7C21,7.552 20.552,8 20,8H4C3.448,8 3,7.552 3,7ZM6,12C6,11.448 6.448,11 7,11H17C17.552,11 18,11.448 18,12C18,12.552 17.552,13 17,13H7C6.448,13 6,12.552 6,12ZM9,17C9,16.448 9.448,16 10,16H14C14.552,16 15,16.448 15,17C15,17.552 14.552,18 14,18H10C9.448,18 9,17.552 9,17Z"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M5,7H19"
|
||||
android:strokeColor="#000000" android:strokeLineCap="round"
|
||||
android:strokeLineJoin="round" android:strokeWidth="3"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M5,12L19,12"
|
||||
android:strokeColor="#000000" android:strokeLineCap="round"
|
||||
android:strokeLineJoin="round" android:strokeWidth="3"/>
|
||||
<path android:fillColor="#00000000" android:pathData="M5,17L19,17"
|
||||
android:strokeColor="#000000" android:strokeLineCap="round"
|
||||
android:strokeLineJoin="round" android:strokeWidth="3"/>
|
||||
</vector>
|
||||
|
|
|
@ -80,9 +80,7 @@
|
|||
app:tabPaddingEnd="16dp"
|
||||
app:tabPaddingStart="16dp"
|
||||
app:tabTextAppearance="@style/NavBarText"
|
||||
app:tabGravity="fill">
|
||||
</com.google.android.material.tabs.TabLayout>
|
||||
|
||||
app:tabGravity="fill"/>
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
android:id="@+id/searchView"
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
|
@ -117,7 +115,7 @@
|
|||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
<androidx.viewpager2.widget.ViewPager2
|
||||
android:id="@+id/viewPager"
|
||||
android:id="@+id/viewPager"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1" />
|
||||
|
|
|
@ -4,8 +4,7 @@
|
|||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".media.user.ListActivity"
|
||||
android:fitsSystemWindows="true">
|
||||
tools:context=".media.user.ListActivity">
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/listProgressBar"
|
||||
|
@ -20,59 +19,62 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:background="?attr/colorSurface"
|
||||
android:theme="@style/Theme.Dantotsu.AppBarOverlay">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/settingsContainer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal">
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/listTitle"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginStart="32dp"
|
||||
android:fontFamily="@font/poppins_bold"
|
||||
android:gravity="center|start"
|
||||
android:textAppearance="@style/TextAppearance.Widget.AppCompat.Toolbar.Title"
|
||||
android:textSize="16sp"
|
||||
android:singleLine="true"
|
||||
android:textColor="?attr/colorOnBackground"
|
||||
android:ellipsize="end"
|
||||
tools:text="@string/app_name" />
|
||||
<TextView
|
||||
android:id="@+id/listTitle"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginStart="32dp"
|
||||
android:fontFamily="@font/poppins_bold"
|
||||
android:gravity="center|start"
|
||||
android:textAppearance="@style/TextAppearance.Widget.AppCompat.Toolbar.Title"
|
||||
android:textSize="16sp"
|
||||
android:singleLine="true"
|
||||
android:textColor="?attr/colorOnBackground"
|
||||
android:ellipsize="end"
|
||||
tools:text="@string/app_name" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/random"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:contentDescription="@string/random_selection"
|
||||
app:tint="?attr/colorOnBackground"
|
||||
app:srcCompat="@drawable/ic_shuffle_24" />
|
||||
<ImageButton
|
||||
android:id="@+id/random"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:contentDescription="@string/random_selection"
|
||||
app:tint="?attr/colorOnBackground"
|
||||
app:srcCompat="@drawable/ic_shuffle_24" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/listSort"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:contentDescription="@string/sort_by"
|
||||
app:tint="?attr/colorOnBackground"
|
||||
app:srcCompat="@drawable/ic_round_sort_24" />
|
||||
<ImageButton
|
||||
android:id="@+id/listSort"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:contentDescription="@string/sort_by"
|
||||
app:tint="?attr/colorOnBackground"
|
||||
app:srcCompat="@drawable/ic_round_sort_24" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<com.google.android.material.tabs.TabLayout
|
||||
android:id="@+id/listTabLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:background="?attr/colorSurface"
|
||||
app:tabContentStart="32dp"
|
||||
app:tabMode="scrollable"
|
||||
app:tabPaddingEnd="16dp"
|
||||
app:tabPaddingStart="16dp"
|
||||
app:tabTextAppearance="@style/NavBarText"
|
||||
tools:ignore="SpeakableTextPresentCheck" />
|
||||
tools:ignore="SpeakableTextPresentCheck"/>
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
||||
<androidx.viewpager2.widget.ViewPager2
|
||||
|
|
|
@ -1510,19 +1510,6 @@
|
|||
android:layout_height="wrap_content"
|
||||
app:srcCompat="@drawable/ic_bmc_button"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
<View
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/settingUPI"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:srcCompat="@drawable/ic_upi_icon"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
|
@ -1565,6 +1552,15 @@
|
|||
app:tint="?attr/colorOnBackground"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/loginTelegram"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_margin="8dp"
|
||||
android:padding="6dp"
|
||||
android:src="@drawable/ic_telegram"
|
||||
app:tint="?attr/colorOnBackground"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
|
|
@ -76,6 +76,15 @@
|
|||
android:src="@drawable/ic_github"
|
||||
app:tint="?attr/colorOutline"
|
||||
tools:ignore="ContentDescription" />
|
||||
<ImageView
|
||||
android:id="@+id/loginTelegram"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_margin="8dp"
|
||||
android:padding="6dp"
|
||||
android:src="@drawable/ic_telegram"
|
||||
app:tint="?attr/colorOutline"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
|
|
@ -87,15 +87,16 @@
|
|||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/sourceTitle"
|
||||
android:id="@+id/total"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:paddingStart="24dp"
|
||||
android:fontFamily="@font/poppins_bold"
|
||||
android:gravity="center"
|
||||
android:text="Downloaded Manga and Novels"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="Manga and Novels"
|
||||
android:textSize="14sp"
|
||||
tools:ignore="HardcodedText" />
|
||||
tools:ignore="HardcodedText,RtlSymmetry" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/downloadedList"
|
||||
|
|
|
@ -1,103 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:id="@+id/all"
|
||||
android:title="All"
|
||||
android:checkable="true"
|
||||
android:checked="true" />
|
||||
<item
|
||||
android:id="@+id/multi"
|
||||
android:title="Multi"
|
||||
android:checkable="true"
|
||||
android:checked="false" />
|
||||
<item
|
||||
android:id="@+id/arabic"
|
||||
android:title="Arabic"
|
||||
android:checkable="true"
|
||||
android:checked="false" />
|
||||
<item
|
||||
android:id="@+id/german"
|
||||
android:title="German"
|
||||
android:checkable="true"
|
||||
android:checked="false" />
|
||||
<item
|
||||
android:id="@+id/english"
|
||||
android:title="English"
|
||||
android:checkable="true"
|
||||
android:checked="false" />
|
||||
<item
|
||||
android:id="@+id/spanish"
|
||||
android:title="Spanish"
|
||||
android:checkable="true"
|
||||
android:checked="false" />
|
||||
<item
|
||||
android:id="@+id/french"
|
||||
android:title="French"
|
||||
android:checkable="true"
|
||||
android:checked="false" />
|
||||
<item
|
||||
android:id="@+id/indonesian"
|
||||
android:title="Indonesian"
|
||||
android:checkable="true"
|
||||
android:checked="false" />
|
||||
<item
|
||||
android:id="@+id/italian"
|
||||
android:title="Italian"
|
||||
android:checkable="true"
|
||||
android:checked="false" />
|
||||
<item
|
||||
android:id="@+id/japanese"
|
||||
android:title="Japanese"
|
||||
android:checkable="true"
|
||||
android:checked="false" />
|
||||
<item
|
||||
android:id="@+id/korean"
|
||||
android:title="Korean"
|
||||
android:checkable="true"
|
||||
android:checked="false" />
|
||||
<item
|
||||
android:id="@+id/polish"
|
||||
android:title="Polish"
|
||||
android:checkable="true"
|
||||
android:checked="false" />
|
||||
<item
|
||||
android:id="@+id/portuguese_brazil"
|
||||
android:title="Portuguese (Brazil)"
|
||||
android:checkable="true"
|
||||
android:checked="false" />
|
||||
<item
|
||||
android:id="@+id/russian"
|
||||
android:title="Russian"
|
||||
android:checkable="true"
|
||||
android:checked="false" />
|
||||
<item
|
||||
android:id="@+id/thai"
|
||||
android:title="Thai"
|
||||
android:checkable="true"
|
||||
android:checked="false" />
|
||||
<item
|
||||
android:id="@+id/turkish"
|
||||
android:title="Turkish"
|
||||
android:checkable="true"
|
||||
android:checked="false" />
|
||||
<item
|
||||
android:id="@+id/ukrainian"
|
||||
android:title="Ukrainian"
|
||||
android:checkable="true"
|
||||
android:checked="false" />
|
||||
<item
|
||||
android:id="@+id/vietnamese"
|
||||
android:title="Vietnamese"
|
||||
android:checkable="true"
|
||||
android:checked="false" />
|
||||
<item
|
||||
android:id="@+id/chinese"
|
||||
android:title="Chinese"
|
||||
android:checkable="true"
|
||||
android:checked="false" />
|
||||
<item
|
||||
android:id="@+id/chinese_simplified"
|
||||
android:title="Chinese (Simplified)"
|
||||
android:checkable="true"
|
||||
android:checked="false" />
|
||||
</menu>
|
15
app/src/main/res/menu/novel_menu_detail.xml
Normal file
15
app/src/main/res/menu/novel_menu_detail.xml
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:id="@+id/info"
|
||||
android:enabled="true"
|
||||
android:icon="@drawable/ic_round_info_24"
|
||||
android:title="@string/info" />
|
||||
|
||||
<item
|
||||
android:id="@+id/read"
|
||||
android:enabled="true"
|
||||
android:icon="@drawable/ic_round_book_24"
|
||||
android:title="@string/read" />
|
||||
|
||||
</menu>
|
|
@ -209,7 +209,7 @@
|
|||
<item name="colorPrimaryInverse">@color/md_theme_dark_7_inversePrimary</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Dantotsu.Emerald" parent="Theme.Base">
|
||||
<style name="Theme.Dantotsu.Ocean" parent="Theme.Base">
|
||||
<item name="colorPrimary">@color/md_theme_dark_8_primary</item>
|
||||
<item name="colorOnPrimary">@color/md_theme_dark_8_onPrimary</item>
|
||||
<item name="colorPrimaryContainer">@color/md_theme_dark_8_primaryContainer</item>
|
||||
|
@ -306,7 +306,8 @@
|
|||
<item name="android:colorBackground">@color/darkest_Black</item>
|
||||
<item name="colorSurface">@color/darkest_Black</item>
|
||||
</style>
|
||||
<style name="Theme.Dantotsu.EmeraldOLED" parent="Theme.Dantotsu.Emerald">
|
||||
|
||||
<style name="Theme.Dantotsu.OceanOLED" parent="Theme.Dantotsu.Ocean">
|
||||
<item name="android:colorBackground">@color/darkest_Black</item>
|
||||
<item name="colorSurface">@color/darkest_Black</item>
|
||||
</style>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
<string name="discord">https://discord.gg/4HPZ5nAWwM</string>
|
||||
<string name="github">https://github.com/rebelonion/Dantotsu</string>
|
||||
|
||||
<string name="telegram" tools:ignore="Typos">https://t.me/+gzBCQExtLQo1YTNh </string>
|
||||
<string name="home">Home</string>
|
||||
<string name="anime">Anime</string>
|
||||
<string name="browse_anime">Browse Anime</string>
|
||||
|
|
|
@ -285,7 +285,7 @@
|
|||
<item name="colorPrimaryInverse">@color/md_theme_light_7_inversePrimary</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Dantotsu.Emerald" parent="Theme.Base">
|
||||
<style name="Theme.Dantotsu.Ocean" parent="Theme.Base">
|
||||
<item name="colorPrimary">@color/md_theme_light_8_primary</item>
|
||||
<item name="colorOnPrimary">@color/md_theme_light_8_onPrimary</item>
|
||||
<item name="colorPrimaryContainer">@color/md_theme_light_8_primaryContainer</item>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue