diff options
author | wangqi <wangqi@google.com> | 2018-03-01 18:12:18 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-03-02 10:14:51 -0800 |
commit | 3ba5bd0fda778c7739b46e3594f8714114e0b4f3 (patch) | |
tree | d3eec211161c105dd936eac12dadf8c5c41e53fe /java/com/android/incallui/rtt/impl/res/values/styles.xml | |
parent | c378fb17f0ae994b950273e0f91b5692ad7638cf (diff) |
Add ripple effect to RTT incall buttons.
Bug: 67596257
Test: manual
PiperOrigin-RevId: 187564625
Change-Id: I7e848e975bbab19e605d09283dee24eeb02550f1
Diffstat (limited to 'java/com/android/incallui/rtt/impl/res/values/styles.xml')
-rw-r--r-- | java/com/android/incallui/rtt/impl/res/values/styles.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/java/com/android/incallui/rtt/impl/res/values/styles.xml b/java/com/android/incallui/rtt/impl/res/values/styles.xml index 515e0dfcf..bbacde813 100644 --- a/java/com/android/incallui/rtt/impl/res/values/styles.xml +++ b/java/com/android/incallui/rtt/impl/res/values/styles.xml @@ -22,6 +22,10 @@ <item name="android:textSize">16sp</item> </style> + <style name="ButtonTheme"> + <item name="android:colorControlHighlight">#33000000</item> + </style> + <style name="RttButton"> <item name="android:layout_width">match_parent</item> <item name="android:layout_height">wrap_content</item> @@ -33,6 +37,7 @@ <item name="android:drawableTint">@color/rtt_checkable_button_color</item> <item name="android:textSize">16sp</item> <item name="android:textColor">@color/rtt_checkable_button_color</item> - <item name="android:colorControlHighlight">#33000000</item> + <item name="android:theme">@style/ButtonTheme</item> + <item name="android:background">?attr/selectableItemBackground</item> </style> </resources>
\ No newline at end of file |