mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-06-29 00:10:26 +02:00
126 lines
4.7 KiB
XML
126 lines
4.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/list_item_parent_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<!--
|
|
android:background="?android:attr/activatedBackgroundIndicator"
|
|
-->
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="10dp"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:orientation="horizontal">
|
|
|
|
<com.github.mikephil.charting.charts.PieChart
|
|
android:id="@+id/activity_dashboard_piechart1"
|
|
android:layout_width="110dp"
|
|
android:layout_height="110dp"
|
|
android:layout_gravity="bottom|center"
|
|
android:layout_marginBottom="0dp"
|
|
android:layout_weight="1" />
|
|
|
|
<com.github.mikephil.charting.charts.PieChart
|
|
android:id="@+id/activity_dashboard_piechart2"
|
|
android:layout_width="110dp"
|
|
android:layout_height="110dp"
|
|
android:layout_gravity="bottom|center"
|
|
android:layout_marginBottom="0dp"
|
|
android:layout_weight="1" />
|
|
|
|
<com.github.mikephil.charting.charts.PieChart
|
|
android:id="@+id/activity_dashboard_piechart3"
|
|
android:layout_width="110dp"
|
|
android:layout_height="110dp"
|
|
android:layout_gravity="bottom|center"
|
|
android:layout_marginBottom="0dp"
|
|
android:layout_weight="1" />
|
|
<!--
|
|
<com.github.mikephil.charting.charts.PieChart
|
|
android:id="@+id/activity_dashboard_piechart4"
|
|
android:layout_width="90dp"
|
|
android:layout_height="90dp"
|
|
android:layout_gravity="bottom|center"
|
|
android:layout_marginBottom="0dp" />
|
|
-->
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center"
|
|
android:layout_marginBottom="0dp"
|
|
android:gravity="center"
|
|
android:orientation="horizontal">
|
|
|
|
<View
|
|
android:layout_width="25dp"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="0.5" />
|
|
|
|
<include
|
|
layout="@layout/layout_widget_heartrate_average"
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:layout_gravity="bottom|center"
|
|
android:layout_weight="1" />
|
|
|
|
<include
|
|
layout="@layout/layout_widget_intensity_total"
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
android:layout_gravity="bottom|center"
|
|
android:layout_marginTop="0dp"
|
|
android:layout_marginEnd="0dp"
|
|
android:layout_weight="1" />
|
|
|
|
<View
|
|
android:layout_width="25dp"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="0.5" />
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="0dp"
|
|
android:layout_marginBottom="10dp"
|
|
android:baselineAligned="false"
|
|
android:gravity="bottom|center"
|
|
android:orientation="horizontal">
|
|
|
|
<include layout="@layout/layout_widget_active_steps" />
|
|
|
|
<include layout="@layout/layout_widget_distance" />
|
|
|
|
<include layout="@layout/layout_widget_duration" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginBottom="5dp"
|
|
android:baselineAligned="false"
|
|
android:gravity="center"
|
|
android:orientation="horizontal">
|
|
|
|
<include layout="@layout/layout_widget_total_steps" />
|
|
|
|
<include layout="@layout/layout_widget_activities_count" />
|
|
|
|
<include layout="@layout/layout_widget_intensity_total2" />
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout> |