Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Commit

Permalink
Change dialog corner radius
Browse files Browse the repository at this point in the history
  • Loading branch information
cyb3rko committed Oct 21, 2021
1 parent 3451aad commit d45ec6c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/res/values-night/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>

<!-- Customize your theme here. -->
<item name="md_corner_radius">10dp</item>
<item name="md_corner_radius">16dp</item>
</style>
</resources>
6 changes: 6 additions & 0 deletions app/src/main/res/values-v31/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
<item name="md_corner_radius">16dp</item>
</style>

<style name="Theme.Cavedroid.BlueLight" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
Expand All @@ -32,6 +33,7 @@
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
<item name="md_corner_radius">16dp</item>
</style>

<style name="Theme.Cavedroid.BlueDark" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
Expand All @@ -46,6 +48,7 @@
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
<item name="md_corner_radius">16dp</item>
</style>

<style name="Theme.Cavedroid.GreenLight" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
Expand All @@ -60,6 +63,7 @@
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
<item name="md_corner_radius">16dp</item>
</style>

<style name="Theme.Cavedroid.GreenDark" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
Expand All @@ -74,6 +78,7 @@
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
<item name="md_corner_radius">16dp</item>
</style>

<style name="Theme.Cavedroid.NoActionBar" parent="Theme.MaterialComponents.DayNight.NoActionBar">
Expand All @@ -88,6 +93,7 @@
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
<item name="md_corner_radius">16dp</item>
</style>

<style name="Button.AppIntro" parent="Widget.MaterialComponents.Button">
Expand Down
6 changes: 6 additions & 0 deletions app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
<item name="md_corner_radius">16dp</item>
</style>

<style name="Theme.Cavedroid.BlueLight" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
Expand All @@ -32,6 +33,7 @@
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
<item name="md_corner_radius">16dp</item>
</style>

<style name="Theme.Cavedroid.BlueDark" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
Expand All @@ -46,6 +48,7 @@
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
<item name="md_corner_radius">16dp</item>
</style>

<style name="Theme.Cavedroid.GreenLight" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
Expand All @@ -60,6 +63,7 @@
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
<item name="md_corner_radius">16dp</item>
</style>

<style name="Theme.Cavedroid.GreenDark" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
Expand All @@ -74,6 +78,7 @@
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
<item name="md_corner_radius">16dp</item>
</style>

<style name="Theme.Cavedroid.NoActionBar" parent="Theme.MaterialComponents.DayNight.NoActionBar">
Expand All @@ -88,6 +93,7 @@
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
<item name="md_corner_radius">16dp</item>
</style>

<style name="Button.AppIntro" parent="Widget.MaterialComponents.Button">
Expand Down

0 comments on commit d45ec6c

Please sign in to comment.