change theme

This commit is contained in:
Niktia 2025-02-20 15:49:10 +03:00
parent 87ad1617a4
commit 3fe72d546f
2 changed files with 6 additions and 13 deletions

View File

@ -34,7 +34,11 @@
tools:layout="@layout/fragment_qr_result" >
<action
android:id="@+id/action_fragment_qr_result_to_fragment_profile"
app:destination="@id/fragment_profile" />
app:destination="@id/fragment_profile"
app:popUpTo="@id/fragment_qr_result"
app:popUpToInclusive="true"
/>
</fragment>
<fragment
android:id="@+id/fragment_admin"

View File

@ -1,16 +1,5 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.Default" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_500</item>
<item name="colorPrimaryVariant">@color/orange</item>
<item name="colorOnPrimary">@color/white</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/teal_200</item>
<item name="colorSecondaryVariant">@color/teal_700</item>
<item name="colorOnSecondary">@color/black</item>
<!-- Status bar color. -->
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
<style name="Theme.Default" parent="Theme.MaterialComponents.DayNight.NoActionBar">
</style>
</resources>