diff options
author | Yorke Lee <yorkelee@google.com> | 2014-09-16 08:32:24 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-09-16 08:32:24 +0000 |
commit | 60a154d69258236f84a2668a939d61162cb8690c (patch) | |
tree | 71e2ab9176b60331417eaef42d94cf6ad2fcb97d /res | |
parent | ccc158804a5dcf2660f878be996f4b6c99d9c7f7 (diff) | |
parent | 781dc9c35cf9ca07fedd9c8eda7c5aa568105924 (diff) |
am 781dc9c3: Make FAB button ripple bounded
* commit '781dc9c35cf9ca07fedd9c8eda7c5aa568105924':
Make FAB button ripple bounded
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable/floating_action_button.xml | 8 |
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 |