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

128 lines
5.2 KiB
XML
Raw Normal View History

2016-06-05 01:40:35 +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=".plugins.NSProfileViewer.NSProfileViewerFragment">
2016-06-05 01:40:35 +02:00
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/profileview_noprofile"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/nsprofileview_noprofile_text"
2016-06-05 01:40:35 +02:00
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="@android:color/holo_red_light"
android:textStyle="bold"
android:gravity="center_horizontal" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/nsprofileview_activeprofile_label"
2016-06-05 01:40:35 +02:00
android:textAppearance="?android:attr/textAppearanceLarge"
android:layout_marginLeft="10dp" />
<TextView
android:id="@+id/profileview_activeprofile"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="25dp" />
2016-06-09 09:21:33 +02:00
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/nsprofileview_units_label"
2016-06-09 09:21:33 +02:00
android:textAppearance="?android:attr/textAppearanceLarge"
android:layout_marginLeft="10dp" />
<TextView
android:id="@+id/profileview_units"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="25dp" />
2016-06-05 01:40:35 +02:00
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/nsprofileview_dia_label"
2016-06-05 01:40:35 +02:00
android:textAppearance="?android:attr/textAppearanceLarge"
android:layout_marginLeft="10dp" />
<TextView
android:id="@+id/profileview_dia"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="25dp" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/nsprofileview_ic_label"
2016-06-05 01:40:35 +02:00
android:textAppearance="?android:attr/textAppearanceLarge"
android:layout_marginLeft="10dp" />
<TextView
android:id="@+id/profileview_ic"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="25dp" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/nsprofileview_isf_label"
2016-06-05 01:40:35 +02:00
android:textAppearance="?android:attr/textAppearanceLarge"
android:layout_marginLeft="10dp" />
<TextView
android:id="@+id/profileview_isf"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="25dp" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/nsprofileview_basal_label"
2016-06-05 01:40:35 +02:00
android:textAppearance="?android:attr/textAppearanceLarge"
android:layout_marginLeft="10dp" />
<TextView
android:id="@+id/profileview_basal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="25dp" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/nsprofileview_target_label"
2016-06-05 01:40:35 +02:00
android:textAppearance="?android:attr/textAppearanceLarge"
android:layout_marginLeft="10dp" />
<TextView
android:id="@+id/profileview_target"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp" />
2016-07-11 14:04:57 +02:00
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/reloadprofile"
android:id="@+id/profileview_reload"
android:layout_gravity="center_horizontal"
android:visibility="gone" />
2016-06-05 01:40:35 +02:00
</LinearLayout>
</ScrollView>
</FrameLayout>