瀏覽代碼

OC-3381: (Fix bug) In preferences, the 'instant upload via WIFI' field is multiline but only use two lines instead of three

masensio 11 年之前
父節點
當前提交
d10c10532f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/com/owncloud/android/ui/CheckBoxPreferenceWithLongTitle.java

+ 1 - 0
src/com/owncloud/android/ui/CheckBoxPreferenceWithLongTitle.java

@@ -42,5 +42,6 @@ public class CheckBoxPreferenceWithLongTitle extends CheckBoxPreference{
         TextView titleView = (TextView) view.findViewById(android.R.id.title);
         titleView.setSingleLine(false);
         titleView.setMaxLines(3);
+        titleView.setEllipsize(null);
     }
 }