For #9422: Nit: Fix xml indenting
parent
4d0b37a3b8
commit
fac61fbb41
|
@ -1,44 +1,43 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?><!-- This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
<!-- 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
|
- 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/. -->
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||||
|
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="50dp"
|
android:layout_height="50dp"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
android:layout_gravity="center"
|
||||||
android:background="@drawable/rounded_white_corners"
|
android:background="@drawable/rounded_white_corners">
|
||||||
android:layout_gravity="center">
|
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/button_search_widget_new_tab_icon"
|
android:id="@+id/button_search_widget_new_tab_icon"
|
||||||
android:layout_width="50dp"
|
android:contentDescription="@string/browser_menu_new_tab"
|
||||||
android:contentDescription="@string/browser_menu_new_tab"
|
android:layout_width="50dp"
|
||||||
android:layout_height="50dp"
|
android:layout_height="50dp"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:scaleType="centerInside" />
|
android:scaleType="centerInside" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/button_search_widget_new_tab"
|
android:id="@+id/button_search_widget_new_tab"
|
||||||
android:layout_toEndOf="@id/button_search_widget_new_tab_icon"
|
android:layout_width="match_parent"
|
||||||
android:layout_width="match_parent"
|
android:layout_height="32dp"
|
||||||
android:layout_height="32dp"
|
android:layout_marginStart="9dp"
|
||||||
android:gravity="center_vertical"
|
android:layout_marginTop="9dp"
|
||||||
android:textAlignment="viewStart"
|
android:layout_toEndOf="@id/button_search_widget_new_tab_icon"
|
||||||
android:textSize="15sp"
|
android:gravity="center_vertical"
|
||||||
android:textColor="@color/search_widget_text"
|
android:letterSpacing="-0.025"
|
||||||
android:letterSpacing="-0.025"
|
android:textAlignment="viewStart"
|
||||||
android:layout_marginStart="9dp"
|
android:textColor="@color/search_widget_text"
|
||||||
android:layout_marginTop="9dp"
|
android:textSize="15sp"
|
||||||
tools:ignore="RtlCompat" />
|
tools:ignore="RtlCompat" />
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/button_search_widget_voice"
|
android:id="@+id/button_search_widget_voice"
|
||||||
android:layout_width="32dp"
|
android:contentDescription="@string/search_widget_voice"
|
||||||
android:layout_height="32dp"
|
android:layout_width="32dp"
|
||||||
android:contentDescription="@string/search_widget_voice"
|
android:layout_height="32dp"
|
||||||
android:background="@drawable/ic_microphone_widget"
|
android:layout_alignTop="@id/button_search_widget_new_tab"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:layout_alignTop="@id/button_search_widget_new_tab"
|
android:layout_marginEnd="9dp"
|
||||||
android:layout_marginEnd="9dp"/>
|
android:background="@drawable/ic_microphone_widget" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
|
@ -1,45 +1,43 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?><!-- This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
<!-- 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
|
- 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/. -->
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="192dp"
|
android:layout_width="192dp"
|
||||||
android:layout_height="50dp"
|
android:layout_height="50dp"
|
||||||
android:background="@drawable/rounded_white_corners"
|
android:layout_gravity="center"
|
||||||
android:layout_gravity="center">
|
android:background="@drawable/rounded_white_corners">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/button_search_widget_new_tab_icon"
|
android:id="@+id/button_search_widget_new_tab_icon"
|
||||||
android:layout_width="50dp"
|
android:contentDescription="@string/browser_menu_new_tab"
|
||||||
android:layout_height="50dp"
|
android:layout_width="50dp"
|
||||||
android:contentDescription="@string/browser_menu_new_tab"
|
android:layout_height="50dp"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:scaleType="centerInside" />
|
android:scaleType="centerInside" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/button_search_widget_new_tab"
|
android:id="@+id/button_search_widget_new_tab"
|
||||||
android:layout_toEndOf="@id/button_search_widget_new_tab_icon"
|
android:layout_width="match_parent"
|
||||||
android:layout_width="match_parent"
|
android:layout_height="32dp"
|
||||||
android:layout_height="32dp"
|
android:layout_marginStart="9dp"
|
||||||
android:gravity="center_vertical"
|
android:layout_marginTop="9dp"
|
||||||
android:textAlignment="viewStart"
|
android:layout_toEndOf="@id/button_search_widget_new_tab_icon"
|
||||||
android:textSize="15sp"
|
android:gravity="center_vertical"
|
||||||
android:textColor="@color/search_widget_text"
|
android:letterSpacing="-0.025"
|
||||||
android:letterSpacing="-0.025"
|
android:textAlignment="viewStart"
|
||||||
android:layout_marginStart="9dp"
|
android:textColor="@color/search_widget_text"
|
||||||
android:layout_marginTop="9dp"
|
android:textSize="15sp"
|
||||||
tools:ignore="RtlCompat" />
|
tools:ignore="RtlCompat" />
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/button_search_widget_voice"
|
android:id="@+id/button_search_widget_voice"
|
||||||
android:layout_width="32dp"
|
android:contentDescription="@string/search_widget_voice"
|
||||||
android:layout_height="32dp"
|
android:layout_width="32dp"
|
||||||
android:background="@drawable/ic_microphone_widget"
|
android:layout_height="32dp"
|
||||||
android:contentDescription="@string/search_widget_voice"
|
android:layout_alignTop="@id/button_search_widget_new_tab"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:layout_alignTop="@id/button_search_widget_new_tab"
|
android:layout_marginEnd="9dp"
|
||||||
android:layout_marginEnd="9dp"/>
|
android:background="@drawable/ic_microphone_widget" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
Loading…
Reference in New Issue