Update: Theme Touch Up

Update: Increased Text Size in App Page
This commit is contained in:
LooKeR
2021-10-17 11:40:13 +05:30
parent 0fafcfe3cd
commit a35646c2e5
8 changed files with 44 additions and 40 deletions

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:alpha="0.3" android:color="@color/green200" android:state_enabled="false" />
<item android:alpha="0.3" android:color="@color/green100" android:state_enabled="false" />
<item android:color="@color/green200" />
<item android:color="@color/green100" />
</selector>

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -79,22 +80,21 @@
android:textColor="?android:attr/textColorSecondary"
android:textSize="12sp" />
<ProgressBar
<com.google.android.material.progressindicator.LinearProgressIndicator
android:id="@+id/progress"
style="@android:style/Widget.Material.ProgressBar.Horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginBottom="2dp"
android:indeterminateTint="?attr/colorPrimary" />
app:trackCornerRadius="2dp" />
</LinearLayout>
<Button
<com.google.android.material.button.MaterialButton
android:id="@+id/action"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:background="@drawable/background_border" />
app:cornerRadius="8dp" />
</LinearLayout>

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="green50">#E8F5E9</color>
<color name="green100">#A3EBB7</color>
<color name="green200">#6EC898</color>
<color name="green300">#58C189</color>
<color name="green400">#3EDA86</color>
@ -13,5 +14,5 @@
<color name="white">#FFFFFF</color>
<color name="grey_light">#333333</color>
<color name="grey_dark">#595959</color>
<color name="grey_dark">#2C2C2C</color>
</resources>

View File

@ -34,7 +34,7 @@
<item name="colorOnBackground">@color/green200</item>
<item name="android:colorAccent">@color/accent_dark</item>
<item name="colorError">@color/error_dark</item>
<item name="android:textColorPrimary">@color/green400</item>
<item name="android:textColorPrimary">@color/green200</item>
<item name="android:textColor">@color/white</item>
<item name="android:fastScrollThumbDrawable">@drawable/scrollbar_thumb</item>
<item name="android:fastScrollTrackDrawable">@drawable/scrollbar_track</item>
@ -45,7 +45,7 @@
</style>
<style name="Theme.Main.Amoled" parent="Theme.Material3.Dark.NoActionBar">
<item name="colorPrimary">@color/green200</item>
<item name="colorPrimary">@color/green100</item>
<item name="colorOnPrimary">@color/black</item>
<item name="colorSurface">@color/black</item>
<item name="colorOnSurface">@color/green50</item>
@ -54,7 +54,7 @@
<item name="colorOnBackground">@color/green50</item>
<item name="android:colorAccent">@color/accent_dark</item>
<item name="colorError">@color/error_dark</item>
<item name="android:textColorPrimary">@color/green400</item>
<item name="android:textColorPrimary">@color/green100</item>
<item name="android:textColor">@color/white</item>
<item name="android:fastScrollThumbDrawable">@drawable/scrollbar_thumb</item>
<item name="android:fastScrollTrackDrawable">@drawable/scrollbar_track</item>
@ -76,6 +76,7 @@
<style name="Theme.Alert" parent="ThemeOverlay.Material3.MaterialAlertDialog.Centered">
<item name="colorPrimary">?attr/colorOnSurface</item>
<item name="android:backgroundTint">?attr/colorSurface</item>
<item name="colorOnSurfaceVariant">?attr/colorOnSurface</item>
</style>
<style name="Theme.Switch" parent="Widget.Material3.CompoundButton.Switch">