Skip to content

Commit

Permalink
improve Android styles documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Julesssss committed Nov 15, 2022
1 parent e11560b commit 5bedd62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions android/app/src/main/res/values-v26/styles.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<resources xmlns:tools="http://schemas.android.com/tools">

<!-- App Theme for Android 8.0 and above -->
<style name="AppTheme" parent="BaseAppTheme">
<item name="android:autofilledHighlight">@android:color/transparent</item>
</style>
Expand Down
6 changes: 4 additions & 2 deletions android/app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<resources xmlns:tools="http://schemas.android.com/tools">

<!-- Base application theme. -->
<!-- App Theme for Android versions 7.1 and below -->
<style name="AppTheme" parent="BaseAppTheme"/>

<!-- Base application theme. Applied to all Android versions -->
<style name="BaseAppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:textColor">@color/dark</item>
<item name="android:colorEdgeEffect">@color/gray4</item>
Expand All @@ -12,8 +13,9 @@
<item name="android:editTextBackground">@drawable/rn_edit_text_material</item>
</style>

<!-- Themes unique to the boot splash page -->
<style name="BootTheme" parent="AppTheme">
<!-- set the generated bootsplash.xml drawable as activity background -->
<item name="android:background">@drawable/bootsplash</item>
</style>

</resources>

0 comments on commit 5bedd62

Please sign in to comment.