aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/drawable/fab_label_background.xml
diff options
context:
space:
mode:
authorAdithya Abraham Philip <adithyaphilip@gmail.com>2015-08-06 00:20:48 +0530
committerAdithya Abraham Philip <adithyaphilip@gmail.com>2015-08-06 02:02:11 +0530
commitf17dabce8c85dbc2e9c18f068d84c398215b3ce9 (patch)
tree4df595faee9b7d9668e2f88356cfa442b9e5e77e /OpenKeychain/src/main/res/drawable/fab_label_background.xml
parent7086a67c2e131542c0ce903e1a5db887deae59fe (diff)
downloadopen-keychain-f17dabce8c85dbc2e9c18f068d84c398215b3ce9.tar.gz
open-keychain-f17dabce8c85dbc2e9c18f068d84c398215b3ce9.tar.bz2
open-keychain-f17dabce8c85dbc2e9c18f068d84c398215b3ce9.zip
fixed crash on api < 21 due to drawable using attrs
Diffstat (limited to 'OpenKeychain/src/main/res/drawable/fab_label_background.xml')
-rw-r--r--OpenKeychain/src/main/res/drawable/fab_label_background.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenKeychain/src/main/res/drawable/fab_label_background.xml b/OpenKeychain/src/main/res/drawable/fab_label_background.xml
index aa5e0a88e..b2d5954d8 100644
--- a/OpenKeychain/src/main/res/drawable/fab_label_background.xml
+++ b/OpenKeychain/src/main/res/drawable/fab_label_background.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
- <solid android:color="?attr/colorFabBackground"/>
+ <!-- using an attribute for color will crash on API <= 20. Refer to http://stackoverflow.com/a/13471695/3000919 -->
+ <solid android:color="#b2000000"/>
<padding
android:left="16dp"
android:top="4dp"