increase time text size skin tablet landscape
This commit is contained in:
parent
b032b969f0
commit
65c89cd0af
2 changed files with 4 additions and 2 deletions
|
@ -48,8 +48,10 @@ interface SkinInterface {
|
||||||
|
|
||||||
if (isTablet) {
|
if (isTablet) {
|
||||||
binding.infoLayout.apply {
|
binding.infoLayout.apply {
|
||||||
val texts = listOf(bg, time, timeAgoShort, iob, cob, baseBasal, extendedBolus, sensitivity)
|
val texts = listOf(bg, iob, cob, baseBasal, extendedBolus, sensitivity)
|
||||||
for (v in texts) v.setTextSize(COMPLEX_UNIT_PX, v.textSize * 1.5f)
|
for (v in texts) v.setTextSize(COMPLEX_UNIT_PX, v.textSize * 1.5f)
|
||||||
|
val textsTime = listOf(time, timeAgoShort)
|
||||||
|
for (v in textsTime) v.setTextSize(COMPLEX_UNIT_PX, v.textSize * 2.25f)
|
||||||
}
|
}
|
||||||
binding.apply {
|
binding.apply {
|
||||||
val texts = listOf(pump, openaps, uploader)
|
val texts = listOf(pump, openaps, uploader)
|
||||||
|
|
|
@ -240,7 +240,7 @@
|
||||||
android:layout_marginTop="-10dp"
|
android:layout_marginTop="-10dp"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:text="(-5)"
|
android:text="(-5)"
|
||||||
android:textSize="20sp"
|
android:textSize="19sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
tools:ignore="HardcodedText" />
|
tools:ignore="HardcodedText" />
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue