checkboxes for NS-Client layouts

This commit is contained in:
AdrianLxM 2017-10-06 15:48:32 +02:00
parent 333b131c1e
commit 10d273dac8
2 changed files with 36 additions and 24 deletions

View file

@ -482,14 +482,15 @@
android:text="@string/predictionshortlabel" android:text="@string/predictionshortlabel"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@color/prediction" android:textColor="@color/prediction"
android:textStyle="bold" /> android:textStyle="bold"
android:paddingTop="4dp"/>
<CheckBox <CheckBox
android:id="@+id/overview_showprediction" android:id="@+id/overview_showprediction"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="-5dp" android:layout_marginBottom="-5dp"
android:layout_marginTop="-9dp" android:layout_marginTop="-5dp"
app:buttonTint="@color/prediction" /> app:buttonTint="@color/prediction" />
<TextView <TextView
@ -499,14 +500,15 @@
android:text="@string/basalshortlabel" android:text="@string/basalshortlabel"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@color/basal" android:textColor="@color/basal"
android:textStyle="bold" /> android:textStyle="bold"
android:paddingTop="4dp"/>
<CheckBox <CheckBox
android:id="@+id/overview_showbasals" android:id="@+id/overview_showbasals"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="-5dp" android:layout_marginBottom="-5dp"
android:layout_marginTop="-9dp" android:layout_marginTop="-5dp"
app:buttonTint="@color/basal" /> app:buttonTint="@color/basal" />
<TextView <TextView
@ -516,14 +518,15 @@
android:text="@string/iob" android:text="@string/iob"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@color/iob" android:textColor="@color/iob"
android:textStyle="bold" /> android:textStyle="bold"
android:paddingTop="4dp"/>
<CheckBox <CheckBox
android:id="@+id/overview_showiob" android:id="@+id/overview_showiob"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="-5dp" android:layout_marginBottom="-5dp"
android:layout_marginTop="-9dp" android:layout_marginTop="-5dp"
app:buttonTint="@color/iob" /> app:buttonTint="@color/iob" />
<TextView <TextView
@ -533,14 +536,15 @@
android:text="@string/cob" android:text="@string/cob"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@color/cob" android:textColor="@color/cob"
android:textStyle="bold" /> android:textStyle="bold"
android:paddingTop="4dp"/>
<CheckBox <CheckBox
android:id="@+id/overview_showcob" android:id="@+id/overview_showcob"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="-5dp" android:layout_marginBottom="-5dp"
android:layout_marginTop="-9dp" android:layout_marginTop="-5dp"
app:buttonTint="@color/cob" /> app:buttonTint="@color/cob" />
<TextView <TextView
@ -550,14 +554,15 @@
android:text="@string/dev" android:text="@string/dev"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@color/deviations" android:textColor="@color/deviations"
android:textStyle="bold" /> android:textStyle="bold"
android:paddingTop="4dp"/>
<CheckBox <CheckBox
android:id="@+id/overview_showdeviations" android:id="@+id/overview_showdeviations"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="-5dp" android:layout_marginBottom="-5dp"
android:layout_marginTop="-9dp" android:layout_marginTop="-5dp"
app:buttonTint="@color/deviations" /> app:buttonTint="@color/deviations" />
<TextView <TextView
@ -566,14 +571,15 @@
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:text="@string/ratio_short" android:text="@string/ratio_short"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
android:textStyle="bold" /> android:textStyle="bold"
android:paddingTop="4dp"/>
<CheckBox <CheckBox
android:id="@+id/overview_showratios" android:id="@+id/overview_showratios"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="-5dp" android:layout_marginBottom="-5dp"
android:layout_marginTop="-9dp" /> android:layout_marginTop="-5dp" />
</LinearLayout> </LinearLayout>

View file

@ -566,14 +566,15 @@
android:text="@string/predictionshortlabel" android:text="@string/predictionshortlabel"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@color/prediction" android:textColor="@color/prediction"
android:textStyle="bold" /> android:textStyle="bold"
android:paddingTop="4dp"/>
<CheckBox <CheckBox
android:id="@+id/overview_showprediction" android:id="@+id/overview_showprediction"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="-5dp" android:layout_marginBottom="-5dp"
android:layout_marginTop="-9dp" android:layout_marginTop="-5dp"
app:buttonTint="@color/prediction" /> app:buttonTint="@color/prediction" />
<TextView <TextView
@ -583,14 +584,15 @@
android:text="@string/basalshortlabel" android:text="@string/basalshortlabel"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@color/basal" android:textColor="@color/basal"
android:textStyle="bold" /> android:textStyle="bold"
android:paddingTop="4dp"/>
<CheckBox <CheckBox
android:id="@+id/overview_showbasals" android:id="@+id/overview_showbasals"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="-5dp" android:layout_marginBottom="-5dp"
android:layout_marginTop="-9dp" android:layout_marginTop="-5dp"
app:buttonTint="@color/basal" /> app:buttonTint="@color/basal" />
<TextView <TextView
@ -600,14 +602,15 @@
android:text="@string/iob" android:text="@string/iob"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@color/iob" android:textColor="@color/iob"
android:textStyle="bold" /> android:textStyle="bold"
android:paddingTop="4dp"/>
<CheckBox <CheckBox
android:id="@+id/overview_showiob" android:id="@+id/overview_showiob"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="-5dp" android:layout_marginBottom="-5dp"
android:layout_marginTop="-9dp" android:layout_marginTop="-5dp"
app:buttonTint="@color/iob" /> app:buttonTint="@color/iob" />
<TextView <TextView
@ -617,14 +620,15 @@
android:text="@string/cob" android:text="@string/cob"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@color/cob" android:textColor="@color/cob"
android:textStyle="bold" /> android:textStyle="bold"
android:paddingTop="4dp"/>
<CheckBox <CheckBox
android:id="@+id/overview_showcob" android:id="@+id/overview_showcob"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="-5dp" android:layout_marginBottom="-5dp"
android:layout_marginTop="-9dp" android:layout_marginTop="-5dp"
app:buttonTint="@color/cob" /> app:buttonTint="@color/cob" />
<TextView <TextView
@ -634,14 +638,15 @@
android:text="@string/dev" android:text="@string/dev"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@color/deviations" android:textColor="@color/deviations"
android:textStyle="bold" /> android:textStyle="bold"
android:paddingTop="4dp"/>
<CheckBox <CheckBox
android:id="@+id/overview_showdeviations" android:id="@+id/overview_showdeviations"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="-5dp" android:layout_marginBottom="-5dp"
android:layout_marginTop="-9dp" android:layout_marginTop="-5dp"
app:buttonTint="@color/deviations" /> app:buttonTint="@color/deviations" />
<TextView <TextView
@ -650,14 +655,15 @@
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
android:text="@string/ratio_short" android:text="@string/ratio_short"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
android:textStyle="bold" /> android:textStyle="bold"
android:paddingTop="4dp"/>
<CheckBox <CheckBox
android:id="@+id/overview_showratios" android:id="@+id/overview_showratios"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="-5dp" android:layout_marginBottom="-5dp"
android:layout_marginTop="-9dp" /> android:layout_marginTop="-5dp" />
</LinearLayout> </LinearLayout>