AndroidAPS/app/src/main/res/layout/configbuilder_fragment.xml

223 lines
10 KiB
XML
Raw Normal View History

2016-06-13 22:53:41 +02:00
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="info.nightscout.androidaps.plugins.ConfigBuilder.ConfigBuilderFragment">
2016-06-15 21:47:26 +02:00
<ScrollView
2016-06-13 22:53:41 +02:00
android:layout_width="match_parent"
2016-06-15 21:47:26 +02:00
android:layout_height="match_parent">
<LinearLayout
2016-06-13 22:53:41 +02:00
android:layout_width="match_parent"
2016-06-15 21:47:26 +02:00
android:layout_height="match_parent"
android:orientation="vertical">
2017-02-14 19:16:34 +01:00
<Button
android:id="@+id/configbuilder_unlock"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/unlock_settings" />
2016-06-26 14:56:43 +02:00
<LinearLayout
2017-02-14 19:16:34 +01:00
android:id="@+id/configbuilder_mainlayout"
2016-06-26 14:56:43 +02:00
android:layout_width="match_parent"
2017-02-14 19:16:34 +01:00
android:layout_height="match_parent"
android:orientation="vertical">
2016-06-26 14:56:43 +02:00
2017-04-21 11:45:25 +02:00
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="@string/configbuilder_insulin"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textStyle="bold" />
<ListView
android:id="@+id/configbuilder_insulinlistview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:background="@color/cardColorBackground" />
2016-06-26 14:56:43 +02:00
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2017-02-14 19:16:34 +01:00
android:layout_marginLeft="5dp"
android:text="@string/configbuilder_bgsource"
2016-07-11 17:49:09 +02:00
android:textAppearance="?android:attr/textAppearanceSmall"
2017-02-14 19:16:34 +01:00
android:textStyle="bold" />
2016-06-26 14:56:43 +02:00
2017-02-14 19:16:34 +01:00
<ListView
android:id="@+id/configbuilder_bgsourcelistview"
android:layout_width="match_parent"
2016-06-26 14:56:43 +02:00
android:layout_height="wrap_content"
2017-02-14 19:16:34 +01:00
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:background="@color/cardColorBackground" />
2016-06-26 14:56:43 +02:00
<TextView
2017-02-23 23:32:26 +01:00
android:id="@+id/configbuilder_pumplabel"
2016-06-26 14:56:43 +02:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2017-02-14 19:16:34 +01:00
android:layout_marginLeft="5dp"
android:text="@string/configbuilder_pump"
2016-07-11 17:49:09 +02:00
android:textAppearance="?android:attr/textAppearanceSmall"
2017-02-14 19:16:34 +01:00
android:textStyle="bold" />
2016-06-26 14:56:43 +02:00
2017-02-14 19:16:34 +01:00
<ListView
android:id="@+id/configbuilder_pumplistview"
android:layout_width="match_parent"
2016-06-26 14:56:43 +02:00
android:layout_height="wrap_content"
2017-02-14 19:16:34 +01:00
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:background="@color/cardColorBackground" />
2016-06-21 00:34:36 +02:00
2016-06-15 21:47:26 +02:00
2017-02-14 19:16:34 +01:00
<TextView
android:id="@+id/configbuilder_apslabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="@string/configbuilder_aps"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textStyle="bold" />
2016-06-15 21:47:26 +02:00
2017-02-14 19:16:34 +01:00
<ListView
android:id="@+id/configbuilder_apslistview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:background="@color/cardColorBackground" />
2016-06-19 13:17:16 +02:00
2016-06-15 21:47:26 +02:00
2017-02-14 19:16:34 +01:00
<TextView
android:id="@+id/configbuilder_looplabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="@string/configbuilder_loop"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textStyle="bold" />
2016-06-15 21:47:26 +02:00
2017-02-14 19:16:34 +01:00
<ListView
android:id="@+id/configbuilder_looplistview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:background="@color/cardColorBackground" />
2016-06-19 13:17:16 +02:00
2017-02-14 19:16:34 +01:00
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="@string/configbuilder_profile"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textStyle="bold" />
2016-06-15 21:47:26 +02:00
2017-02-14 19:16:34 +01:00
<ListView
android:id="@+id/configbuilder_profilelistview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:background="@color/cardColorBackground" />
2016-06-15 21:47:26 +02:00
2017-02-14 19:16:34 +01:00
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="@string/configbuilder_treatments"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textStyle="bold" />
2016-06-15 21:47:26 +02:00
2017-02-14 19:16:34 +01:00
<ListView
android:id="@+id/configbuilder_treatmentslistview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:background="@color/cardColorBackground" />
2016-06-15 21:47:26 +02:00
2017-02-14 19:16:34 +01:00
<TextView
2017-02-23 23:32:26 +01:00
android:id="@+id/configbuilder_constraintslabel"
2017-02-14 19:16:34 +01:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="@string/configbuilder_constraints"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textStyle="bold" />
2016-06-19 13:17:16 +02:00
2017-02-14 19:16:34 +01:00
<ListView
android:id="@+id/configbuilder_constraintslistview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:background="@color/cardColorBackground" />
2016-06-19 13:17:16 +02:00
2017-02-14 19:16:34 +01:00
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="@string/configbuilder_general"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textStyle="bold" />
2016-06-15 21:47:26 +02:00
2017-02-14 19:16:34 +01:00
<ListView
android:id="@+id/configbuilder_generallistview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:background="@color/cardColorBackground" />
2016-06-15 21:47:26 +02:00
2017-02-14 19:16:34 +01:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/configbuilder_nsclientversion_label"
android:textAppearance="?android:attr/textAppearanceSmall" />
<TextView
android:id="@+id/configbuilder_nsclientversion"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:textAppearance="?android:attr/textAppearanceMedium" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/configbuilder_nightscoutversion_label"
android:textAppearance="?android:attr/textAppearanceSmall" />
<TextView
android:id="@+id/configbuilder_nightscoutversion"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:textAppearance="?android:attr/textAppearanceMedium" />
</LinearLayout>
2016-06-13 22:53:41 +02:00
2017-02-14 19:16:34 +01:00
</LinearLayout>
2016-06-15 21:47:26 +02:00
</LinearLayout>
</ScrollView>
2016-06-13 22:53:41 +02:00
</FrameLayout>