summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2015-05-04 13:40:26 -0700
committerRoman Birg <roman@cyngn.com>2015-05-04 13:57:49 -0700
commit370f1cdf35c753d8f8a21954d8de5cc234fc6c5a (patch)
treeef8d59b7b069d634f8ad7aa22b4775045126c504 /res
parente4dcff82a0d42a75d66c3feb2397573739fe1ee8 (diff)
downloadandroid_packages_apps_AudioFX-370f1cdf35c753d8f8a21954d8de5cc234fc6c5a.tar.gz
android_packages_apps_AudioFX-370f1cdf35c753d8f8a21954d8de5cc234fc6c5a.tar.bz2
android_packages_apps_AudioFX-370f1cdf35c753d8f8a21954d8de5cc234fc6c5a.zip
AudioFX: remove custom preset char limit
We don't always display 24 chars on the screen, and this can change based on the device theme. Just ellipsize the end if it's too long. Change-Id: I272c9eaad20170c40e32615bbad147683711dce3 Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'res')
-rw-r--r--res/layout/preset_adapter_row.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/res/layout/preset_adapter_row.xml b/res/layout/preset_adapter_row.xml
index 3c3a3b6..7a795ec 100644
--- a/res/layout/preset_adapter_row.xml
+++ b/res/layout/preset_adapter_row.xml
@@ -11,6 +11,7 @@
android:gravity="center"
android:textColor="@color/white"
android:textAllCaps="true"
+ android:ellipsize="end"
android:maxLines="1"
android:layout_width="match_parent"
- android:layout_height="match_parent"/> \ No newline at end of file
+ android:layout_height="match_parent"/>