some customizations (#59)

* quickfix

* android locale tuning

* toggle option to setting

* some customizations

---------

Co-authored-by: rebelonion <87634197+rebelonion@users.noreply.github.com>
This commit is contained in:
aayush262 2023-11-24 12:58:44 +05:30 committed by GitHub
parent ba351df331
commit af326c8258
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 40 additions and 33 deletions

View file

@ -33,6 +33,7 @@
</androidx.cardview.widget.CardView>
<TextView
android:id="@+id/extensions"
android:layout_width="wrap_content"
android:layout_height="48dp"
android:layout_marginStart="32dp"

View file

@ -6,22 +6,16 @@
android:orientation="vertical"
android:padding="16dp">
<com.google.android.material.textfield.TextInputLayout
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/userAgentTextBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp">
android:layout_marginTop="8dp"
android:hint="@string/user_agent"
app:boxCornerRadiusBottomEnd="8dp"
app:boxCornerRadiusBottomStart="8dp"
app:boxCornerRadiusTopEnd="8dp"
app:boxCornerRadiusTopStart="8dp"
app:hintAnimationEnabled="true" />
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/userAgentTextBox"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:hint="@string/user_agent"
app:boxCornerRadiusBottomEnd="8dp"
app:boxCornerRadiusBottomStart="8dp"
app:boxCornerRadiusTopEnd="8dp"
app:boxCornerRadiusTopStart="8dp"
app:hintAnimationEnabled="true" />
</com.google.android.material.textfield.TextInputLayout>
</LinearLayout>

View file

@ -248,8 +248,8 @@
android:valueTo="10"
app:labelBehavior="gone"
app:thumbElevation="0dp"
app:trackColorInactive="?attr/colorOnSecondary"
app:trackColorActive="?attr/colorSecondary"
app:trackColorInactive="?attr/colorOnPrimary"
app:trackColorActive="?attr/colorPrimary"
app:trackHeight="24dp" />
<ImageView
@ -291,8 +291,8 @@
android:valueTo="10"
app:labelBehavior="gone"
app:thumbElevation="0dp"
app:trackColorInactive="?attr/colorOnSecondary"
app:trackColorActive="?attr/colorSecondary"
app:trackColorInactive="?attr/colorOnPrimary"
app:trackColorActive="?attr/colorPrimary"
app:trackHeight="24dp" />
<ImageView

View file

@ -17,7 +17,7 @@
android:fontFamily="@font/poppins_bold"
android:textAlignment="center"
android:textAllCaps="true"
android:textColor="?attr/colorPrimary"
android:textColor="@color/fg"
tools:text="Episode 2 will be released in" />
<TextView

View file

@ -305,7 +305,7 @@
<color name="md_theme_light_5_outlineVariant">#00FF00</color>
<color name="md_theme_light_5_scrim">#00FF00</color>
<color name="md_theme_dark_5_primary">#FF5DAE</color> <!-- good -->
<color name="md_theme_dark_5_onPrimary">#EEEEEE</color> <!-- good but shared with anime and manga list headers -->
<color name="md_theme_dark_5_onPrimary">#610046</color> <!-- good but shared with anime and manga list headers -->
<color name="md_theme_dark_5_primaryContainer">#EEEEEE</color> <!-- good-ish, it's shared with slider colors so I've had to set it to "#EEEEEE" instead of "#928F98" -->
<color name="md_theme_dark_5_onPrimaryContainer">#FF5DAE</color> <!-- good (login button text, "#000000" also works) -->
<color name="md_theme_dark_5_secondary">#91A6FF</color> <!-- good -->
@ -320,7 +320,7 @@
<color name="md_theme_dark_5_errorContainer">#00FF00</color>
<color name="md_theme_dark_5_onError">#00FF00</color>
<color name="md_theme_dark_5_onErrorContainer">#00FF00</color>
<color name="md_theme_dark_5_background">#000000</color> <!-- good -->
<color name="md_theme_dark_5_background">#191C1E</color> <!-- good -->
<color name="md_theme_dark_5_onBackground">#EEEEEE</color> <!-- good -->
<color name="md_theme_dark_5_surface">#1C1B20</color> <!-- good -->
<color name="md_theme_dark_5_onSurface">#EEEEEE</color> <!-- good -->

View file

@ -49,9 +49,17 @@
<item name="shapeAppearance">@style/ShapeAppearance.MaterialComponents.Tooltip</item>
</style>
<style name="MyPopup" parent="@style/Widget.MaterialComponents.PopupMenu">
<item name="android:popupBackground">?android:colorBackground</item>
</style>
<style name="MyPopup" parent="">
<item name="android:fontFamily">@font/poppins</item>
<item name="android:textColor">?attr/colorOnBackground</item>
<item name="android:popupBackground">?attr/colorSurface</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:windowBackground">@drawable/shape_corner_16dp</item>
<item name="android:windowIsFloating">true</item>
<item name="android:windowNoTitle">true</item>
<item name="windowActionBar">false</item>
</style>
<style name="BottomNavBar" parent="">
<!-- set background color to transparent -->