For #9595: Increase search pill touch target height to container height.
Adjust background to fit new dimensions.master
parent
c4f7a32eae
commit
7562e06b25
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue