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

205 lines
7.5 KiB
XML
Raw Normal View History

2017-05-25 20:18:29 +02:00
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
2019-02-28 23:16:50 +01:00
tools:context=".plugins.general.careportal.CareportalFragment">
2017-05-25 20:18:29 +02:00
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
2017-07-21 22:24:06 +02:00
android:layout_width="fill_parent"
android:layout_height="fill_parent"
2017-05-25 20:18:29 +02:00
android:layout_weight="1"
2017-07-21 22:24:06 +02:00
android:gravity="center_vertical"
2020-06-19 13:59:39 +02:00
android:drawableLeft="@drawable/ic_cp_age_sensor"
2017-05-25 20:18:29 +02:00
android:paddingRight="5dp"
2017-07-21 22:24:06 +02:00
android:paddingStart="15dp"
2017-05-25 20:18:29 +02:00
android:text="@string/careportal_sensorage_label"
android:textSize="14sp" />
<TextView
android:layout_width="5dp"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center_horizontal"
android:paddingEnd="2dp"
android:paddingStart="2dp"
android:text=":"
android:textSize="14sp" />
<TextView
android:id="@+id/careportal_sensorage"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="start"
android:paddingLeft="5dp"
android:textColor="@android:color/white"
android:textSize="14sp" />
</LinearLayout>
<View
android:layout_width="fill_parent"
android:layout_height="2dip"
android:layout_marginBottom="5dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_marginTop="5dp"
android:background="@color/listdelimiter" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
2017-07-21 22:24:06 +02:00
android:layout_width="fill_parent"
android:layout_height="fill_parent"
2017-05-25 20:18:29 +02:00
android:layout_weight="1"
2017-07-21 22:24:06 +02:00
android:gravity="center_vertical"
2020-06-19 13:59:39 +02:00
android:drawableLeft="@drawable/ic_cp_age_insulin"
2017-05-25 20:18:29 +02:00
android:paddingRight="5dp"
2017-07-21 22:24:06 +02:00
android:paddingStart="15dp"
2017-05-25 20:18:29 +02:00
android:text="@string/careportal_insulinage_label"
android:textSize="14sp" />
<TextView
android:layout_width="5dp"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center_horizontal"
android:paddingEnd="2dp"
android:paddingStart="2dp"
android:text=":"
android:textSize="14sp" />
<TextView
android:id="@+id/careportal_insulinage"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="start"
android:paddingLeft="5dp"
android:textColor="@android:color/white"
android:textSize="14sp" />
</LinearLayout>
<View
android:layout_width="fill_parent"
android:layout_height="2dip"
android:layout_marginBottom="5dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_marginTop="5dp"
android:background="@color/listdelimiter" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
2017-07-21 22:24:06 +02:00
android:layout_width="fill_parent"
android:layout_height="fill_parent"
2017-05-25 20:18:29 +02:00
android:layout_weight="1"
2017-07-21 22:24:06 +02:00
android:gravity="center_vertical"
2020-06-19 13:59:39 +02:00
android:drawableLeft="@drawable/ic_cp_age_canula"
2017-05-25 20:18:29 +02:00
android:paddingRight="5dp"
2017-07-21 22:24:06 +02:00
android:paddingStart="15dp"
2017-05-25 20:18:29 +02:00
android:text="@string/careportal_canulaage_label"
android:textSize="14sp" />
<TextView
android:layout_width="5dp"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center_horizontal"
android:paddingEnd="2dp"
android:paddingStart="2dp"
android:text=":"
android:textSize="14sp" />
<TextView
android:id="@+id/careportal_canulaage"
2017-07-21 22:24:06 +02:00
android:layout_width="fill_parent"
android:layout_height="fill_parent"
2017-05-25 20:18:29 +02:00
android:layout_weight="1"
android:gravity="start"
android:paddingLeft="5dp"
android:textColor="@android:color/white"
android:textSize="14sp" />
</LinearLayout>
<View
android:layout_width="fill_parent"
android:layout_height="2dip"
android:layout_marginBottom="5dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_marginTop="5dp"
android:background="@color/listdelimiter" />
2017-06-03 22:43:35 +02:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
2017-07-21 22:24:06 +02:00
android:layout_width="fill_parent"
android:layout_height="fill_parent"
2017-06-03 22:43:35 +02:00
android:layout_weight="1"
2017-07-21 22:24:06 +02:00
android:gravity="center_vertical"
2020-06-19 13:59:39 +02:00
android:drawableLeft="@drawable/ic_cp_age_battery"
2017-06-03 22:43:35 +02:00
android:paddingRight="5dp"
2017-07-21 22:24:06 +02:00
android:paddingStart="15dp"
2017-06-03 22:43:35 +02:00
android:text="@string/careportal_pbage_label"
android:textSize="14sp" />
<TextView
android:layout_width="5dp"
android:layout_height="wrap_content"
android:layout_weight="0"
android:gravity="center_horizontal"
android:paddingEnd="2dp"
android:paddingStart="2dp"
android:text=":"
android:textSize="14sp" />
<TextView
android:id="@+id/careportal_pbage"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="start"
android:paddingLeft="5dp"
android:textColor="@android:color/white"
android:textSize="14sp" />
</LinearLayout>
<View
android:layout_width="fill_parent"
android:layout_height="2dip"
android:layout_marginBottom="5dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_marginTop="5dp"
android:background="@color/listdelimiter" />
2017-05-25 20:18:29 +02:00
</LinearLayout>
</FrameLayout>