mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-02 15:02:56 +01:00
55 lines
2.0 KiB
XML
55 lines
2.0 KiB
XML
<RelativeLayout 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"
|
|
android:orientation="vertical"
|
|
tools:context="nodomain.freeyourgadget.gadgetbridge.activities.charts.ChartsActivity$PlaceholderFragment">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/sleepchart_info"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0"
|
|
android:maxLines="3"
|
|
android:scrollbarAlwaysDrawVerticalTrack="true"
|
|
android:scrollbarFadeDuration="0"
|
|
android:scrollbars="vertical" />
|
|
|
|
<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>
|
|
|
|
<include
|
|
layout="@layout/layout_widget_heartrate_average"
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_gravity="top|end" />
|
|
|
|
<include
|
|
layout="@layout/layout_widget_intensity_total"
|
|
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" />
|
|
</RelativeLayout>
|