From eceb96bbfc640cb3cbec2006a1039cf69d92c889 Mon Sep 17 00:00:00 2001 From: Jay Aliomer Date: Wed, 10 Mar 2021 15:14:17 -0500 Subject: [PATCH] Inline reply text make inline reply comply with material next Fixes: 182577304 Test: Manual Change-Id: Ic19c94e61858497a033a080bac454ff40cb0082d --- .../SystemUI/res/color/remote_input_send.xml | 4 +- .../SystemUI/res/color/remote_input_text.xml | 4 +- packages/SystemUI/res/layout/remote_input.xml | 7 +- packages/SystemUI/res/values/colors.xml | 3 +- packages/SystemUI/res/values/styles.xml | 4 - .../row/NotificationContentView.java | 25 +---- .../statusbar/policy/RemoteInputView.java | 95 ++++++++++++++++++- 7 files changed, 107 insertions(+), 35 deletions(-) diff --git a/packages/SystemUI/res/color/remote_input_send.xml b/packages/SystemUI/res/color/remote_input_send.xml index fe2ffaa838eb6..bd91ef9785d16 100644 --- a/packages/SystemUI/res/color/remote_input_send.xml +++ b/packages/SystemUI/res/color/remote_input_send.xml @@ -16,6 +16,6 @@ --> - - + + \ No newline at end of file diff --git a/packages/SystemUI/res/color/remote_input_text.xml b/packages/SystemUI/res/color/remote_input_text.xml index 8e18e16f8abcb..33eeb7794d091 100644 --- a/packages/SystemUI/res/color/remote_input_text.xml +++ b/packages/SystemUI/res/color/remote_input_text.xml @@ -16,6 +16,6 @@ --> - - + + \ No newline at end of file diff --git a/packages/SystemUI/res/layout/remote_input.xml b/packages/SystemUI/res/layout/remote_input.xml index b5d48b4636a89..43182eb991e5c 100644 --- a/packages/SystemUI/res/layout/remote_input.xml +++ b/packages/SystemUI/res/layout/remote_input.xml @@ -19,7 +19,6 @@ @@ -33,6 +32,10 @@ android:paddingBottom="4dp" android:paddingStart="16dp" android:paddingEnd="12dp" + android:layout_marginRight="5dp" + android:layout_marginLeft="20dp" + android:layout_marginTop="5dp" + android:layout_marginBottom="20dp" android:gravity="start|center_vertical" android:textAppearance="?android:attr/textAppearance" android:textColor="@color/remote_input_text" @@ -53,6 +56,7 @@ android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_gravity="center" + android:paddingBottom="20dp" android:paddingStart="12dp" android:paddingEnd="24dp" android:id="@+id/remote_input_send" @@ -66,6 +70,7 @@ android:id="@+id/remote_input_progress" android:layout_width="24dp" android:layout_height="24dp" + android:layout_marginBottom="10dp" android:layout_marginEnd="6dp" android:layout_gravity="center" android:visibility="invisible" diff --git a/packages/SystemUI/res/values/colors.xml b/packages/SystemUI/res/values/colors.xml index 424172458b80d..d4783197e1f17 100644 --- a/packages/SystemUI/res/values/colors.xml +++ b/packages/SystemUI/res/values/colors.xml @@ -153,10 +153,9 @@ #00000000 @*android:color/notification_default_color - #ffffffff #99ffffff - #eeeeee + ?android:attr/colorAccent #1F000000 #33FFFFFF diff --git a/packages/SystemUI/res/values/styles.xml b/packages/SystemUI/res/values/styles.xml index fb885cb3fdbe7..ff9ea0175ec03 100644 --- a/packages/SystemUI/res/values/styles.xml +++ b/packages/SystemUI/res/values/styles.xml @@ -384,10 +384,6 @@ -