Language add to extensions (#52)

* got rid of both companion object

* minor changes

* It Now show lang on extensions

* fixed

* quickfix

* android locale tuning

* toggle option to setting

* some fixes
added 2 fonts
removed Scanlators for anime

---------

Co-authored-by: rebelonion <87634197+rebelonion@users.noreply.github.com>
This commit is contained in:
aayush262 2023-11-22 08:03:17 +05:30 committed by GitHub
parent c310bea0e9
commit 75895d851f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 192 additions and 89 deletions

View file

@ -9,7 +9,7 @@
app:cardCornerRadius="12dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_width="312dp"
android:layout_height="48dp"
android:layout_marginStart="16dp"
android:layout_marginTop="8dp"
@ -49,17 +49,18 @@
android:layout_height="wrap_content"
android:ellipsize="end"
android:fontFamily="@font/poppins_bold"
android:maxWidth="250dp"
android:paddingEnd="8dp"
android:singleLine="true"
android:textSize="14dp"
tools:ignore="SpUsage"
android:paddingEnd="8dp"
tools:text="1" />
</LinearLayout>
<TextView
android:id="@+id/itemChapterTitle"
android:layout_width="match_parent"
android:layout_width="312dp"
android:layout_height="wrap_content"
android:alpha="0.66"
android:ellipsize="end"
@ -92,9 +93,8 @@
android:id="@+id/itemEpisodeViewed"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="start"
android:layout_margin="8dp"
android:visibility="gone"
android:layout_gravity="end|center_vertical"
android:layout_marginEnd="40dp"
app:srcCompat="@drawable/ic_round_remove_red_eye_24"
tools:ignore="ContentDescription" />

View file

@ -33,8 +33,9 @@
android:id="@+id/extensionVersionTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/poppins_semi_bold"
android:text="version"
android:textSize="11sp" />
android:textSize="10sp" />
</LinearLayout>
<ImageView
@ -44,7 +45,6 @@
android:layout_gravity="center_vertical"
android:layout_marginEnd="10dp"
android:layout_weight="0"
android:contentDescription="Settings"
android:src="@drawable/ic_round_dots_vertical_24"
app:tint="?attr/colorOnBackground" />
@ -54,7 +54,6 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="0"
android:contentDescription="uninstall"
android:src="@drawable/ic_round_delete_24"
app:tint="?attr/colorOnBackground" />

View file

@ -2,6 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="horizontal"
android:paddingTop="10dp"
android:paddingBottom="10dp">
@ -11,7 +12,7 @@
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="center_vertical"
android:layout_marginEnd="3dp"/>
android:layout_marginEnd="3dp" />
<LinearLayout
android:layout_width="0dp"
@ -32,8 +33,9 @@
android:id="@+id/extensionVersionTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="1"
android:textSize="11sp" />
android:fontFamily="@font/poppins_semi_bold"
android:text="version"
android:textSize="10sp" />
</LinearLayout>
<ImageView
@ -41,8 +43,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:textStyle="bold"
android:src="@drawable/ic_round_download_24"
android:textColor="?attr/colorPrimary"
android:textSize="14sp"/>
android:textSize="14sp"
app:tint="?attr/colorOnBackground"/>
</LinearLayout>