122 lines
4.8 KiB
XML
122 lines
4.8 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="info.nightscout.androidaps.plugins.Actions.ActionsFragment">
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<Button
|
|
android:id="@+id/actions_profileswitch"
|
|
style="?android:attr/buttonStyle"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="3dp"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_marginTop="3dp"
|
|
android:layout_weight="0.5"
|
|
android:text="@string/careportal_profileswitch"
|
|
android:textColor="@color/colorProfileSwitchButton" />
|
|
|
|
<Button
|
|
android:id="@+id/actions_temptarget"
|
|
style="?android:attr/buttonStyle"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="3dp"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_marginTop="3dp"
|
|
android:layout_weight="0.5"
|
|
android:text="@string/careportal_temporarytarget"
|
|
android:textColor="@color/colorCalculatorButton" />
|
|
|
|
<Button
|
|
android:id="@+id/actions_settempbasal"
|
|
style="?android:attr/buttonStyle"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="3dp"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_marginTop="3dp"
|
|
android:layout_weight="0.5"
|
|
android:text="@string/overview_tempbasal_button"
|
|
android:textColor="@color/colorSetTempButton" />
|
|
|
|
<Button
|
|
android:id="@+id/actions_extendedbolus"
|
|
style="?android:attr/buttonStyle"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="3dp"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_marginTop="3dp"
|
|
android:layout_weight="0.5"
|
|
android:text="@string/overview_extendedbolus_button"
|
|
android:textColor="@color/colorSetExtendedButton" />
|
|
|
|
<Button
|
|
android:id="@+id/actions_extendedbolus_cancel"
|
|
style="?android:attr/buttonStyle"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="3dp"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_marginTop="3dp"
|
|
android:layout_weight="0.5"
|
|
android:text="@string/overview_extendedbolus_cancel_button"
|
|
android:textColor="@color/colorSetExtendedButton" />
|
|
|
|
<Button
|
|
android:id="@+id/actions_fill"
|
|
style="?android:attr/buttonStyle"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="3dp"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_marginTop="3dp"
|
|
android:layout_weight="0.5"
|
|
android:text="@string/primefill"
|
|
android:textColor="@color/colorTreatmentButton" />
|
|
|
|
<Button
|
|
android:id="@+id/actions_400_15"
|
|
style="?android:attr/buttonStyle"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="3dp"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_marginTop="3dp"
|
|
android:layout_weight="0.5"
|
|
android:text="NEW Temp 400% 15min" />
|
|
|
|
<Button
|
|
android:id="@+id/actions_50_30"
|
|
style="?android:attr/buttonStyle"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="3dp"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_marginTop="3dp"
|
|
android:layout_weight="0.5"
|
|
android:text="NEW Temp 50% 30min" />
|
|
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
|
</FrameLayout>
|