Skip to content
This repository was archived by the owner on Feb 25, 2022. It is now read-only.

Commit 5d88011

Browse files
author
Hisanobu Tomari
committed
make sure JavaField is always white regardless of system theme setting
1 parent ec066e3 commit 5d88011

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/src/main/res/layout/activity_main.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
android:paddingLeft="@dimen/activity_horizontal_margin"
77
android:paddingRight="@dimen/activity_horizontal_margin"
88
android:paddingTop="@dimen/activity_vertical_margin"
9-
tools:context=".MainActivity" >
9+
tools:context=".MainActivity"
10+
android:background="@color/javafield">
1011

1112
<TextView
1213
android:id="@+id/textView1"

app/src/main/res/values/colors.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
<color name="primary">#f00</color>
55
<color name="primary_dark">#a00</color>
66
<color name="accent">#f33</color>
7+
<color name="javafield">#fff</color>
78
</resources>

0 commit comments

Comments
 (0)