diff options
author | Yorke Lee <yorkelee@google.com> | 2014-09-16 08:32:05 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-09-16 08:32:05 +0000 |
commit | 8468b6deebb9157246a3d4abc7185ff9d3d58b2f (patch) | |
tree | 921ef35960c4622f3d9f60ed14a6dc942096e271 | |
parent | d87e9b6c86947edc7d6e1b241551e809bfadfc6a (diff) | |
parent | 781dc9c35cf9ca07fedd9c8eda7c5aa568105924 (diff) |
am 781dc9c3: Make FAB button ripple bounded
* commit '781dc9c35cf9ca07fedd9c8eda7c5aa568105924':
Make FAB button ripple bounded
-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 |