Refine qsb icon layout
This commit is contained in:
1 parent
bd050bd4b9
commit
b78a8df475
2 files changed
+15
-11
No files matched your search
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<app.lawnchair.qsb.QsbLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/qsb_widget_height"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
@@ -20,16 +20,20 @@
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="end|center"
|
||||
android:layout_marginTop="6.0dp"
|
||||
android:layout_marginBottom="6.0dp"
|
||||
android:orientation="horizontal">
|
||||
android:layout_marginTop="6dp"
|
||||
android:layout_marginBottom="6dp"
|
||||
android:paddingStart="6dp"
|
||||
android:clipToPadding="false"
|
||||
android:orientation="horizontal"
|
||||
tools:ignore="RtlSymmetry">
|
||||
|
||||
<app.lawnchair.qsb.AssistantIconView
|
||||
android:id="@+id/mic_icon"
|
||||
android:layout_width="@dimen/qsb_content_height"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="@dimen/qsb_icon_width"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginStart="-6dp"
|
||||
android:background="@drawable/pill_ripple"
|
||||
android:clickable="true"
|
||||
android:contentDescription="@string/label_voice_search"
|
||||
@@ -39,9 +43,9 @@
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/lens_icon"
|
||||
android:layout_width="56dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_marginLeft="-4dp"
|
||||
android:layout_width="@dimen/qsb_icon_width"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginStart="-6dp"
|
||||
android:background="@drawable/pill_ripple"
|
||||
android:clickable="true"
|
||||
android:contentDescription="@string/label_lens"
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
<dimen name="qsb_min_width_with_mic">124dp</dimen>
|
||||
<dimen name="qsb_shadow_margin">6dp</dimen>
|
||||
<dimen name="qsb_widget_height">64dp</dimen>
|
||||
<dimen name="qsb_content_height">52dp</dimen>
|
||||
<dimen name="qsb_icon_width">56dp</dimen>
|
||||
|
||||
<dimen name="search_box_container_height">60dp</dimen>
|
||||
<dimen name="search_box_height">52dp</dimen>
|
||||
|
||||
Reference in new issue
Block a user