diff options
author | Yorke Lee <yorkelee@google.com> | 2014-09-15 12:25:28 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-09-15 12:25:28 -0700 |
commit | 781dc9c35cf9ca07fedd9c8eda7c5aa568105924 (patch) | |
tree | a507fa7e405e6dc8d472c9b62efbbfdbee46100b | |
parent | 9dc924c8bcc0bc8d996452e9ce3215b5f064962e (diff) |
Make FAB button ripple bounded
Bug: 17411557
Change-Id: I7b9946bf11daa37e9e242019ae2b14463daaa8c5
-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 |