Add left padding to misc pages

Change-Id: I6349672e92d170564212679d58cdbfe9991005a2
Fixes: 36459450
Test: visual
This commit is contained in:
Fan Zhang
2017-10-09 15:11:42 -07:00
parent aa410eba1d
commit a0450c78eb
3 changed files with 15 additions and 14 deletions

View File

@@ -31,14 +31,15 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical"> android:orientation="vertical">
<TextView android:id="@+id/android_beam_explained" <TextView
android:id="@+id/android_beam_explained"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="20dip" android:layout_marginTop="20dip"
android:gravity="top" android:gravity="top"
android:paddingStart="@dimen/preference_no_icon_padding_start"
android:text="@string/android_beam_explained" android:text="@string/android_beam_explained"
android:textAppearance="?android:attr/textAppearanceMedium" android:textAppearance="?android:attr/textAppearanceMedium" />
/>
<ImageView android:id="@+id/android_beam_image" <ImageView android:id="@+id/android_beam_image"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@@ -4,9 +4,9 @@
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
You may obtain a copy of the License at You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,24 +14,24 @@
limitations under the License. limitations under the License.
--> -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical" android:orientation="vertical">
>
<ScrollView <ScrollView
android:id="@+id/master_clear_scrollview" android:id="@+id/master_clear_scrollview"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dip" android:layout_height="0dip"
android:layout_marginStart="12dp" android:layout_marginStart="@dimen/preference_no_icon_padding_start"
android:layout_marginEnd="12dp" android:layout_marginEnd="12dp"
android:layout_marginTop="12dp" android:layout_marginTop="12dp"
android:layout_weight="1"> android:layout_weight="1">
<LinearLayout android:id="@+id/master_clear_container" <LinearLayout
android:layout_width="match_parent" android:id="@+id/master_clear_container"
android:layout_height="wrap_content" android:layout_width="match_parent"
android:orientation="vertical"> android:layout_height="wrap_content"
android:orientation="vertical">
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"

View File

@@ -22,7 +22,7 @@
<ScrollView <ScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dip" android:layout_height="0dip"
android:layout_marginStart="12dp" android:layout_marginStart="@dimen/preference_no_icon_padding_start"
android:layout_marginEnd="12dp" android:layout_marginEnd="12dp"
android:layout_marginTop="12dp" android:layout_marginTop="12dp"
android:layout_weight="1"> android:layout_weight="1">