2020-10-31 23:44:06 +01:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-04-03 21:09:35 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
2015-07-14 00:29:32 +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-07-14 00:29:32 +02:00
|
|
|
|
2020-10-31 23:44:06 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
2015-07-14 00:29:32 +02:00
|
|
|
|
2020-10-31 23:44:06 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/sleepchart_info"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0" />
|
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="2" />
|
|
|
|
|
|
|
|
<com.github.mikephil.charting.charts.LineChart
|
|
|
|
android:id="@+id/sleepchart"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_weight="2" />
|
|
|
|
|
|
|
|
</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_alignParentRight="true"
|
|
|
|
android:layout_gravity="top|end" />
|
|
|
|
|
|
|
|
<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_alignParentRight="true"
|
|
|
|
android:layout_marginTop="50dp"
|
|
|
|
android:layout_marginEnd="-1dp"
|
|
|
|
android:layout_gravity="top|end" />
|
2020-10-31 23:44:06 +01:00
|
|
|
</RelativeLayout>
|