119 lines
4.6 KiB
XML
119 lines
4.6 KiB
XML
|
<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.LocalProfile.LocalProfileFragment">
|
||
|
|
||
|
<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:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/units"
|
||
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||
|
android:background="@color/linearBlockBackground" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<RadioButton
|
||
|
android:id="@+id/localprofile_mgdl"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/mgdl" />
|
||
|
|
||
|
<RadioButton
|
||
|
android:id="@+id/localprofile_mmol"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/mmol" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/dia"
|
||
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||
|
android:background="@color/linearBlockBackground" />
|
||
|
|
||
|
<EditText
|
||
|
android:id="@+id/localprofile_dia"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:inputType="numberDecimal"
|
||
|
android:textAlignment="center"
|
||
|
android:layout_gravity="center_horizontal"
|
||
|
android:layout_width="70dp" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:orientation="vertical"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:id="@+id/localprofile_ic"></LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:orientation="vertical"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:id="@+id/localprofile_isf"></LinearLayout>
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/absorption_rate"
|
||
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||
|
android:background="@color/linearBlockBackground" />
|
||
|
|
||
|
<EditText
|
||
|
android:id="@+id/localprofile_car"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:inputType="numberDecimal"
|
||
|
android:textAlignment="center"
|
||
|
android:layout_gravity="center_horizontal"
|
||
|
android:layout_width="70dp" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:orientation="vertical"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:id="@+id/localprofile_basal"></LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:orientation="vertical"
|
||
|
android:id="@+id/localprofile_target">
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/localprofile_profileswitch"
|
||
|
style="?android:attr/buttonStyle"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_gravity="center_horizontal"
|
||
|
android:layout_marginBottom="3dp"
|
||
|
android:layout_marginLeft="10dp"
|
||
|
android:layout_marginRight="10dp"
|
||
|
android:layout_marginTop="3dp"
|
||
|
android:layout_weight="1"
|
||
|
android:paddingLeft="10dp"
|
||
|
android:paddingRight="10dp"
|
||
|
android:text="@string/send_to_pump"
|
||
|
android:textColor="@color/colorProfileSwitchButton" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
</ScrollView>
|
||
|
|
||
|
|
||
|
</FrameLayout>
|