Make preference title align after icon
- Running service should use app preference layout. - RestrictedDropdownPreference should use preference layout. - Tweek Storage item icon padding - Wifi calling should use Prefernce - In Open by default page, if there is no vierfied link, we should hide the checkbox. Bug: 186069482 Test: manual Change-Id: Icc186ad79fc2bcf7ecd9c1ebba747bdad2d9b9ad
This commit is contained in:
@@ -26,6 +26,6 @@
|
||||
android:visibility="invisible"
|
||||
android:layout_marginStart="@dimen/preference_no_icon_padding_start"/>
|
||||
|
||||
<include layout="@layout/preference_material" />
|
||||
<include layout="@layout/settingslib_preference" />
|
||||
|
||||
</FrameLayout>
|
||||
@@ -31,5 +31,5 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_toStartOf="@id/widget_summary"
|
||||
layout="@layout/preference_material"/>
|
||||
layout="@layout/preference_app"/>
|
||||
</RelativeLayout>
|
||||
@@ -35,22 +35,7 @@
|
||||
android:clipToPadding="false"
|
||||
android:paddingStart="?android:attr/listPreferredItemPaddingStart">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/icon_frame"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="start|center_vertical"
|
||||
android:minWidth="56dp"
|
||||
android:orientation="horizontal"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingBottom="4dp">
|
||||
<com.android.internal.widget.PreferenceImageView
|
||||
android:id="@android:id/icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxWidth="24dp"
|
||||
android:maxHeight="24dp"/>
|
||||
</LinearLayout>
|
||||
<include layout="@layout/settingslib_icon_frame"/>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
|
||||
Reference in New Issue
Block a user