|
|
@ -66,17 +66,18 @@ public abstract class BaseActivity extends AppCompatActivity { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
int style; |
|
|
|
int style; |
|
|
|
switch(preferences.getString("statusTextSize", "small")) { |
|
|
|
switch(preferences.getString("statusTextSize", "medium")) { |
|
|
|
case "large": |
|
|
|
case "large": |
|
|
|
style = R.style.TextSizeLarge; |
|
|
|
style = R.style.TextSizeLarge; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case "medium": |
|
|
|
|
|
|
|
style = R.style.TextSizeMedium; |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case "small": |
|
|
|
case "small": |
|
|
|
default: |
|
|
|
|
|
|
|
style = R.style.TextSizeSmall; |
|
|
|
style = R.style.TextSizeSmall; |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
case "medium": |
|
|
|
|
|
|
|
default: |
|
|
|
|
|
|
|
style = R.style.TextSizeMedium; |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
getTheme().applyStyle(style, false); |
|
|
|
getTheme().applyStyle(style, false); |
|
|
|
|
|
|
|
|
|
|
|