aboutsummaryrefslogtreecommitdiff
path: root/sample/src/main/res
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-10 22:04:03 -0700
committerAllan Wang <me@allanwang.ca>2017-06-10 22:04:03 -0700
commitc0550e9892ae454e1f244dd2980c633d85803a25 (patch)
tree0adf61391859f3a71c50a9d499135248916d691c /sample/src/main/res
parent6dc743c0ba91904d27fba42a4e8e2de6a72c719a (diff)
downloadkau-c0550e9892ae454e1f244dd2980c633d85803a25.tar.gz
kau-c0550e9892ae454e1f244dd2980c633d85803a25.tar.bz2
kau-c0550e9892ae454e1f244dd2980c633d85803a25.zip
Support transparent backgrounds in the ripple canvas
Diffstat (limited to 'sample/src/main/res')
-rw-r--r--sample/src/main/res/values/strings.xml2
-rw-r--r--sample/src/main/res/values/styles.xml2
2 files changed, 4 insertions, 0 deletions
diff --git a/sample/src/main/res/values/strings.xml b/sample/src/main/res/values/strings.xml
index ea9712f..44421fe 100644
--- a/sample/src/main/res/values/strings.xml
+++ b/sample/src/main/res/values/strings.xml
@@ -6,5 +6,7 @@
<string name="checkbox_1">Checkbox 1</string>
<string name="checkbox_2">Checkbox 2</string>
<string name="checkbox_3">Checkbox 3</string>
+ <string name="desc_disabled">I am disabled</string>
<string name="text_color">Text Color</string>
+ <string name="background_color">Background Color</string>
</resources>
diff --git a/sample/src/main/res/values/styles.xml b/sample/src/main/res/values/styles.xml
index daa2a5c..8a4c98f 100644
--- a/sample/src/main/res/values/styles.xml
+++ b/sample/src/main/res/values/styles.xml
@@ -6,6 +6,8 @@
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
+ <item name="android:windowShowWallpaper">true</item>
+ <item name="android:windowBackground">@android:color/transparent</item>
</style>
</resources>