citra_android: Start material 3 migration (#6335)
Before Width: | Height: | Size: 514 B |
Before Width: | Height: | Size: 275 B |
Before Width: | Height: | Size: 961 B |
Before Width: | Height: | Size: 793 B |
Before Width: | Height: | Size: 364 B |
Before Width: | Height: | Size: 214 B |
Before Width: | Height: | Size: 605 B |
Before Width: | Height: | Size: 556 B |
Before Width: | Height: | Size: 289 B |
Before Width: | Height: | Size: 955 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 405 B |
Before Width: | Height: | Size: 227 B |
Before Width: | Height: | Size: 595 B |
Before Width: | Height: | Size: 729 B |
Before Width: | Height: | Size: 347 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 555 B |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 657 B |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 656 B |
Before Width: | Height: | Size: 325 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 967 B |
Before Width: | Height: | Size: 487 B |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 591 B |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.0 KiB |
@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:autoMirrored="true"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="?attr/colorControlNormal"
|
||||
android:pathData="M20,11H7.83l5.59,-5.59L12,4l-8,8 8,8 1.41,-1.41L7.83,13H20v-2z" />
|
||||
</vector>
|
@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="?attr/colorControlNormal"
|
||||
android:pathData="M10,4H4c-1.1,0 -1.99,0.9 -1.99,2L2,18c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2V8c0,-1.1 -0.9,-2 -2,-2h-8l-2,-2z" />
|
||||
</vector>
|
@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="?attr/colorControlNormal"
|
||||
android:pathData="M12,21.35l-1.45,-1.32C5.4,15.36 2,12.28 2,8.5 2,5.42 4.42,3 7.5,3c1.74,0 3.41,0.81 4.5,2.09C13.09,3.81 14.76,3 16.5,3 19.58,3 22,5.42 22,8.5c0,3.78 -3.4,6.86 -8.55,11.54L12,21.35z" />
|
||||
</vector>
|
@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="?attr/colorControlNormal"
|
||||
android:pathData="M19,12v7L5,19v-7L3,12v7c0,1.1 0.9,2 2,2h14c1.1,0 2,-0.9 2,-2v-7h-2zM13,12.67l2.59,-2.58L17,11.5l-5,5 -5,-5 1.41,-1.41L11,12.67L11,3h2z" />
|
||||
</vector>
|
@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="?attr/colorControlNormal"
|
||||
android:pathData="M19.14,12.94c0.04,-0.3 0.06,-0.61 0.06,-0.94c0,-0.32 -0.02,-0.64 -0.07,-0.94l2.03,-1.58c0.18,-0.14 0.23,-0.41 0.12,-0.61l-1.92,-3.32c-0.12,-0.22 -0.37,-0.29 -0.59,-0.22l-2.39,0.96c-0.5,-0.38 -1.03,-0.7 -1.62,-0.94L14.4,2.81c-0.04,-0.24 -0.24,-0.41 -0.48,-0.41h-3.84c-0.24,0 -0.43,0.17 -0.47,0.41L9.25,5.35C8.66,5.59 8.12,5.92 7.63,6.29L5.24,5.33c-0.22,-0.08 -0.47,0 -0.59,0.22L2.74,8.87C2.62,9.08 2.66,9.34 2.86,9.48l2.03,1.58C4.84,11.36 4.8,11.69 4.8,12s0.02,0.64 0.07,0.94l-2.03,1.58c-0.18,0.14 -0.23,0.41 -0.12,0.61l1.92,3.32c0.12,0.22 0.37,0.29 0.59,0.22l2.39,-0.96c0.5,0.38 1.03,0.7 1.62,0.94l0.36,2.54c0.05,0.24 0.24,0.41 0.48,0.41h3.84c0.24,0 0.44,-0.17 0.47,-0.41l0.36,-2.54c0.59,-0.24 1.13,-0.56 1.62,-0.94l2.39,0.96c0.22,0.08 0.47,0 0.59,-0.22l1.92,-3.32c0.12,-0.22 0.07,-0.47 -0.12,-0.61L19.14,12.94zM12,15.6c-1.98,0 -3.6,-1.62 -3.6,-3.6s1.62,-3.6 3.6,-3.6s3.6,1.62 3.6,3.6S13.98,15.6 12,15.6z" />
|
||||
</vector>
|
@ -0,0 +1,4 @@
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="?attr/colorSurface"/>
|
||||
<corners android:radius="4dp" />
|
||||
</shape>
|
@ -1,22 +1,58 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.slidingpanelayout.widget.SlidingPaneLayout
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/sliding_pane_layout"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<androidx.fragment.app.FragmentContainerView
|
||||
android:layout_width="320dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:id="@+id/cheat_list"
|
||||
android:name="org.citra.citra_emu.features.cheats.ui.CheatListFragment" />
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
||||
android:id="@+id/coordinator_cheats"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<androidx.fragment.app.FragmentContainerView
|
||||
android:layout_width="320dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:id="@+id/cheat_details"
|
||||
android:name="org.citra.citra_emu.features.cheats.ui.CheatDetailsFragment" />
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
android:id="@+id/appbar_cheats"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:elevation="0dp"
|
||||
app:liftOnScroll="false">
|
||||
|
||||
</androidx.slidingpanelayout.widget.SlidingPaneLayout>
|
||||
<com.google.android.material.appbar.MaterialToolbar
|
||||
android:id="@+id/toolbar_cheats"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/colorSurface" />
|
||||
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
|
||||
<androidx.slidingpanelayout.widget.SlidingPaneLayout
|
||||
android:id="@+id/sliding_pane_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/coordinator_cheats">
|
||||
|
||||
<androidx.fragment.app.FragmentContainerView
|
||||
android:layout_width="320dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:id="@+id/cheat_list"
|
||||
android:name="org.citra.citra_emu.features.cheats.ui.CheatListFragment" />
|
||||
|
||||
<androidx.fragment.app.FragmentContainerView
|
||||
android:layout_width="320dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:id="@+id/cheat_details"
|
||||
android:name="org.citra.citra_emu.features.cheats.ui.CheatDetailsFragment" />
|
||||
|
||||
</androidx.slidingpanelayout.widget.SlidingPaneLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
@ -1,27 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/coordinator_main"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
android:id="@+id/appbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<com.google.android.material.appbar.MaterialToolbar
|
||||
android:id="@+id/toolbar_main"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
android:background="?attr/colorSurface"
|
||||
app:subtitleTextColor="?attr/colorOnSurface"
|
||||
app:titleTextColor="?attr/colorOnSurface" />
|
||||
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/games_platform_frame"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
||||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
android:id="@+id/appbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<androidx.appcompat.widget.Toolbar
|
||||
android:id="@+id/toolbar_main"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
android:background="?colorPrimary"/>
|
||||
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
|
@ -1,5 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/coordinator_settings"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/frame_content" />
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
android:id="@+id/appbar_settings"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<com.google.android.material.appbar.MaterialToolbar
|
||||
android:id="@+id/toolbar_settings"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
android:background="?attr/colorSurface" />
|
||||
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/frame_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
|
@ -1,12 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<org.citra.citra_emu.features.settings.ui.SettingsFrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<org.citra.citra_emu.features.settings.ui.SettingsFrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
android:layout_height="match_parent"
|
||||
android:background="?attr/colorSurface">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/list_settings"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/card_view_background" />
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
</org.citra.citra_emu.features.settings.ui.SettingsFrameLayout>
|
@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<color name="citra_primary">#F8BE00</color>
|
||||
<color name="citra_onPrimary">#3F2E00</color>
|
||||
<color name="citra_primaryContainer">#451C00</color>
|
||||
<color name="citra_onPrimaryContainer">#FFDF9A</color>
|
||||
<color name="citra_secondary">#D7C4A0</color>
|
||||
<color name="citra_onSecondary">#3A2F15</color>
|
||||
<color name="citra_secondaryContainer">#52452A</color>
|
||||
<color name="citra_onSecondaryContainer">#F4E0BB</color>
|
||||
<color name="citra_tertiary">#FFB2BC</color>
|
||||
<color name="citra_onTertiary">#5F1126</color>
|
||||
<color name="citra_tertiaryContainer">#7D293B</color>
|
||||
<color name="citra_onTertiaryContainer">#FFD9DD</color>
|
||||
<color name="citra_error">#FFB4AB</color>
|
||||
<color name="citra_errorContainer">#93000A</color>
|
||||
<color name="citra_onError">#690005</color>
|
||||
<color name="citra_onErrorContainer">#FFDAD6</color>
|
||||
<color name="citra_background">#1E1B16</color>
|
||||
<color name="citra_onBackground">#E9E1D9</color>
|
||||
<color name="citra_surface">#1E1B16</color>
|
||||
<color name="citra_onSurface">#E9E1D9</color>
|
||||
<color name="citra_surfaceVariant">#4D4639</color>
|
||||
<color name="citra_onSurfaceVariant">#D0C5B4</color>
|
||||
<color name="citra_outline">#999080</color>
|
||||
<color name="citra_inverseOnSurface">#1E1B16</color>
|
||||
<color name="citra_inverseSurface">#E9E1D9</color>
|
||||
<color name="citra_inversePrimary">#785A00</color>
|
||||
<color name="citra_surfaceTint">#F8BE00</color>
|
||||
<color name="citra_outlineVariant">#4D4639</color>
|
||||
|
||||
</resources>
|
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<color name="citra_orange">#272727</color>
|
||||
<color name="citra_orange_dark">#121212</color>
|
||||
<color name="citra_accent">#FEC303</color>
|
||||
|
||||
<color name="card_view_background">#121212</color>
|
||||
<color name="card_view_disabled">#3D3D3D</color>
|
||||
|
||||
<color name="gamelist_divider">#404040</color>
|
||||
|
||||
<color name="header_text">#E0E0E0</color>
|
||||
<color name="header_subtext">#A0A0A0</color>
|
||||
|
||||
<color name="citra_logo_text_color">@color/citra_accent</color>
|
||||
</resources>
|
@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<color name="citra_primary">#FFAB03</color>
|
||||
<color name="citra_onPrimary">#FFFFFF</color>
|
||||
<color name="citra_primaryContainer">#FFDF9A</color>
|
||||
<color name="citra_onPrimaryContainer">#251A00</color>
|
||||
<color name="citra_secondary">#6B5D3F</color>
|
||||
<color name="citra_onSecondary">#FFFFFF</color>
|
||||
<color name="citra_secondaryContainer">#F4E0BB</color>
|
||||
<color name="citra_onSecondaryContainer">#241A04</color>
|
||||
<color name="citra_tertiary">#9B4052</color>
|
||||
<color name="citra_onTertiary">#FFFFFF</color>
|
||||
<color name="citra_tertiaryContainer">#FFD9DD</color>
|
||||
<color name="citra_onTertiaryContainer">#400013</color>
|
||||
<color name="citra_error">#BA1A1A</color>
|
||||
<color name="citra_errorContainer">#FFDAD6</color>
|
||||
<color name="citra_onError">#FFFFFF</color>
|
||||
<color name="citra_onErrorContainer">#410002</color>
|
||||
<color name="citra_background">#FFFBFF</color>
|
||||
<color name="citra_onBackground">#1E1B16</color>
|
||||
<color name="citra_surface">#FFFBFF</color>
|
||||
<color name="citra_onSurface">#1E1B16</color>
|
||||
<color name="citra_surfaceVariant">#EDE1CF</color>
|
||||
<color name="citra_onSurfaceVariant">#4D4639</color>
|
||||
<color name="citra_outline">#7F7667</color>
|
||||
<color name="citra_inverseOnSurface">#F7F0E7</color>
|
||||
<color name="citra_inverseSurface">#33302A</color>
|
||||
<color name="citra_inversePrimary">#F8BE00</color>
|
||||
<color name="citra_shadow">#000000</color>
|
||||
<color name="citra_surfaceTint">#783E00</color>
|
||||
<color name="citra_outlineVariant">#D0C5B4</color>
|
||||
<color name="citra_scrim">#000000</color>
|
||||
|
||||
</resources>
|
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<color name="citra_orange">#FFC303</color>
|
||||
<color name="citra_orange_dark">#FF8D03</color>
|
||||
<color name="citra_accent">#CC7102</color>
|
||||
|
||||
<color name="card_view_background">#ffffff</color>
|
||||
<color name="card_view_disabled">#D5D5D5</color>
|
||||
|
||||
<color name="gamelist_divider">#ffffff</color>
|
||||
|
||||
<color name="header_text">#1C1424</color>
|
||||
<color name="header_subtext">#5C5661</color>
|
||||
|
||||
<color name="citra_logo_text_color">@color/header_text</color>
|
||||
</resources>
|
@ -1,65 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<!-- Inherit from the material theme -->
|
||||
<style name="CitraBase" parent="Theme.AppCompat.DayNight.NoActionBar">
|
||||
<!-- Main theme colors -->
|
||||
<!-- Branding color for the app bar -->
|
||||
<item name="colorPrimary">@color/citra_orange</item>
|
||||
<!-- Darker variant for the status bar and contextual app bars -->
|
||||
<item name="colorPrimaryDark">@color/citra_orange_dark</item>
|
||||
<item name="colorAccent">@color/citra_accent</item>
|
||||
|
||||
<item name="titleTextColor">@color/citra_logo_text_color</item>
|
||||
|
||||
<!-- Enable window content transitions -->
|
||||
<item name="android:windowContentTransitions">true</item>
|
||||
<item name="android:windowAllowEnterTransitionOverlap">true</item>
|
||||
<item name="android:windowAllowReturnTransitionOverlap">true</item>
|
||||
|
||||
<item name="android:colorControlHighlight">?attr/colorAccent</item>
|
||||
</style>
|
||||
|
||||
<!-- Same as above, but use default action bar, and mandate margins. -->
|
||||
<style name="CitraSettingsBase" parent="Theme.AppCompat.DayNight">
|
||||
<item name="colorPrimary">@color/citra_orange</item>
|
||||
<item name="colorPrimaryDark">@color/citra_orange_dark</item>
|
||||
<item name="colorAccent">@color/citra_accent</item>
|
||||
</style>
|
||||
|
||||
<!-- Inherit from the Base Citra Dialog Theme -->
|
||||
<style name="CitraEmulationBase" parent="Theme.AppCompat.DayNight">
|
||||
<item name="colorPrimary">@color/citra_orange</item>
|
||||
<item name="colorPrimaryDark">@color/citra_orange_dark</item>
|
||||
<item name="colorAccent">@color/citra_accent</item>
|
||||
<item name="android:windowTranslucentNavigation">true</item>
|
||||
|
||||
<item name="android:windowBackground">@android:color/black</item>
|
||||
|
||||
<!-- Enable window content transitions -->
|
||||
<item name="android:windowContentTransitions">true</item>
|
||||
<item name="android:windowAllowEnterTransitionOverlap">true</item>
|
||||
<item name="android:windowAllowReturnTransitionOverlap">true</item>
|
||||
</style>
|
||||
|
||||
<!-- Inherit from a base file picker theme that handles day/night -->
|
||||
<style name="FilePickerTheme" parent="FilePickerBaseTheme">
|
||||
<item name="colorPrimary">@color/citra_orange</item>
|
||||
<item name="colorPrimaryDark">@color/citra_orange_dark</item>
|
||||
<item name="colorAccent">@color/citra_accent</item>
|
||||
<item name="android:windowBackground">@color/card_view_background</item>
|
||||
|
||||
<!-- Need to set this also to style create folder dialog -->
|
||||
<item name="alertDialogTheme">@style/FilePickerAlertDialogTheme</item>
|
||||
|
||||
<item name="nnf_list_item_divider">@drawable/gamelist_divider</item>
|
||||
<item name="nnf_toolbarTheme">@style/ThemeOverlay.AppCompat.DayNight.ActionBar</item>
|
||||
</style>
|
||||
|
||||
<style name="FilePickerAlertDialogTheme" parent="Theme.AppCompat.DayNight.Dialog.Alert">
|
||||
<item name="colorPrimary">@color/citra_orange</item>
|
||||
<item name="colorPrimaryDark">@color/citra_orange_dark</item>
|
||||
<item name="colorAccent">@color/citra_accent</item>
|
||||
<item name="colorPrimary">@color/citra_primary</item>
|
||||
<item name="colorPrimaryDark">@color/citra_secondary</item>
|
||||
<item name="colorAccent">@color/citra_primaryContainer</item>
|
||||
</style>
|
||||
|
||||
<style name="CitraMaterialDialog" parent="ThemeOverlay.Material3.MaterialAlertDialog">
|
||||
<item name="colorPrimary">@color/citra_surface</item>
|
||||
<item name="colorSurface">@color/citra_surface</item>
|
||||
<item name="colorSecondary">@color/citra_primary</item>
|
||||
<item name="buttonBarPositiveButtonStyle">@style/CitraButton</item>
|
||||
<item name="buttonBarNegativeButtonStyle">@style/CitraButton</item>
|
||||
<item name="buttonBarNeutralButtonStyle">@style/CitraButton</item>
|
||||
</style>
|
||||
|
||||
<style name="CitraButton" parent="Widget.Material3.Button.TextButton.Dialog">
|
||||
<item name="android:textColor">@color/citra_primary</item>
|
||||
<item name="rippleColor">@color/citra_secondaryContainer</item>
|
||||
</style>
|
||||
|
||||
<style name="CitraShapedPopup" parent="Widget.Material3.PopupMenu">
|
||||
<item name="android:popupBackground">@drawable/popup_background</item>
|
||||
</style>
|
||||
|
||||
<style name="CitraPopup" parent="ThemeOverlay.Material3">
|
||||
<item name="colorPrimary">@color/citra_surface</item>
|
||||
</style>
|
||||
|
||||
<style name="CitraSlider" parent="Widget.Material3.Slider">
|
||||
<item name="tickVisible">false</item>
|
||||
<item name="labelBehavior">gone</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="Theme.Citra.Main" parent="Theme.Material3.DayNight.NoActionBar">
|
||||
<!-- Main theme colors -->
|
||||
<item name="colorPrimary">@color/citra_primary</item>
|
||||
<item name="colorOnPrimary">@color/citra_onPrimary</item>
|
||||
<item name="colorPrimaryContainer">@color/citra_primaryContainer</item>
|
||||
<item name="colorOnPrimaryContainer">@color/citra_onPrimaryContainer</item>
|
||||
<item name="colorSecondary">@color/citra_secondary</item>
|
||||
<item name="colorOnSecondary">@color/citra_onSecondary</item>
|
||||
<item name="colorSecondaryContainer">@color/citra_secondaryContainer</item>
|
||||
<item name="colorOnSecondaryContainer">@color/citra_onSecondaryContainer</item>
|
||||
<item name="colorTertiary">@color/citra_tertiary</item>
|
||||
<item name="colorOnTertiary">@color/citra_onTertiary</item>
|
||||
<item name="colorTertiaryContainer">@color/citra_tertiaryContainer</item>
|
||||
<item name="colorOnTertiaryContainer">@color/citra_onTertiaryContainer</item>
|
||||
<item name="colorError">@color/citra_error</item>
|
||||
<item name="colorErrorContainer">@color/citra_errorContainer</item>
|
||||
<item name="colorOnError">@color/citra_onError</item>
|
||||
<item name="colorOnErrorContainer">@color/citra_onErrorContainer</item>
|
||||
<item name="android:colorBackground">@color/citra_background</item>
|
||||
<item name="colorOnBackground">@color/citra_onBackground</item>
|
||||
<item name="colorSurface">@color/citra_surface</item>
|
||||
<item name="colorOnSurface">@color/citra_onSurface</item>
|
||||
<item name="colorSurfaceVariant">@color/citra_surfaceVariant</item>
|
||||
<item name="colorOnSurfaceVariant">@color/citra_onSurfaceVariant</item>
|
||||
<item name="colorOutline">@color/citra_outline</item>
|
||||
<item name="colorOnSurfaceInverse">@color/citra_inverseOnSurface</item>
|
||||
<item name="colorSurfaceInverse">@color/citra_inverseSurface</item>
|
||||
<item name="colorPrimaryInverse">@color/citra_inversePrimary</item>
|
||||
|
||||
<item name="homeAsUpIndicator">@drawable/ic_back</item>
|
||||
<item name="android:statusBarColor">@color/citra_surface</item>
|
||||
<item name="android:textColorLink">@color/citra_primary</item>
|
||||
<item name="materialAlertDialogTheme">@style/CitraMaterialDialog</item>
|
||||
<item name="popupMenuStyle">@style/CitraShapedPopup</item>
|
||||
<item name="popupTheme">@style/CitraPopup</item>
|
||||
<item name="sliderStyle">@style/CitraSlider</item>
|
||||
</style>
|
||||
|
||||
<!-- Inherit from a base file picker theme that handles day/night -->
|
||||
<style name="FilePickerTheme" parent="FilePickerBaseTheme">
|
||||
<item name="colorPrimary">@color/citra_primary</item>
|
||||
<item name="colorPrimaryDark">@color/citra_primary</item>
|
||||
<item name="colorAccent">@color/citra_primary</item>
|
||||
|
||||
<!-- Need to set this also to style create folder dialog -->
|
||||
<item name="alertDialogTheme">@style/FilePickerAlertDialogTheme</item>
|
||||
|
||||
<item name="nnf_list_item_divider">@drawable/gamelist_divider</item>
|
||||
<item name="nnf_toolbarTheme">@style/ThemeOverlay.AppCompat.DayNight.ActionBar</item>
|
||||
</style>
|
||||
|
||||
</resources>
|