From 60ded0e12e4dbe389e069e0958cf1d593e321864 Mon Sep 17 00:00:00 2001 From: daniel oeh Date: Mon, 9 Jun 2014 11:07:56 +0200 Subject: [PATCH] Crop by character in navdrawer. fixes #457 --- res/layout/nav_feedlistitem.xml | 1 + res/layout/nav_listitem.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/res/layout/nav_feedlistitem.xml b/res/layout/nav_feedlistitem.xml index e01087077..d94c9ada1 100644 --- a/res/layout/nav_feedlistitem.xml +++ b/res/layout/nav_feedlistitem.xml @@ -24,6 +24,7 @@ android:id="@+id/txtvTitle" android:lines="1" android:ellipsize="end" + android:singleLine="true" android:layout_centerVertical="true" android:textColor="?android:attr/textColorPrimary" android:textSize="@dimen/text_size_navdrawer" diff --git a/res/layout/nav_listitem.xml b/res/layout/nav_listitem.xml index 3691026a1..9d70e7d7c 100644 --- a/res/layout/nav_listitem.xml +++ b/res/layout/nav_listitem.xml @@ -24,6 +24,7 @@ android:id="@+id/txtvTitle" android:lines="1" android:ellipsize="end" + android:singleLine="true" android:layout_centerVertical="true" android:textColor="?android:attr/textColorPrimary" android:textSize="@dimen/text_size_navdrawer"