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

222 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"
2017-08-29 21:40:06 +02:00
xmlns:app="http://schemas.android.com/apk/res-auto"
2016-06-13 22:53:41 +02:00
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-08-29 21:40:06 +02:00
<RelativeLayout
2017-08-29 17:59:46 +02:00
android:layout_width="match_parent"
2017-08-29 21:40:06 +02:00
android:layout_height="wrap_content">
<TextView
android:id="@+id/configbuilder_profilelabel"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:layout_weight="1"
android:background="@color/mdtp_circle_color"
android:paddingLeft="5dp"
android:text="@string/configbuilder_profile"
android:textAllCaps="true"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/black"
android:textStyle="bold" />
<ImageView
android:id="@+id/imageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="false"
android:layout_alignParentRight="true"
android:layout_weight="1"
android:paddingRight="10dp"
app:srcCompat="@drawable/visibility_black_16x16" />
</RelativeLayout>
2017-08-29 17:59:46 +02:00
<ListView
android:id="@+id/configbuilder_profilelistview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/cardColorBackground" />
<TextView
android:id="@+id/configbuilder_insulinlabel"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:background="@color/mdtp_circle_color"
android:paddingLeft="5dp"
2017-04-21 11:45:25 +02:00
android:text="@string/configbuilder_insulin"
2017-08-29 17:59:46 +02:00
android:textAllCaps="true"
2017-04-21 11:45:25 +02:00
android:textAppearance="?android:attr/textAppearanceSmall"
2017-08-29 17:59:46 +02:00
android:textColor="@android:color/black"
2017-04-21 11:45:25 +02:00
android:textStyle="bold" />
<ListView
android:id="@+id/configbuilder_insulinlistview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/cardColorBackground" />
2016-06-26 14:56:43 +02:00
<TextView
2017-06-04 00:46:44 +02:00
android:id="@+id/configbuilder_bgsourcelabel"
2017-08-29 17:59:46 +02:00
android:layout_width="match_parent"
2016-06-26 14:56:43 +02:00
android:layout_height="wrap_content"
2017-08-29 17:59:46 +02:00
android:layout_marginBottom="5dp"
android:background="@color/mdtp_circle_color"
android:paddingLeft="5dp"
2017-02-14 19:16:34 +01:00
android:text="@string/configbuilder_bgsource"
2017-08-29 17:59:46 +02:00
android:textAllCaps="true"
2016-07-11 17:49:09 +02:00
android:textAppearance="?android:attr/textAppearanceSmall"
2017-08-29 17:59:46 +02:00
android:textColor="@android:color/black"
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: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"
2017-08-29 17:59:46 +02:00
android:layout_width="match_parent"
2016-06-26 14:56:43 +02:00
android:layout_height="wrap_content"
2017-08-29 17:59:46 +02:00
android:layout_marginBottom="5dp"
android:background="@color/mdtp_circle_color"
android:paddingLeft="5dp"
2017-02-14 19:16:34 +01:00
android:text="@string/configbuilder_pump"
2017-08-29 17:59:46 +02:00
android:textAllCaps="true"
2016-07-11 17:49:09 +02:00
android:textAppearance="?android:attr/textAppearanceSmall"
2017-08-29 17:59:46 +02:00
android:textColor="@android:color/black"
2017-02-14 19:16:34 +01:00
android:textStyle="bold" />
2016-06-26 14:56:43 +02:00
2017-08-29 17:59:46 +02:00
<ListView
2017-02-14 19:16:34 +01:00
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:background="@color/cardColorBackground" />
2016-06-21 00:34:36 +02:00
2017-06-24 11:04:09 +02:00
<TextView
2017-08-29 17:59:46 +02:00
android:id="@+id/configbuilder_sensitivitylabel"
android:layout_width="match_parent"
2017-06-24 11:04:09 +02:00
android:layout_height="wrap_content"
2017-08-29 17:59:46 +02:00
android:layout_marginBottom="5dp"
android:background="@color/mdtp_circle_color"
android:paddingLeft="5dp"
2017-06-24 11:04:09 +02:00
android:text="@string/configbuilder_sensitivity"
2017-08-29 17:59:46 +02:00
android:textAllCaps="true"
2017-06-24 11:04:09 +02:00
android:textAppearance="?android:attr/textAppearanceSmall"
2017-08-29 17:59:46 +02:00
android:textColor="@android:color/black"
2017-06-24 11:04:09 +02:00
android:textStyle="bold" />
2017-08-29 17:59:46 +02:00
<ListView
2017-06-24 11:04:09 +02:00
android:id="@+id/configbuilder_sensitivitylistview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/cardColorBackground" />
2016-06-15 21:47:26 +02:00
2017-02-14 19:16:34 +01:00
<TextView
android:id="@+id/configbuilder_apslabel"
2017-08-29 17:59:46 +02:00
android:layout_width="match_parent"
2017-02-14 19:16:34 +01:00
android:layout_height="wrap_content"
2017-08-29 17:59:46 +02:00
android:layout_marginBottom="5dp"
android:background="@color/mdtp_circle_color"
android:paddingLeft="5dp"
2017-02-14 19:16:34 +01:00
android:text="@string/configbuilder_aps"
2017-08-29 17:59:46 +02:00
android:textAllCaps="true"
2017-02-14 19:16:34 +01:00
android:textAppearance="?android:attr/textAppearanceSmall"
2017-08-29 17:59:46 +02:00
android:textColor="@android:color/black"
2017-02-14 19:16:34 +01:00
android:textStyle="bold" />
2016-06-15 21:47:26 +02:00
2017-08-29 17:59:46 +02:00
<ListView
2017-02-14 19:16:34 +01:00
android:id="@+id/configbuilder_apslistview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
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"
2017-08-29 17:59:46 +02:00
android:layout_width="match_parent"
2017-02-14 19:16:34 +01:00
android:layout_height="wrap_content"
2017-08-29 17:59:46 +02:00
android:layout_marginBottom="5dp"
android:background="@color/mdtp_circle_color"
android:paddingLeft="5dp"
2017-02-14 19:16:34 +01:00
android:text="@string/configbuilder_loop"
2017-08-29 17:59:46 +02:00
android:textAllCaps="true"
2017-02-14 19:16:34 +01:00
android:textAppearance="?android:attr/textAppearanceSmall"
2017-08-29 17:59:46 +02:00
android:textColor="@android:color/black"
2017-02-14 19:16:34 +01:00
android:textStyle="bold" />
2016-06-15 21:47:26 +02:00
2017-08-29 17:59:46 +02:00
<ListView
2017-02-14 19:16:34 +01:00
android:id="@+id/configbuilder_looplistview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
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-08-29 17:59:46 +02:00
android:layout_width="match_parent"
2017-02-14 19:16:34 +01:00
android:layout_height="wrap_content"
2017-08-29 17:59:46 +02:00
android:layout_marginBottom="5dp"
android:background="@color/mdtp_circle_color"
android:paddingLeft="5dp"
2017-02-14 19:16:34 +01:00
android:text="@string/configbuilder_constraints"
2017-08-29 17:59:46 +02:00
android:textAllCaps="true"
2017-02-14 19:16:34 +01:00
android:textAppearance="?android:attr/textAppearanceSmall"
2017-08-29 17:59:46 +02:00
android:textColor="@android:color/black"
2017-02-14 19:16:34 +01:00
android:textStyle="bold" />
2016-06-19 13:17:16 +02:00
2017-08-29 17:59:46 +02:00
<ListView
2017-02-14 19:16:34 +01:00
android:id="@+id/configbuilder_constraintslistview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/cardColorBackground" />
2016-06-19 13:17:16 +02:00
2017-02-14 19:16:34 +01:00
<TextView
2017-08-29 17:59:46 +02:00
android:id="@+id/configbuilder_generallabel"
android:layout_width="match_parent"
2017-02-14 19:16:34 +01:00
android:layout_height="wrap_content"
2017-08-29 17:59:46 +02:00
android:layout_marginBottom="5dp"
android:background="@color/mdtp_circle_color"
android:paddingLeft="5dp"
2017-02-14 19:16:34 +01:00
android:text="@string/configbuilder_general"
2017-08-29 17:59:46 +02:00
android:textAllCaps="true"
2017-02-14 19:16:34 +01:00
android:textAppearance="?android:attr/textAppearanceSmall"
2017-08-29 17:59:46 +02:00
android:textColor="@android:color/black"
2017-02-14 19:16:34 +01:00
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:background="@color/cardColorBackground" />
2016-06-15 21:47:26 +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>