refactor/feat/WIP: completely move to compose, partially finished onboarding screen

This commit is contained in:
2023-06-24 06:47:18 +03:00
parent 759f584a67
commit a99be170c0
33 changed files with 1574 additions and 908 deletions
-12
View File
@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="app_theme_val">
<item>0</item>
<item>1</item>
<item>2</item>
</string-array>
<string-array name="layout_type_val">
<item>0</item>
<item>1</item>
</string-array>
</resources>
+3 -3
View File
@@ -2,7 +2,8 @@
<resources>
<string name="app_name">NPS Browser</string>
<string name="title_activity_settings">Settings</string>
<string name="search">Search</string>
<string name="search">Search…</string>
<string name="search_tooltip">Search</string>
<string name="download">Download</string>
<string name="copy_zrif">Copy zRIF</string>
<string name="content_id">Content ID</string>
@@ -12,7 +13,7 @@
<string name="no_license">Warning: No license was provided for this content.</string>
<string name="cart_only">CART ONLY GAME</string>
<string name="no_download_link">Warning: No download link was provided for this content.</string>
<string name="downloading">Downloading...</string>
<string name="downloading">Downloading…</string>
<string name="download_error">An error occurred while downloading. please try again</string>
<string name="pkg_url_copied">PKG URL Copied to Clipboard</string>
<string name="zrif_copied">zRIF Copied to Clipboard</string>
@@ -31,5 +32,4 @@
<item>List</item>
<item>Grid</item>
</string-array>
<string name="title_activity_thing">thing</string>
</resources>
+3 -7
View File
@@ -1,7 +1,7 @@
<resources>
<!-- Base application theme. -->
<style name="NPSTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<style name="NPSTheme" parent="Theme.Material3.DayNight.NoActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryVariant">@color/colorPrimaryDark</item>
@@ -14,7 +14,7 @@
<item name="alertDialogTheme">@style/NPSTheme.AlertDialog</item>
</style>
<style name="NPSTheme.AlertDialog" parent="Theme.MaterialComponents.DayNight.Dialog.Alert">
<style name="NPSTheme.AlertDialog" parent="Theme.Material3.DayNight.Dialog.Alert">
<item name="colorPrimary">@color/colorOnPrimary</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
@@ -34,13 +34,9 @@
<item name="windowSplashScreenBackground">@color/colorAccent</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_nps_fg_no_shadow</item>
<item name="windowSplashScreenAnimationDuration">500</item>
<item name="windowSplashScreenAnimationDuration">800</item>
<item name="postSplashScreenTheme">@style/NPSTheme</item>
</style>
<style name="NPSTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
<style name="NPSTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
</resources>