Fix some lint for Settings
Bug: 234570979 Test: Manually with Settings App Change-Id: I4cd66be1df5499c070fd7f80caf9a5ab2873b93d
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:singleLine="false"
|
||||
android:ellipsize="marquee"
|
||||
android:textDirection="locale"/>
|
||||
|
||||
@@ -40,7 +39,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="2dp"
|
||||
android:singleLine="false"
|
||||
android:ellipsize="marquee"
|
||||
android:textDirection="locale"/>
|
||||
|
||||
|
@@ -39,7 +39,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:gravity="center"
|
||||
android:singleLine="false"
|
||||
android:ellipsize="marquee"
|
||||
android:textDirection="locale"
|
||||
android:layout_marginTop="24dp"
|
||||
@@ -75,4 +74,4 @@
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone"/>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
@@ -31,7 +31,6 @@
|
||||
style="@style/TextAppearance.EntityHeaderTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:singleLine="false"
|
||||
android:ellipsize="marquee"
|
||||
android:textDirection="locale"/>
|
||||
|
||||
@@ -41,7 +40,6 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/bluetooth_find_broadcast_header_top_margin"
|
||||
android:singleLine="false"
|
||||
android:ellipsize="marquee"
|
||||
android:textDirection="locale"/>
|
||||
|
||||
|
@@ -23,7 +23,6 @@
|
||||
android:layout_width="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:paddingStart="16dip"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_width="match_parent"
|
||||
|
@@ -23,7 +23,6 @@
|
||||
android:layout_width="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
@@ -25,7 +25,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<HorizontalScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<HorizontalScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:scrollbars="none"
|
||||
|
@@ -33,7 +33,6 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:singleLine="false"
|
||||
android:ellipsize="marquee"
|
||||
android:textDirection="locale"/>
|
||||
|
||||
@@ -44,7 +43,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="4dp"
|
||||
android:singleLine="false"
|
||||
android:ellipsize="marquee"
|
||||
android:textDirection="locale"/>
|
||||
|
||||
|
@@ -16,7 +16,6 @@
|
||||
-->
|
||||
<FrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:settings="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
@@ -29,7 +28,6 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginVertical="8dp"
|
||||
android:layout_marginHorizontal="16dp"
|
||||
settings:allowDividerBelow="true"/>
|
||||
android:layout_marginHorizontal="16dp"/>
|
||||
|
||||
</FrameLayout>
|
||||
|
@@ -24,7 +24,7 @@
|
||||
android:paddingStart="24dip"
|
||||
android:minHeight="?android:attr/listPreferredItemHeight"
|
||||
android:background="?android:attr/selectableItemBackground">
|
||||
<RadioButton xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<RadioButton
|
||||
android:id="@+id/button"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="fill_parent"
|
||||
|
@@ -28,7 +28,6 @@
|
||||
android:layout_width="match_parent"/>
|
||||
|
||||
<View
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/footer_divider"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/horizontal_divider_height"
|
||||
@@ -63,4 +62,4 @@
|
||||
android:layout_marginEnd="12dp"
|
||||
android:text="@string/done"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
@@ -136,7 +136,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginStart="30dp"
|
||||
android:singleLine="false"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
android:textSize="10sp"
|
||||
android:fontFamily="monospace"
|
||||
@@ -149,7 +148,6 @@
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginStart="30dp"
|
||||
android:layout_marginBottom="6dp"
|
||||
android:singleLine="false"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
android:textSize="10sp"
|
||||
android:fontFamily="monospace"
|
||||
|
@@ -38,7 +38,7 @@
|
||||
android:layout_marginEnd="8dip"
|
||||
android:contentDescription="@string/sync_active" />
|
||||
|
||||
<Switch xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<Switch
|
||||
android:id="@android:id/switch_widget"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
@@ -69,7 +69,6 @@
|
||||
<CheckBox style="@style/vpn_value"
|
||||
android:id="@+id/mppe"
|
||||
android:text="@string/vpn_mppe"
|
||||
android:singleLine="false"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<LinearLayout android:id="@+id/l2tp"
|
||||
@@ -147,7 +146,6 @@
|
||||
|
||||
<CheckBox style="@style/vpn_value"
|
||||
android:id="@+id/show_options"
|
||||
android:singleLine="false"
|
||||
android:text="@string/vpn_show_options"/>
|
||||
</LinearLayout>
|
||||
|
||||
@@ -243,7 +241,6 @@
|
||||
|
||||
<CheckBox style="@style/vpn_value"
|
||||
android:id="@+id/save_login"
|
||||
android:singleLine="false"
|
||||
android:text="@string/vpn_save_login"/>
|
||||
</LinearLayout>
|
||||
|
||||
@@ -254,11 +251,9 @@
|
||||
android:animateLayoutChanges="true">
|
||||
<CheckBox style="@style/vpn_value"
|
||||
android:id="@+id/always_on_vpn"
|
||||
android:singleLine="false"
|
||||
android:text="@string/vpn_menu_lockdown"/>
|
||||
<TextView style="@style/vpn_warning"
|
||||
android:id="@+id/always_on_invalid_reason"
|
||||
android:singleLine="false"
|
||||
android:visibility="gone"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
@@ -16,8 +16,7 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/zen_mode_settings_senders_overlay_view"
|
||||
<RelativeLayout android:id="@+id/zen_mode_settings_senders_overlay_view"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
Reference in New Issue
Block a user