summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-09-16 21:06:05 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-09-16 21:06:05 +0000
commit94bb6589d60420b048282dad5c651564d5eec589 (patch)
tree71e2ab9176b60331417eaef42d94cf6ad2fcb97d /res
parent7049e46c63dd873d7da394b1e6d36b76d8de9bc2 (diff)
parent0cafa49098c4c25ecd65aabf2bae3de275e6d0b2 (diff)
am 0cafa490: am 9abac14d: am 8468b6de: am 781dc9c3: Make FAB button ripple bounded
* commit '0cafa49098c4c25ecd65aabf2bae3de275e6d0b2': Make FAB button ripple bounded
Diffstat (limited to 'res')
-rw-r--r--res/drawable/floating_action_button.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/res/drawable/floating_action_button.xml b/res/drawable/floating_action_button.xml
index e5ae14a2b..d550190a8 100644
--- a/res/drawable/floating_action_button.xml
+++ b/res/drawable/floating_action_button.xml
@@ -16,4 +16,10 @@
-->
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
- android:color="@color/floating_action_button_touch_tint" /> \ No newline at end of file
+ android:color="@color/floating_action_button_touch_tint">
+ <item android:id="@android:id/mask">
+ <shape android:shape="oval">
+ <solid android:color="@android:color/white" />
+ </shape>
+ </item>
+</ripple> \ No newline at end of file