mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-14 02:51:16 +01:00
d0fbc57cf1
First comes the pie chart (details) now, the the bar chart (overview) Maybe we should do this differently in the sleep and week-steps fragments, but for a start, and having it consistently, this is how it is.
28 lines
1.1 KiB
XML
28 lines
1.1 KiB
XML
<LinearLayout 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"
|
|
tools:context="nodomain.freeyourgadget.gadgetbridge.activities.charts.ChartsActivity$PlaceholderFragment"
|
|
android:orientation="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="20">
|
|
</com.github.mikephil.charting.charts.PieChart>
|
|
|
|
<nodomain.freeyourgadget.gadgetbridge.activities.charts.CustomBarChart
|
|
android:id="@+id/sleepchart"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="20" />
|
|
|
|
<!--<TextView-->
|
|
<!--android:text="Test"-->
|
|
<!--android:layout_width="fill_parent"-->
|
|
<!--android:layout_height="fill_parent"-->
|
|
<!--android:layout_weight="20" />-->
|
|
|
|
</LinearLayout>
|