Little more compact Low Res layout
This commit is contained in:
parent
85c2c9bb50
commit
405a5526ab
|
@ -262,9 +262,9 @@ class ActionsFragment : DaggerFragment() {
|
|||
if (activeBgSource.sensorBatteryLevel == -1)
|
||||
careportal_senslevellabel?.text = ""
|
||||
else
|
||||
careportal_senslevellabel?.text = if (shortlabel) "|" else resourceHelper.gs(R.string.careportal_level_label)
|
||||
careportal_inslevellabel?.text = if (shortlabel) "|" else resourceHelper.gs(R.string.careportal_level_label)
|
||||
careportal_pblevellabel?.text = if (shortlabel) "|" else resourceHelper.gs(R.string.careportal_level_label)
|
||||
careportal_senslevellabel?.text = if (shortlabel) "" else resourceHelper.gs(R.string.careportal_level_label)
|
||||
careportal_inslevellabel?.text = if (shortlabel) "" else resourceHelper.gs(R.string.careportal_level_label)
|
||||
careportal_pblevellabel?.text = if (shortlabel) "" else resourceHelper.gs(R.string.careportal_level_label)
|
||||
} else {
|
||||
statusLightHandler.updateStatusLights(careportal_canulaage, careportal_insulinage, null, careportal_sensorage, null, careportal_pbage, null)
|
||||
careportal_senslevellabel?.text = ""
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingStart="2dp"
|
||||
android:paddingRight="2dp"
|
||||
android:paddingStart="0dp"
|
||||
android:paddingRight="0dp"
|
||||
android:text="@string/careportal_age_label"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
@ -39,6 +39,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingRight="2dp"
|
||||
android:paddingLeft="2dp"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="14sp" />
|
||||
|
@ -49,8 +50,8 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingStart="5dp"
|
||||
android:paddingRight="2dp"
|
||||
android:paddingStart="0dp"
|
||||
android:paddingRight="0dp"
|
||||
android:text="@string/careportal_level_label"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
@ -60,7 +61,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginRight="20dp"
|
||||
android:paddingLeft="0dp"
|
||||
android:paddingLeft="2dp"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
@ -102,8 +103,8 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingStart="2dp"
|
||||
android:paddingRight="2dp"
|
||||
android:paddingStart="0dp"
|
||||
android:paddingRight="0dp"
|
||||
android:text="@string/careportal_age_label"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
@ -112,6 +113,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingRight="2dp"
|
||||
android:paddingLeft="2dp"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="14sp" />
|
||||
|
@ -122,8 +124,8 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingStart="5dp"
|
||||
android:paddingRight="2dp"
|
||||
android:paddingStart="0dp"
|
||||
android:paddingRight="0dp"
|
||||
android:text="@string/careportal_level_label"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
@ -133,7 +135,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginRight="20dp"
|
||||
android:paddingLeft="0dp"
|
||||
android:paddingLeft="2dp"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
@ -174,8 +176,8 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingStart="2dp"
|
||||
android:paddingRight="2dp"
|
||||
android:paddingStart="0dp"
|
||||
android:paddingRight="0dp"
|
||||
android:text="@string/careportal_age_label"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
@ -184,6 +186,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingRight="2dp"
|
||||
android:paddingLeft="2dp"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="14sp" />
|
||||
|
@ -192,8 +195,8 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingStart="5dp"
|
||||
android:paddingRight="2dp"
|
||||
android:paddingStart="0dp"
|
||||
android:paddingRight="0dp"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
|
@ -202,7 +205,7 @@
|
|||
android:gravity="center_vertical"
|
||||
android:layout_marginRight="20dp"
|
||||
android:text=""
|
||||
android:paddingLeft="0dp"
|
||||
android:paddingLeft="2dp"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
@ -245,8 +248,8 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingStart="2dp"
|
||||
android:paddingRight="2dp"
|
||||
android:paddingStart="0dp"
|
||||
android:paddingRight="0dp"
|
||||
android:text="@string/careportal_age_label"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
@ -255,6 +258,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingRight="2dp"
|
||||
android:paddingLeft="2dp"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="14sp" />
|
||||
|
@ -264,8 +268,8 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingStart="5dp"
|
||||
android:paddingRight="2dp"
|
||||
android:paddingStart="0dp"
|
||||
android:paddingRight="0dp"
|
||||
android:text="@string/careportal_level_label"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
@ -275,7 +279,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginRight="20dp"
|
||||
android:paddingLeft="0dp"
|
||||
android:paddingLeft="2dp"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="14sp" />
|
||||
|
||||
|
|
Loading…
Reference in a new issue