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:
aayush262 2024-01-09 09:41:00 +05:30 committed by GitHub
parent af992bd19c
commit 01f9e86475
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 149 additions and 190 deletions

View file

@ -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" />

View file

@ -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

View file

@ -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>

View file

@ -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>

View file

@ -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"