Merge "Make footer button tap target 48dp tall" into sc-qpr1-dev

This commit is contained in:
TreeHugger Robot
2021-09-20 16:06:30 +00:00
committed by Android (Google) Code Review
2 changed files with 20 additions and 19 deletions

View File

@@ -14,19 +14,20 @@
~ See the License for the specific language governing permissions and ~ See the License for the specific language governing permissions and
~ limitations under the License. ~ limitations under the License.
--> -->
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
<shape xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
android:shape="rectangle"> android:color="?android:attr/colorControlHighlight">
<solid <item>
android:color="?androidprv:attr/colorSurface" <inset
/> android:insetBottom="4dp"
<corners android:radius="20dp" /> android:insetTop="4dp">
<shape android:shape="rectangle">
<padding <corners android:radius="20dp" />
android:left="20dp" <padding
android:right="20dp"> android:left="20dp"
</padding> android:right="20dp" />
<solid android:color="?androidprv:attr/colorSurface" />
</shape> </shape>
</inset>
</item>
</ripple>

View File

@@ -30,8 +30,8 @@
style="@style/TextAppearance.NotificationSectionHeaderButton" style="@style/TextAppearance.NotificationSectionHeaderButton"
android:id="@+id/manage_text" android:id="@+id/manage_text"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="40dp" android:layout_height="48dp"
android:layout_marginTop="16dp" android:layout_marginTop="12dp"
android:layout_gravity="start" android:layout_gravity="start"
android:background="@drawable/notif_footer_btn_background" android:background="@drawable/notif_footer_btn_background"
android:focusable="true" android:focusable="true"
@@ -43,8 +43,8 @@
style="@style/TextAppearance.NotificationSectionHeaderButton" style="@style/TextAppearance.NotificationSectionHeaderButton"
android:id="@+id/dismiss_text" android:id="@+id/dismiss_text"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="40dp" android:layout_height="48dp"
android:layout_marginTop="16dp" android:layout_marginTop="12dp"
android:layout_gravity="end" android:layout_gravity="end"
android:background="@drawable/notif_footer_btn_background" android:background="@drawable/notif_footer_btn_background"
android:focusable="true" android:focusable="true"