diff options
author | Jorge Ruesga <jorge@ruesga.com> | 2014-03-20 01:09:03 +0100 |
---|---|---|
committer | Jorge Ruesga <jorge@ruesga.com> | 2014-03-20 01:09:03 +0100 |
commit | b6d3b71bf15e3778f8c76dab2c78be1a89683624 (patch) | |
tree | 3d14a51bec57f25d68530045ae3e80fc2829a6cd | |
parent | 73b515c20c081b981cabacea3580b38146e7d476 (diff) | |
download | android_packages_apps_CMFileManager-b6d3b71bf15e3778f8c76dab2c78be1a89683624.tar.gz android_packages_apps_CMFileManager-b6d3b71bf15e3778f8c76dab2c78be1a89683624.tar.bz2 android_packages_apps_CMFileManager-b6d3b71bf15e3778f8c76dab2c78be1a89683624.zip |
CMFM: Use ellipsize middle
Change-Id: Ic4a2317c0823ea5db006169c8f0f1a496407f6e1
JIRA: CYAN-1925
Issue: https://jira.cyanogenmod.org/browse/CYAN-1925
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
-rw-r--r-- | res/layout/history_item.xml | 2 | ||||
-rw-r--r-- | res/layout/navigation_view_details_item.xml | 1 | ||||
-rw-r--r-- | res/layout/navigation_view_icons_item.xml | 2 | ||||
-rw-r--r-- | res/layout/navigation_view_simple_item.xml | 1 |
4 files changed, 5 insertions, 1 deletions
diff --git a/res/layout/history_item.xml b/res/layout/history_item.xml index ad987140..ef02927b 100644 --- a/res/layout/history_item.xml +++ b/res/layout/history_item.xml @@ -43,6 +43,7 @@ android:id="@+id/history_item_name" android:layout_width="match_parent" android:layout_height="wrap_content" + android:ellipsize="end" android:singleLine="true" android:textAppearance="@style/primary_text_appearance" /> @@ -51,6 +52,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:singleLine="true" + android:ellipsize="middle" android:textAppearance="@style/secondary_text_appearance" /> </LinearLayout> diff --git a/res/layout/navigation_view_details_item.xml b/res/layout/navigation_view_details_item.xml index 2da781e1..7ea9e20a 100644 --- a/res/layout/navigation_view_details_item.xml +++ b/res/layout/navigation_view_details_item.xml @@ -51,6 +51,7 @@ android:layout_alignParentTop="true" android:layout_marginLeft="@dimen/default_margin" android:layout_marginTop="@dimen/default_margin" + android:ellipsize="middle" android:singleLine="true" android:textAppearance="@style/primary_text_appearance" /> diff --git a/res/layout/navigation_view_icons_item.xml b/res/layout/navigation_view_icons_item.xml index 19dcc7af..6aab20d9 100644 --- a/res/layout/navigation_view_icons_item.xml +++ b/res/layout/navigation_view_icons_item.xml @@ -44,7 +44,7 @@ android:layout_height="match_parent" android:layout_below="@id/navigation_view_item_icon" android:layout_toRightOf="@id/navigation_view_item_check" - android:ellipsize="end" + android:ellipsize="middle" android:gravity="center|center_vertical" android:maxLines="@integer/default_grid_item_text_max_lines" android:textAppearance="@style/secondary_text_appearance" diff --git a/res/layout/navigation_view_simple_item.xml b/res/layout/navigation_view_simple_item.xml index e25039ad..03dbb0b1 100644 --- a/res/layout/navigation_view_simple_item.xml +++ b/res/layout/navigation_view_simple_item.xml @@ -46,6 +46,7 @@ android:layout_marginRight="@dimen/extra_margin" android:gravity="left|center_vertical" android:singleLine="true" + android:ellipsize="middle" android:textAppearance="@style/primary_text_appearance" /> </LinearLayout> |