summaryrefslogtreecommitdiff
path: root/java/com/android/incallui/res
diff options
context:
space:
mode:
authorwangqi <wangqi@google.com>2018-04-03 15:02:45 -0700
committerCopybara-Service <copybara-piper@google.com>2018-04-03 17:07:49 -0700
commitbfce344bc18b16d2fe6ee90274e3009ad9b26c7a (patch)
treefd0980cf77f708f8dd757df4227d122f30ff9df2 /java/com/android/incallui/res
parentb7309895fa82beb4b7ceeb5f66ec3b1ecff16738 (diff)
Fix the button style of RTT request dialog.
Change to use public android API of button style. Also changed padding left and right to 16dp (up from default 8dp). Bug: 70177426 Test: manual PiperOrigin-RevId: 191505606 Change-Id: Ic984f95843775af3057fb15bf5fe54d3384c478d
Diffstat (limited to 'java/com/android/incallui/res')
-rw-r--r--java/com/android/incallui/res/layout/frag_rtt_request_dialog.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/java/com/android/incallui/res/layout/frag_rtt_request_dialog.xml b/java/com/android/incallui/res/layout/frag_rtt_request_dialog.xml
index c6d9e991d..ab743eb89 100644
--- a/java/com/android/incallui/res/layout/frag_rtt_request_dialog.xml
+++ b/java/com/android/incallui/res/layout/frag_rtt_request_dialog.xml
@@ -51,22 +51,28 @@
android:layout_weight="1"/>
<Button
android:id="@+id/rtt_button_decline_request"
- style="@style/Widget.MaterialComponents.Button.TextButton"
+ style="@style/Widget.AppCompat.Button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end"
+ android:paddingStart="16dp"
+ android:paddingEnd="16dp"
android:backgroundTint="@android:color/white"
android:fontFamily="sans-serif-medium"
+ android:stateListAnimator="@null"
android:text="@string/rtt_button_decline_request"
android:textColor="#757575"/>
<Button
android:id="@+id/rtt_button_accept_request"
- style="@style/Widget.MaterialComponents.Button.TextButton"
+ style="@style/Widget.AppCompat.Button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end"
+ android:paddingStart="16dp"
+ android:paddingEnd="16dp"
android:backgroundTint="@color/dialer_theme_color"
android:fontFamily="sans-serif-medium"
+ android:stateListAnimator="@null"
android:text="@string/rtt_button_accept_request"
android:textColor="@android:color/white"/>
</LinearLayout>