1
0
Fork 0

For #9595: Increase search pill touch target height to container height.

Adjust background to fit new dimensions.
master
mcarare 2020-05-28 18:53:44 +03:00 committed by Emily Kager
parent c4f7a32eae
commit 7562e06b25
2 changed files with 17 additions and 9 deletions

View File

@ -1,12 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
<?xml version="1.0" encoding="utf-8"?><!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="?accentBright"/>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:bottom="4dp"
android:top="4dp">
<shape>
<solid android:color="?accentBright" />
<stroke android:width="1dp"
android:color="?accentBright"/>
<stroke
android:width="1dp"
android:color="?accentBright" />
<corners android:radius="16dp"/>
</shape>
<corners android:radius="16dp" />
</shape>
</item>
</layer-list>

View File

@ -266,7 +266,9 @@
<style name="search_pill" parent="Widget.AppCompat.Button.Borderless">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">32dp</item>
<item name="android:layout_height">40dp</item>
<item name="android:paddingTop">4dp</item>
<item name="android:paddingBottom">4dp</item>
<item name="android:textAllCaps">false</item>
<item name="android:textSize">14sp</item>
<item name="android:textColor">@color/toggle_text_color</item>