Update margins to match specs
- Update settings to use GLIF versions for margins and styles - Removed learn more link from AOSP Fingerprint intro screen because it won't have a link to show. Bug: 28885476 Change-Id: I5d2fd730a1bca2c5da8626da066da3a3f03b4428
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/suw_description_margin_top">
|
||||
android:layout_marginTop="@dimen/suw_description_glif_margin_top">
|
||||
|
||||
<TextView
|
||||
style="@style/TextAppearance.FingerprintMessage"
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
style="@style/TextAppearance.FingerprintMessage"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/suw_description_margin_top"
|
||||
android:layout_marginTop="@dimen/suw_description_glif_margin_top"
|
||||
android:text="@string/security_settings_fingerprint_enroll_find_sensor_message"/>
|
||||
|
||||
<View
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
style="@style/TextAppearance.FingerprintMessage"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/suw_description_margin_top"
|
||||
android:layout_marginTop="@dimen/suw_description_glif_margin_top"
|
||||
android:text="@string/security_settings_fingerprint_enroll_finish_message"/>
|
||||
|
||||
<TextView
|
||||
@@ -43,7 +43,7 @@
|
||||
style="@style/TextAppearance.FingerprintMessage"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/suw_description_margin_top"
|
||||
android:layout_marginTop="@dimen/suw_description_glif_margin_top"
|
||||
android:text="@string/setup_fingerprint_enroll_finish_message_secondary"
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
android:visibility="gone" />
|
||||
|
||||
@@ -20,10 +20,10 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="56dp"
|
||||
android:paddingBottom="@dimen/suw_description_margin_bottom_lists"
|
||||
android:paddingBottom="@dimen/suw_description_glif_margin_bottom_lists"
|
||||
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
|
||||
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
|
||||
android:paddingTop="@dimen/suw_description_margin_top"
|
||||
android:paddingTop="@dimen/suw_description_glif_margin_top"
|
||||
android:text="@string/setup_lock_settings_picker_fingerprint_message"
|
||||
android:lineSpacingExtra="@dimen/suw_description_line_spacing_extra"
|
||||
android:textAppearance="?android:attr/textAppearanceListItem" />
|
||||
|
||||
@@ -20,10 +20,10 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="56dp"
|
||||
android:paddingBottom="@dimen/suw_description_margin_bottom_lists"
|
||||
android:paddingBottom="@dimen/suw_description_glif_margin_bottom_lists"
|
||||
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
|
||||
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
|
||||
android:paddingTop="@dimen/suw_description_margin_top"
|
||||
android:paddingTop="@dimen/suw_description_glif_margin_top"
|
||||
android:text="@string/setup_lock_settings_picker_message"
|
||||
android:lineSpacingExtra="@dimen/suw_description_line_spacing_extra"
|
||||
android:textAppearance="?android:attr/textAppearanceListItem" />
|
||||
|
||||
@@ -20,9 +20,9 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="56dp"
|
||||
android:paddingBottom="@dimen/suw_description_margin_bottom_lists"
|
||||
android:paddingBottom="@dimen/suw_description_glif_margin_bottom_lists"
|
||||
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
|
||||
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
|
||||
android:paddingTop="@dimen/suw_description_margin_top"
|
||||
android:paddingTop="@dimen/suw_description_glif_margin_top"
|
||||
android:lineSpacingExtra="@dimen/suw_description_line_spacing_extra"
|
||||
android:textAppearance="?android:attr/textAppearanceListItem" />
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
style="@style/TextAppearance.FingerprintMessage"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/suw_description_margin_top"
|
||||
android:layout_marginTop="@dimen/suw_description_glif_margin_top"
|
||||
android:text="@string/security_settings_fingerprint_enroll_find_sensor_message"/>
|
||||
|
||||
<View
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
style="@style/SuwDescription"
|
||||
style="@style/SuwDescription.Glif"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/lock_screen_notifications_interstitial_message" />
|
||||
|
||||
@@ -1,71 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Copyright (C) 2016 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
style="@style/SuwItemContainer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:paddingTop="@dimen/suw_description_margin_top"
|
||||
android:paddingBottom="@dimen/suw_description_margin_bottom_lists">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/suw_items_icon_container"
|
||||
android:layout_width="@dimen/suw_items_icon_container_width"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:gravity="start">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/suw_items_icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.android.settings.widget.LinkTextView
|
||||
android:id="@+id/suw_items_title"
|
||||
style="@style/SuwItemTitle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="start"
|
||||
android:lineSpacingExtra="@dimen/suw_description_line_spacing_extra"
|
||||
android:textAlignment="viewStart"
|
||||
android:textAppearance="@style/TextAppearance.SuwDescription"
|
||||
tools:ignore="UnusedAttribute" />
|
||||
|
||||
<com.android.settings.widget.LinkTextView
|
||||
android:id="@+id/suw_items_summary"
|
||||
style="@style/SuwItemSummary"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="start"
|
||||
android:textAlignment="viewStart"
|
||||
android:visibility="gone"
|
||||
tools:ignore="UnusedAttribute" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user