some more code formatting
This commit is contained in:
parent
c0058f5580
commit
391a8770d8
@ -19,13 +19,13 @@ public class IITC_PluginPreference extends CheckBoxPreference {
|
||||
}
|
||||
|
||||
protected void makeMultiline(View view) {
|
||||
if ( view instanceof ViewGroup) {
|
||||
ViewGroup grp=(ViewGroup)view;
|
||||
for ( int index = 0; index < grp.getChildCount(); index++) {
|
||||
if (view instanceof ViewGroup) {
|
||||
ViewGroup grp = (ViewGroup) view;
|
||||
for (int index = 0; index < grp.getChildCount(); index++) {
|
||||
makeMultiline(grp.getChildAt(index));
|
||||
}
|
||||
} else if (view instanceof TextView) {
|
||||
TextView t = (TextView)view;
|
||||
TextView t = (TextView) view;
|
||||
t.setSingleLine(false);
|
||||
t.setEllipsize(null);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user