Fix end padding of summary text for dialog is too narrow
The end padding of summary text is too narrow, so "dialogPreferredPadding" attribute should be used as the end padding of the whole list item. Change-Id: I348c1a0ac8da011b4971b4f38c7f5ee3e295146f
This commit is contained in:
committed by
Yoshinori Hirano
parent
5c15ff923d
commit
e5d4a5db28
@@ -19,6 +19,7 @@
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingEnd="?android:attr/dialogPreferredPadding"
|
||||
android:orientation="vertical"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:minHeight="?android:attr/listPreferredItemHeightSmall">
|
||||
@@ -31,7 +32,6 @@
|
||||
android:textColor="?android:attr/textColorAlertDialogListItem"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingStart="20dp"
|
||||
android:paddingEnd="?android:attr/dialogPreferredPadding"
|
||||
android:drawableStart="?android:attr/listChoiceIndicatorSingle"
|
||||
android:ellipsize="marquee" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user