Skip to content

Commit

Permalink
Merge pull request #12737 from Expensify/jules-fixAutofillBackground
Browse files Browse the repository at this point in the history
Remove background color from auto-filled inputs
  • Loading branch information
Julesssss authored Nov 16, 2022
2 parents 6209f01 + 5bedd62 commit 652a51a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
8 changes: 8 additions & 0 deletions android/app/src/main/res/values-v26/styles.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<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>

</resources>
11 changes: 7 additions & 4 deletions android/app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<resources xmlns:tools="http://schemas.android.com/tools">

<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
<!-- 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>
<item name="colorAccent">@color/accent</item>
Expand All @@ -11,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 652a51a

Please sign in to comment.