2020-10-31 23:44:06 +01:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-08-16 16:59:56 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
2015-08-25 23:04:04 +02:00
|
|
|
android:layout_height="match_parent"
|
2020-10-31 23:44:06 +01:00
|
|
|
android:orientation="vertical"
|
|
|
|
tools:context="nodomain.freeyourgadget.gadgetbridge.activities.charts.ChartsActivity$PlaceholderFragment">
|
2015-08-25 23:04:04 +02:00
|
|
|
|
|
|
|
|
2018-08-16 16:59:56 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-10-31 23:44:06 +01:00
|
|
|
android:orientation="vertical">
|
2018-08-16 16:59:56 +02:00
|
|
|
|
2020-10-31 23:44:06 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/sleepchart_info"
|
2018-08-16 16:59:56 +02:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
2020-10-31 23:44:06 +01:00
|
|
|
android:layout_weight="90" />
|
2018-08-16 16:59:56 +02:00
|
|
|
|
2020-10-31 23:44:06 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="10"
|
|
|
|
android:orientation="horizontal">
|
2015-08-25 23:14:52 +02:00
|
|
|
|
2020-10-31 23:44:06 +01:00
|
|
|
<com.github.mikephil.charting.charts.PieChart
|
|
|
|
android:id="@+id/sleepchart_pie_light_deep"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_weight="40" />
|
2015-08-25 23:14:52 +02:00
|
|
|
|
2020-10-31 23:44:06 +01:00
|
|
|
<com.github.mikephil.charting.charts.LineChart
|
|
|
|
android:id="@+id/sleepchart"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_weight="20" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<!--<TextView-->
|
2015-08-25 23:04:04 +02:00
|
|
|
<!--android:text="Test"-->
|
|
|
|
<!--android:layout_width="fill_parent"-->
|
|
|
|
<!--android:layout_height="fill_parent"-->
|
|
|
|
<!--android:layout_weight="20" />-->
|
|
|
|
|
2020-10-31 23:44:06 +01:00
|
|
|
</LinearLayout>
|
2020-11-06 14:28:51 +01:00
|
|
|
<include
|
2021-02-25 20:11:19 +01:00
|
|
|
layout="@layout/layout_widget_heartrate_average"
|
2020-11-06 14:28:51 +01:00
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_gravity="top|end"
|
|
|
|
android:layout_marginTop="25dp"
|
|
|
|
android:layout_marginStart="170dp" />
|
|
|
|
|
|
|
|
<include
|
2021-02-25 20:11:19 +01:00
|
|
|
layout="@layout/layout_widget_intensity_total"
|
2020-11-06 14:28:51 +01:00
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_gravity="top|end"
|
|
|
|
android:layout_marginTop="75dp"
|
|
|
|
android:layout_marginStart="171dp" />
|
|
|
|
|
2020-10-31 23:44:06 +01:00
|
|
|
</RelativeLayout>
|