Update of layout for low res screen to avoid line feed in level values

This commit is contained in:
Philoul 2020-10-17 23:07:40 +02:00
parent b5c77522ab
commit 84c2e7e86e
2 changed files with 30 additions and 30 deletions

View file

@ -24,7 +24,7 @@
android:layout_weight="1" android:layout_weight="1"
android:gravity="center_vertical" android:gravity="center_vertical"
android:drawableLeft="@drawable/ic_cp_age_sensor" android:drawableLeft="@drawable/ic_cp_age_sensor"
android:paddingRight="5dp" android:paddingRight="2dp"
android:paddingStart="15dp" android:paddingStart="15dp"
android:text="@string/careportal_sensor_label" android:text="@string/careportal_sensor_label"
android:textSize="14sp" /> android:textSize="14sp" />
@ -45,7 +45,7 @@
android:drawableLeft="@drawable/ic_cp_age_insulin" android:drawableLeft="@drawable/ic_cp_age_insulin"
android:gravity="center_vertical" android:gravity="center_vertical"
android:paddingStart="15dp" android:paddingStart="15dp"
android:paddingRight="5dp" android:paddingRight="2dp"
android:text="@string/careportal_insulin_label" android:text="@string/careportal_insulin_label"
android:textSize="14sp" /> android:textSize="14sp" />
@ -66,7 +66,7 @@
android:drawableLeft="@drawable/ic_cp_age_canula" android:drawableLeft="@drawable/ic_cp_age_canula"
android:gravity="center_vertical" android:gravity="center_vertical"
android:paddingStart="15dp" android:paddingStart="15dp"
android:paddingRight="5dp" android:paddingRight="2dp"
android:text="@string/careportal_canula_label" android:text="@string/careportal_canula_label"
android:textSize="14sp" /> android:textSize="14sp" />
@ -85,7 +85,7 @@
android:layout_height="25dp" android:layout_height="25dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:drawableLeft="@drawable/ic_cp_age_battery" android:drawableLeft="@drawable/ic_cp_age_battery"
android:paddingRight="5dp" android:paddingRight="2dp"
android:paddingStart="15dp" android:paddingStart="15dp"
android:text="@string/careportal_pb_label" android:text="@string/careportal_pb_label"
android:textSize="14sp" /> android:textSize="14sp" />
@ -113,8 +113,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:gravity="center_vertical"
android:layout_weight="1" android:layout_weight="1"
android:paddingStart="5dp" android:paddingStart="2dp"
android:paddingRight="5dp" android:paddingRight="2dp"
android:text="@string/careportal_age_label" android:text="@string/careportal_age_label"
android:textSize="14sp" /> android:textSize="14sp" />
@ -132,8 +132,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:gravity="center_vertical" android:gravity="center_vertical"
android:paddingStart="5dp" android:paddingStart="2dp"
android:paddingRight="5dp" android:paddingRight="2dp"
android:text="@string/careportal_age_label" android:text="@string/careportal_age_label"
android:textSize="14sp" /> android:textSize="14sp" />
@ -152,8 +152,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:gravity="center_vertical" android:gravity="center_vertical"
android:paddingStart="5dp" android:paddingStart="2dp"
android:paddingRight="5dp" android:paddingRight="2dp"
android:text="@string/careportal_age_label" android:text="@string/careportal_age_label"
android:textSize="14sp" /> android:textSize="14sp" />
@ -172,8 +172,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:gravity="center_vertical" android:gravity="center_vertical"
android:paddingStart="5dp" android:paddingStart="2dp"
android:paddingRight="5dp" android:paddingRight="2dp"
android:text="@string/careportal_age_label" android:text="@string/careportal_age_label"
android:textSize="14sp" /> android:textSize="14sp" />
@ -200,7 +200,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:gravity="center_vertical" android:gravity="center_vertical"
android:paddingLeft="5dp" android:paddingLeft="2dp"
android:textColor="@android:color/white" android:textColor="@android:color/white"
android:textSize="14sp" /> android:textSize="14sp" />
@ -219,7 +219,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:gravity="center_vertical" android:gravity="center_vertical"
android:paddingLeft="5dp" android:paddingLeft="2dp"
android:textColor="@android:color/white" android:textColor="@android:color/white"
android:textSize="14sp" /> android:textSize="14sp" />
@ -238,7 +238,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:gravity="center_vertical" android:gravity="center_vertical"
android:paddingLeft="5dp" android:paddingLeft="2dp"
android:textColor="@android:color/white" android:textColor="@android:color/white"
android:textSize="14sp" /> android:textSize="14sp" />
@ -257,7 +257,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:gravity="center_vertical" android:gravity="center_vertical"
android:paddingLeft="5dp" android:paddingLeft="2dp"
android:textColor="@android:color/white" android:textColor="@android:color/white"
android:textSize="14sp" /> android:textSize="14sp" />
@ -284,8 +284,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:gravity="center_vertical" android:gravity="center_vertical"
android:paddingStart="15dp" android:paddingStart="5dp"
android:paddingRight="5dp" android:paddingRight="2dp"
android:text="@string/careportal_level_label" android:text="@string/careportal_level_label"
android:textSize="14sp" /> android:textSize="14sp" />
@ -304,8 +304,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:gravity="center_vertical" android:gravity="center_vertical"
android:paddingStart="15dp" android:paddingStart="5dp"
android:paddingRight="5dp" android:paddingRight="2dp"
android:text="@string/careportal_level_label" android:text="@string/careportal_level_label"
android:textSize="14sp" /> android:textSize="14sp" />
@ -324,8 +324,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:gravity="center_vertical" android:gravity="center_vertical"
android:paddingStart="15dp" android:paddingStart="5dp"
android:paddingRight="5dp" android:paddingRight="2dp"
android:textSize="14sp" /> android:textSize="14sp" />
@ -345,8 +345,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:gravity="center_vertical" android:gravity="center_vertical"
android:paddingStart="15dp" android:paddingStart="5dp"
android:paddingRight="5dp" android:paddingRight="2dp"
android:text="@string/careportal_level_label" android:text="@string/careportal_level_label"
android:textSize="14sp" /> android:textSize="14sp" />
@ -373,7 +373,7 @@
android:layout_weight="1" android:layout_weight="1"
android:gravity="center_vertical" android:gravity="center_vertical"
android:layout_marginRight="20dp" android:layout_marginRight="20dp"
android:paddingLeft="5dp" android:paddingLeft="0dp"
android:textColor="@android:color/white" android:textColor="@android:color/white"
android:textSize="14sp" /> android:textSize="14sp" />
@ -393,7 +393,7 @@
android:layout_weight="1" android:layout_weight="1"
android:gravity="center_vertical" android:gravity="center_vertical"
android:layout_marginRight="20dp" android:layout_marginRight="20dp"
android:paddingLeft="5dp" android:paddingLeft="0dp"
android:textColor="@android:color/white" android:textColor="@android:color/white"
android:textSize="14sp" /> android:textSize="14sp" />
@ -412,7 +412,7 @@
android:layout_weight="1" android:layout_weight="1"
android:gravity="center_vertical" android:gravity="center_vertical"
android:layout_marginRight="20dp" android:layout_marginRight="20dp"
android:paddingLeft="5dp" android:paddingLeft="0dp"
android:textColor="@android:color/white" android:textColor="@android:color/white"
android:textSize="14sp" /> android:textSize="14sp" />
@ -432,7 +432,7 @@
android:layout_weight="1" android:layout_weight="1"
android:gravity="center_vertical" android:gravity="center_vertical"
android:layout_marginRight="20dp" android:layout_marginRight="20dp"
android:paddingLeft="5dp" android:paddingLeft="0dp"
android:textColor="@android:color/white" android:textColor="@android:color/white"
android:textSize="14sp" /> android:textSize="14sp" />

View file

@ -573,8 +573,8 @@
<string name="careportal_canula_label">Canula</string> <string name="careportal_canula_label">Canula</string>
<string name="careportal_insulin_label">Insulin</string> <string name="careportal_insulin_label">Insulin</string>
<string name="careportal_pb_label">Pump battery</string> <string name="careportal_pb_label">Pump battery</string>
<string name="careportal_age_label">Age:</string> <string name="careportal_age_label">age:</string>
<string name="careportal_level_label">Level:</string> <string name="careportal_level_label">level:</string>
<string name="ns_alarmoptions">Alarm options</string> <string name="ns_alarmoptions">Alarm options</string>
<string name="key_ns_announcements" translatable="false">ns_announcements</string> <string name="key_ns_announcements" translatable="false">ns_announcements</string>
<string name="key_ns_alarms" translatable="false">ns_alarms</string> <string name="key_ns_alarms" translatable="false">ns_alarms</string>