2017-02-17 13:18:36 +01:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
2018-03-23 22:44:37 +01:00
|
|
|
tools:context="info.nightscout.androidaps.plugins.NSClientInternal.NSClientFragment">
|
2017-02-17 13:18:36 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-02-17 18:14:33 +01:00
|
|
|
android:layout_marginBottom="5dp"
|
2017-02-17 13:18:36 +01:00
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:layout_marginRight="5dp"
|
2017-02-17 18:14:33 +01:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:gravity="center_horizontal">
|
2017-02-17 13:18:36 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-02-17 18:14:33 +01:00
|
|
|
android:text="@string/nsclientinternal_url" />
|
2017-02-17 13:18:36 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/nsclientinternal_url"
|
2017-02-17 18:14:33 +01:00
|
|
|
android:layout_width="wrap_content"
|
2017-02-17 13:18:36 +01:00
|
|
|
android:layout_height="wrap_content"
|
2017-02-17 18:14:33 +01:00
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:autoLink="web" />
|
2017-02-17 13:18:36 +01:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2017-02-17 18:14:33 +01:00
|
|
|
android:layout_marginBottom="5dp"
|
2017-02-17 13:18:36 +01:00
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:layout_marginRight="5dp"
|
2017-02-17 18:14:33 +01:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:gravity="center_horizontal">
|
2017-02-17 13:18:36 +01:00
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/nsclientinternal_paused"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/paused" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/nsclientinternal_autoscroll"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="20dp"
|
|
|
|
android:layout_marginRight="10dp"
|
|
|
|
android:text="@string/nsclientinternal_autoscroll" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
android:text="@string/status" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/nsclientinternal_status"
|
|
|
|
android:layout_width="wrap_content"
|
2017-02-17 18:14:33 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textStyle="normal|bold" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/nsclientinternal_queue"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginRight="5dp"
|
|
|
|
android:text="@string/queue"
|
|
|
|
android:textAlignment="viewEnd" />
|
|
|
|
|
2017-02-17 13:18:36 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="5dp"
|
|
|
|
android:layout_marginRight="5dp"
|
2017-02-17 18:14:33 +01:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:layout_marginTop="10dp">
|
2017-02-17 13:18:36 +01:00
|
|
|
|
2017-02-17 16:41:28 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/nsclientinternal_clearlog"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/clearlog"
|
|
|
|
android:textAlignment="center"
|
2017-02-17 18:14:33 +01:00
|
|
|
android:textColor="@android:color/holo_orange_light"
|
|
|
|
android:textStyle="normal|bold" />
|
2017-02-17 16:41:28 +01:00
|
|
|
|
2017-02-17 13:18:36 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/nsclientinternal_restart"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/restart"
|
|
|
|
android:textAlignment="center"
|
2017-02-17 18:14:33 +01:00
|
|
|
android:textColor="@android:color/holo_orange_light"
|
|
|
|
android:textStyle="normal|bold" />
|
2017-02-17 13:18:36 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/nsclientinternal_delivernow"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/deliver_now"
|
|
|
|
android:textAlignment="center"
|
2017-02-17 18:14:33 +01:00
|
|
|
android:textColor="@android:color/holo_orange_light"
|
|
|
|
android:textStyle="normal|bold" />
|
2017-02-17 13:18:36 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/nsclientinternal_clearqueue"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/clear_queue"
|
|
|
|
android:textAlignment="center"
|
2017-02-17 18:14:33 +01:00
|
|
|
android:textColor="@android:color/holo_orange_light"
|
|
|
|
android:textStyle="normal|bold" />
|
2017-02-17 13:18:36 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/nsclientinternal_showqueue"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/show_queue"
|
|
|
|
android:textAlignment="center"
|
2017-02-17 18:14:33 +01:00
|
|
|
android:textColor="@android:color/holo_orange_light"
|
|
|
|
android:textStyle="normal|bold" />
|
2017-02-17 13:18:36 +01:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
android:id="@+id/nsclientinternal_logscrollview"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_marginLeft="5dp"
|
2017-02-17 18:14:33 +01:00
|
|
|
android:layout_marginRight="5dp">
|
2017-02-17 13:18:36 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/nsclientinternal_log"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="" />
|
|
|
|
</ScrollView>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</FrameLayout>
|