mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-05 21:20:45 +00:00
For #9590: Increase widget elements touch target while keeping size.
This commit is contained in:
parent
8c47b988b8
commit
8f3274eba9
@ -0,0 +1,6 @@
|
||||
<!-- 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/. -->
|
||||
<inset xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:drawable="@drawable/ic_microphone_widget"
|
||||
android:inset="8dp" />
|
@ -20,24 +20,25 @@
|
||||
<TextView
|
||||
android:id="@+id/button_search_widget_new_tab"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="32dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginStart="9dp"
|
||||
android:layout_marginTop="9dp"
|
||||
android:layout_toEndOf="@id/button_search_widget_new_tab_icon"
|
||||
android:layout_alignEnd="@id/button_search_widget_voice"
|
||||
android:gravity="center_vertical"
|
||||
android:letterSpacing="-0.025"
|
||||
android:textAlignment="viewStart"
|
||||
android:textColor="@color/search_widget_text"
|
||||
android:textSize="15sp"
|
||||
tools:ignore="RtlCompat" />
|
||||
tools:ignore="RtlCompat"
|
||||
tools:text="Search the web"/>
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/button_search_widget_voice"
|
||||
android:contentDescription="@string/search_widget_voice"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="32dp"
|
||||
android:layout_alignTop="@id/button_search_widget_new_tab"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_marginEnd="9dp"
|
||||
android:background="@drawable/ic_microphone_widget" />
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginEnd="1dp"
|
||||
android:background="@drawable/ic_microphone_widget_padded" />
|
||||
</RelativeLayout>
|
@ -20,24 +20,25 @@
|
||||
<TextView
|
||||
android:id="@+id/button_search_widget_new_tab"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="32dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginStart="9dp"
|
||||
android:layout_marginTop="9dp"
|
||||
android:layout_toEndOf="@id/button_search_widget_new_tab_icon"
|
||||
android:layout_alignEnd="@id/button_search_widget_voice"
|
||||
android:gravity="center_vertical"
|
||||
android:letterSpacing="-0.025"
|
||||
android:textAlignment="viewStart"
|
||||
android:textColor="@color/search_widget_text"
|
||||
android:textSize="15sp"
|
||||
tools:ignore="RtlCompat" />
|
||||
tools:ignore="RtlCompat"
|
||||
tools:text="Search"/>
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/button_search_widget_voice"
|
||||
android:contentDescription="@string/search_widget_voice"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="32dp"
|
||||
android:layout_alignTop="@id/button_search_widget_new_tab"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_marginEnd="9dp"
|
||||
android:background="@drawable/ic_microphone_widget" />
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginEnd="1dp"
|
||||
android:background="@drawable/ic_microphone_widget_padded" />
|
||||
</RelativeLayout>
|
Loading…
Reference in New Issue
Block a user