diff --git a/app/src/main/res/drawable/ic_lock_24dp.xml b/app/src/main/res/drawable/ic_lock_24dp.xml index da0e84b4..f49d47ee 100644 --- a/app/src/main/res/drawable/ic_lock_24dp.xml +++ b/app/src/main/res/drawable/ic_lock_24dp.xml @@ -1,11 +1,9 @@ - + android:viewportHeight="24" + android:viewportWidth="24"> - + android:fillColor="#ff000000" + android:pathData="M12,17C10.89,17 10,16.1 10,15C10,13.89 10.89,13 12,13A2,2 0,0 1,14 15A2,2 0,0 1,12 17M18,20V10H6V20H18M18,8A2,2 0,0 1,20 10V20A2,2 0,0 1,18 22H6C4.89,22 4,21.1 4,20V10C4,8.89 4.89,8 6,8H7V6A5,5 0,0 1,12 1A5,5 0,0 1,17 6V8H18M12,3A3,3 0,0 0,9 6V8H15V6A3,3 0,0 0,12 3Z" /> \ No newline at end of file diff --git a/app/src/main/res/layout/activity_routing_edit.xml b/app/src/main/res/layout/activity_routing_edit.xml index b7bd7607..5e02db56 100644 --- a/app/src/main/res/layout/activity_routing_edit.xml +++ b/app/src/main/res/layout/activity_routing_edit.xml @@ -276,11 +276,23 @@ android:layout_marginStart="16.0dip" android:layout_marginEnd="16.0dip"> + + + - - - @@ -347,6 +346,13 @@ android:hint="@string/routing_settings_tips" android:inputType="textMultiLine" /> + + - + android:layout_marginBottom="8.0dip" + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto"> + android:layout_height="wrap_content" + android:foreground="?android:selectableItemBackground"> + android:orientation="horizontal" + android:id="@+id/layout_indicator" + android:background="@color/uwu_transparent" + android:layout_width="match_parent" + android:layout_height="match_parent"> - - - - - - - - - - - - + android:nextFocusRight="@+id/layout_edit" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/layout/item_recycler_sub_setting.xml b/app/src/main/res/layout/item_recycler_sub_setting.xml index 9e66ea0f..a54c8a74 100644 --- a/app/src/main/res/layout/item_recycler_sub_setting.xml +++ b/app/src/main/res/layout/item_recycler_sub_setting.xml @@ -43,9 +43,9 @@ @@ -63,8 +63,8 @@ android:gravity="center" android:orientation="vertical" android:id="@+id/layout_edit" - android:background="?attr/selectableItemBackgroundBorderless" - android:padding="16.0dip" + android:background="?selectableItemBackgroundBorderless" + android:padding="12.0dip" android:focusable="true" android:clickable="true" android:layout_width="wrap_content" @@ -79,8 +79,8 @@ android:gravity="center" android:orientation="vertical" android:id="@+id/layout_share" - android:background="?attr/selectableItemBackgroundBorderless" - android:padding="16.0dip" + android:background="?selectableItemBackgroundBorderless" + android:padding="12.0dip" android:focusable="true" android:clickable="true" android:layout_width="wrap_content" @@ -100,8 +100,8 @@ #000000 #F0F1F6 - @color/black_80 + @color/white @android:color/transparent @android:color/transparent @android:color/transparent diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 6b9dcc08..ad4af37f 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -11,15 +11,15 @@ ?attr/colorThemeUwu ?attr/colorSurfaceVariant @null - true + false true @style/Theme.Base.AlertDialog @style/ThemeOverlay.Uwu.Material3.BottomSheetDialog ?attr/colorPrimary @color/uwu_bg_card - @color/black + @color/white @color/colorText - ?attr/colorPrimaryInverse + ?attr/colorPrimary ?attr/colorPrimary @color/colorText_ActionBar ?attr/colorSurfaceVariant diff --git a/library/src/main/kotlin/com/neko/themeengine/Themes.kt b/library/src/main/kotlin/com/neko/themeengine/Themes.kt index 21da8633..600eb382 100644 --- a/library/src/main/kotlin/com/neko/themeengine/Themes.kt +++ b/library/src/main/kotlin/com/neko/themeengine/Themes.kt @@ -6,24 +6,24 @@ import androidx.annotation.StyleRes import com.neko.R enum class Theme(@StyleRes val themeId: Int, @ColorRes val primaryColor: Int) { - Amber(R.style.Theme_ThemeEngine_Amber, R.color.amber_primaryInverse), - Orange(R.style.Theme_ThemeEngine_Orange, R.color.orange_primaryInverse), - BlueVariant(R.style.Theme_ThemeEngine_BlueVariant, R.color.blue_variant_primaryInverse), - Brown(R.style.Theme_ThemeEngine_Brown, R.color.brown_primaryInverse), - Cyan(R.style.Theme_ThemeEngine_Cyan, R.color.cyan_primaryInverse), - DeepOrange(R.style.Theme_ThemeEngine_DeepOrange, R.color.deep_orange_primaryInverse), - DeepPurple(R.style.Theme_ThemeEngine_DeepPurple, R.color.deep_purple_primaryInverse), - Green(R.style.Theme_ThemeEngine_Green, R.color.green_primaryInverse), - Indigo(R.style.Theme_ThemeEngine_Indigo, R.color.indigo_primaryInverse), - LightBlue(R.style.Theme_ThemeEngine_LightBlue, R.color.light_blue_primaryInverse), - LightGreen(R.style.Theme_ThemeEngine_LightGreen, R.color.light_green_primaryInverse), - Lime(R.style.Theme_ThemeEngine_Lime, R.color.lime_primaryInverse), - Blue(R.style.Theme_ThemeEngine_Blue, R.color.blue_primaryInverse), - Pink(R.style.Theme_ThemeEngine_Pink, R.color.pink_primaryInverse), - Purple(R.style.Theme_ThemeEngine_Purple, R.color.purple_primaryInverse), - Red(R.style.Theme_ThemeEngine_Red, R.color.red_primaryInverse), - Teal(R.style.Theme_ThemeEngine_Teal, R.color.teal_primaryInverse), - Violet(R.style.Theme_ThemeEngine_Violet, R.color.violet_primaryInverse), - Yellow(R.style.Theme_ThemeEngine_Yellow, R.color.yellow_primaryInverse), - Nekocok(R.style.Theme_ThemeEngine_Nekocok, R.color.nekocok_primaryInverse) + Amber(R.style.Theme_ThemeEngine_Amber, R.color.amber_primary), + Blue(R.style.Theme_ThemeEngine_Blue, R.color.blue_primary), + BlueVariant(R.style.Theme_ThemeEngine_BlueVariant, R.color.blue_variant_primary), + Brown(R.style.Theme_ThemeEngine_Brown, R.color.brown_primary), + Cyan(R.style.Theme_ThemeEngine_Cyan, R.color.cyan_primary), + DeepOrange(R.style.Theme_ThemeEngine_DeepOrange, R.color.deep_orange_primary), + DeepPurple(R.style.Theme_ThemeEngine_DeepPurple, R.color.deep_purple_primary), + Green(R.style.Theme_ThemeEngine_Green, R.color.green_primary), + Indigo(R.style.Theme_ThemeEngine_Indigo, R.color.indigo_primary), + LightBlue(R.style.Theme_ThemeEngine_LightBlue, R.color.light_blue_primary), + LightGreen(R.style.Theme_ThemeEngine_LightGreen, R.color.light_green_primary), + Lime(R.style.Theme_ThemeEngine_Lime, R.color.lime_primary), + Orange(R.style.Theme_ThemeEngine_Orange, R.color.orange_primary), + Pink(R.style.Theme_ThemeEngine_Pink, R.color.pink_primary), + Purple(R.style.Theme_ThemeEngine_Purple, R.color.purple_primary), + Red(R.style.Theme_ThemeEngine_Red, R.color.red_primary), + Teal(R.style.Theme_ThemeEngine_Teal, R.color.teal_primary), + Violet(R.style.Theme_ThemeEngine_Violet, R.color.violet_primary), + Yellow(R.style.Theme_ThemeEngine_Yellow, R.color.yellow_primary), + Nekocok(R.style.Theme_ThemeEngine_Nekocok, R.color.nekocok_primary) } \ No newline at end of file diff --git a/library/src/main/res/values-night/colors_theme.xml b/library/src/main/res/values-night/colors_theme.xml index 88ec8f74..d3b1f062 100644 --- a/library/src/main/res/values-night/colors_theme.xml +++ b/library/src/main/res/values-night/colors_theme.xml @@ -2,7 +2,7 @@ - #FABD00 + #FFD54F #402D00 #5C4300 #FFDF99 @@ -29,7 +29,7 @@ #E9E1D8 @color/amber_primary - #ACC6FF + #90CAF9 #002D6E #004299 #D7E2FF @@ -83,7 +83,7 @@ #E2E2E6 @color/blue_variant_primary - #FFB598 + #BCAAA4 #5C1A00 #7B2E0D #FFDBCD @@ -110,7 +110,7 @@ #EDE0DC @color/brown_primary - #44D8F1 + #80DEEA #00363F #004E5A #9CEFFF @@ -137,7 +137,7 @@ #E1E3E3 @color/cyan_primary - #FFB49D + #FFAB91 #601400 #882000 #FFDACF @@ -164,7 +164,7 @@ #EDE0DD @color/deep_orange_primary - #D4BAFF + #B39DDB #3E008E #5727A7 #ECDCFF @@ -191,7 +191,7 @@ #E6E1E5 @color/deep_purple_primary - #78DC77 + #00E676 #003907 #00530F #93F990 @@ -245,7 +245,7 @@ #E4E1E6 @color/indigo_primary - #8BCEFF + #81D4FA #003450 #004B71 #C8E6FF @@ -272,7 +272,7 @@ #E2E2E5 @color/light_blue_primary - #9ED75C + #C5E1A5 #1C3700 #2C5000 #B9F475 @@ -299,7 +299,7 @@ #E3E3DB @color/light_green_primary - #C1D02C + #E6EE9C #2E3400 #434B00 #DEED49 @@ -326,7 +326,7 @@ #E5E2DA @color/lime_primary - #FFB86D + #FFCC80 #4B2800 #6A3B00 #FFDCBB @@ -353,7 +353,7 @@ #EBE0D9 @color/orange_primary - #FFB2C0 + #F48FB1 #670024 #900036 #FFD9DF @@ -380,7 +380,7 @@ #ECE0E0 @color/pink_primary - #D2BCFF + #CE93D8 #391E72 #50378A #EADCFF @@ -407,7 +407,7 @@ #E5E1E5 @color/purple_primary - #FFB3A9 + #EF9A9A #690005 #93000A #FFDAD4 @@ -434,7 +434,7 @@ #EDE0DE @color/red_primary - #53DBC9 + #80CBC4 #003730 #005047 #74F7E5 @@ -488,7 +488,7 @@ #E4E1E6 @color/violet_primary - #DBC808 + #FFF59D #373100 #504700 #F9E534 @@ -515,7 +515,7 @@ #E7E2D9 @color/yellow_primary - #E0E0E0 + #B0BEC5 #424242 #444444 #9E9E9F diff --git a/library/src/main/res/values/colors_theme.xml b/library/src/main/res/values/colors_theme.xml index 401ecd83..1a700b7f 100644 --- a/library/src/main/res/values/colors_theme.xml +++ b/library/src/main/res/values/colors_theme.xml @@ -2,7 +2,7 @@ - #FFA000 + #FFC107 #FFFFFF #FFDF99 #261A00 @@ -29,7 +29,7 @@ #34302A #ffe57f - #235BB6 + #2196F3 #FFFFFF #D7E2FF #001944 @@ -83,7 +83,7 @@ #2F3033 #9CCAFF - #9A4523 + #795548 #FFFFFF #FFDBCD #380C00 @@ -110,7 +110,7 @@ #362F2D #a1887f - #006877 + #00BCD4 #FFFFFF #9CEFFF #001F25 @@ -137,7 +137,7 @@ #2D3132 #84ffff - #B22D00 + #FF5722 #FFFFFF #FFDACF #3C0800 @@ -164,7 +164,7 @@ #362F2D #ff9e80 - #6F43BF + #673AB7 #FFFFFF #ECDCFF #25005A @@ -191,7 +191,7 @@ #323033 #b388ff - #388E3C + #4CAF50 #FFFFFF #93F990 #002203 @@ -218,7 +218,7 @@ #2F312D #69f0ae - #4355B9 + #3F51B5 #FFFFFF #DDE0FF #000D61 @@ -245,7 +245,7 @@ #303034 #8c9eff - #006494 + #03A9F4 #FFFFFF #C8E6FF #001E31 @@ -272,7 +272,7 @@ #2F3032 #82b1ff - #3C6A00 + #8BC34A #FFFFFF #B9F475 #0E2000 @@ -299,7 +299,7 @@ #30312D #ccff90 - #AFB42B + #CDDC39 #FFFFFF #DEED49 #1A1E00 @@ -326,7 +326,7 @@ #31312B #eeff41 - #F57C00 + #FF9800 #FFFFFF #FFDCBB #2D1600 @@ -353,7 +353,7 @@ #352F2A #ffd180 - #BC0049 + #E91E63 #FFFFFF #FFD9DF #400013 @@ -380,7 +380,7 @@ #362F30 #ff80ab - #684FA4 + #9C27B0 #FFFFFF #EADCFF #23005D @@ -407,7 +407,7 @@ #313033 #ea80fc - #BA171C + #F44336 #FFFFFF #FFDAD4 #410002 @@ -434,7 +434,7 @@ #362F2E #ff8a80 - #006A5F + #009688 #FFFFFF #74F7E5 #00201C @@ -488,7 +488,7 @@ #303034 #B9C3FF - #FBC02D + #FFEB3B #FFFFFF #F9E534 #201C00 @@ -532,7 +532,7 @@ #ffffffff #ff2c1700 #ff847375 - #ff777777 + #607D8B #ffbdbdbd #ff9e9e9e #ff76565b