diff options
author | cyBerta <cyberta@riseup.net> | 2020-01-12 21:35:39 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2020-01-12 21:35:39 +0100 |
commit | 701622624762faa407c610bfbac9523e840c9d6d (patch) | |
tree | 539355ce031f3aa924248e7b6844fca930cf8939 /app/src/main/res/layout-xlarge | |
parent | 13ae6cb8a8c577479159848947c0c957e5638ea6 (diff) |
fix UI bug in navigation drawer: restict entries max lines
Diffstat (limited to 'app/src/main/res/layout-xlarge')
-rw-r--r-- | app/src/main/res/layout-xlarge/v_icon_text_list_item.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/layout-xlarge/v_switch_list_item.xml | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/app/src/main/res/layout-xlarge/v_icon_text_list_item.xml b/app/src/main/res/layout-xlarge/v_icon_text_list_item.xml index 798b47e3..7d679ae3 100644 --- a/app/src/main/res/layout-xlarge/v_icon_text_list_item.xml +++ b/app/src/main/res/layout-xlarge/v_icon_text_list_item.xml @@ -21,6 +21,8 @@ android:layout_height="wrap_content" android:textAppearance="?android:attr/textAppearanceListItem" android:gravity="center_vertical" + android:maxLines="1" + android:ellipsize="end" android:paddingStart="?android:attr/listPreferredItemPaddingStart" android:paddingLeft="?android:attr/listPreferredItemPaddingLeft" android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" @@ -39,6 +41,8 @@ android:gravity="center_vertical" android:layout_alignParentBottom="true" android:textAppearance="?android:attr/textAppearanceSmall" + android:maxLines="1" + android:ellipsize="end" android:paddingStart="?android:attr/listPreferredItemPaddingStart" android:paddingLeft="?android:attr/listPreferredItemPaddingLeft" android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" diff --git a/app/src/main/res/layout-xlarge/v_switch_list_item.xml b/app/src/main/res/layout-xlarge/v_switch_list_item.xml index 3d81af11..c393a0f8 100644 --- a/app/src/main/res/layout-xlarge/v_switch_list_item.xml +++ b/app/src/main/res/layout-xlarge/v_switch_list_item.xml @@ -21,6 +21,8 @@ android:layout_height="match_parent" android:textAppearance="?android:attr/textAppearanceListItem" android:gravity="center_vertical" + android:maxLines="1" + android:ellipsize="end" android:paddingStart="?android:attr/listPreferredItemPaddingStart" android:paddingLeft="?android:attr/listPreferredItemPaddingLeft" android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" @@ -37,6 +39,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center_vertical" + android:maxLines="1" + android:ellipsize="end" android:layout_alignParentBottom="true" android:textAppearance="?android:attr/textAppearanceSmall" android:paddingStart="?android:attr/listPreferredItemPaddingStart" |