2024-09-19 20:21:50 +02:00
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
2023-07-02 17:05:10 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2024-09-19 20:21:50 +02:00
|
|
|
android:layout_height="wrap_content"
|
2023-07-02 17:05:10 +02:00
|
|
|
android:orientation="vertical"
|
|
|
|
tools:context="nodomain.freeyourgadget.gadgetbridge.activities.charts.ActivityChartsActivity$PlaceholderFragment"
|
|
|
|
tools:ignore="UselessParent">
|
|
|
|
|
2024-09-19 20:21:50 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/pai_date_view"
|
2023-07-02 17:05:10 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2024-09-19 20:21:50 +02:00
|
|
|
android:layout_marginTop="15dp"
|
2024-09-28 00:26:45 +02:00
|
|
|
android:layout_marginBottom="10dp"
|
2024-09-19 20:21:50 +02:00
|
|
|
android:gravity="center"
|
|
|
|
android:textSize="20sp" />
|
|
|
|
|
|
|
|
<com.github.mikephil.charting.charts.PieChart
|
|
|
|
android:id="@+id/pai_chart_today"
|
|
|
|
android:layout_width="200dp"
|
|
|
|
android:layout_height="200dp"
|
|
|
|
android:layout_gravity="bottom|center"
|
|
|
|
android:layout_marginBottom="0dp"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
2024-09-28 00:26:45 +02:00
|
|
|
<GridLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@color/gauge_line_color"
|
|
|
|
android:columnCount="2">
|
2024-09-19 20:21:50 +02:00
|
|
|
|
2024-09-28 00:26:45 +02:00
|
|
|
<LinearLayout
|
|
|
|
style="@style/GridTile"
|
|
|
|
android:layout_marginBottom="0dp">
|
2023-07-02 17:05:10 +02:00
|
|
|
|
2024-09-28 00:26:45 +02:00
|
|
|
<View
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="5dp"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:background="@color/chart_activity_dark" />
|
2023-07-02 17:05:10 +02:00
|
|
|
|
2024-09-28 00:26:45 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/pai_line_today"
|
|
|
|
android:layout_width="wrap_content"
|
2023-07-02 17:05:10 +02:00
|
|
|
android:layout_height="wrap_content"
|
2024-09-28 00:26:45 +02:00
|
|
|
android:text="@string/stats_empty_value"
|
|
|
|
android:textSize="20sp" />
|
2024-09-19 20:21:50 +02:00
|
|
|
|
2024-09-28 00:26:45 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/activity_summary_today"
|
|
|
|
android:textSize="12sp" />
|
|
|
|
</LinearLayout>
|
2023-07-02 17:05:10 +02:00
|
|
|
|
2024-09-28 00:26:45 +02:00
|
|
|
<LinearLayout
|
|
|
|
style="@style/GridTile"
|
|
|
|
android:layout_marginBottom="0dp">
|
2023-07-02 17:05:10 +02:00
|
|
|
|
2024-09-28 00:26:45 +02:00
|
|
|
<View
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="5dp"
|
|
|
|
android:layout_marginBottom="10dp"
|
|
|
|
android:background="@color/chart_deep_sleep_light" />
|
2023-07-02 17:05:10 +02:00
|
|
|
|
2024-09-28 00:26:45 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/pai_line_total"
|
|
|
|
android:layout_width="wrap_content"
|
2023-07-02 17:05:10 +02:00
|
|
|
android:layout_height="wrap_content"
|
2024-09-28 00:26:45 +02:00
|
|
|
android:text="@string/stats_empty_value"
|
|
|
|
android:textSize="20sp" />
|
2024-09-19 20:21:50 +02:00
|
|
|
|
2024-09-28 00:26:45 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/step_streak_total"
|
|
|
|
android:textSize="12sp" />
|
|
|
|
</LinearLayout>
|
2023-07-02 17:05:10 +02:00
|
|
|
|
2024-09-28 00:26:45 +02:00
|
|
|
</GridLayout>
|
2024-09-19 20:21:50 +02:00
|
|
|
|
2024-09-28 00:26:45 +02:00
|
|
|
<GridLayout
|
2024-09-19 20:21:50 +02:00
|
|
|
android:layout_width="match_parent"
|
2024-09-28 00:26:45 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginBottom="15dp"
|
|
|
|
android:background="@color/gauge_line_color"
|
|
|
|
android:columnCount="3"
|
|
|
|
android:rowCount="1">
|
2023-07-02 17:05:10 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
2024-09-28 00:26:45 +02:00
|
|
|
style="@style/GridTile"
|
|
|
|
android:layout_marginTop="2dp"
|
|
|
|
android:layout_marginEnd="1dp">
|
2024-09-19 20:21:50 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
2023-07-02 17:05:10 +02:00
|
|
|
android:layout_height="wrap_content"
|
2024-09-19 20:21:50 +02:00
|
|
|
android:text="@string/sony_speak_to_chat_sensitivity_low"
|
2024-09-28 00:26:45 +02:00
|
|
|
android:textSize="12sp" />
|
2024-09-19 20:21:50 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/pai_line_low_inc"
|
|
|
|
android:layout_width="wrap_content"
|
2023-07-02 17:05:10 +02:00
|
|
|
android:layout_height="wrap_content"
|
2024-09-19 20:21:50 +02:00
|
|
|
android:fontFamily="sans-serif-black"
|
2024-09-28 00:26:45 +02:00
|
|
|
android:text="@string/stats_empty_value"
|
|
|
|
android:textSize="20sp" />
|
2024-09-19 20:21:50 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/pai_line_low_time"
|
|
|
|
android:layout_width="wrap_content"
|
2023-07-02 17:05:10 +02:00
|
|
|
android:layout_height="wrap_content"
|
2024-09-28 00:26:45 +02:00
|
|
|
android:text="@string/stats_empty_value"
|
|
|
|
android:textSize="12sp" />
|
2024-09-19 20:21:50 +02:00
|
|
|
</LinearLayout>
|
2023-07-02 17:05:10 +02:00
|
|
|
|
2024-09-19 20:21:50 +02:00
|
|
|
<LinearLayout
|
2024-09-28 00:26:45 +02:00
|
|
|
style="@style/GridTile"
|
2024-09-19 20:21:50 +02:00
|
|
|
android:layout_marginStart="1dp"
|
2024-09-28 00:26:45 +02:00
|
|
|
android:layout_marginTop="2dp"
|
|
|
|
android:layout_marginEnd="1dp">
|
2024-09-19 20:21:50 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/stress_moderate"
|
2024-09-28 00:26:45 +02:00
|
|
|
android:textSize="12sp" />
|
2024-09-19 20:21:50 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/pai_line_moderate_inc"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:fontFamily="sans-serif-black"
|
2024-09-28 00:26:45 +02:00
|
|
|
android:text="@string/stats_empty_value"
|
|
|
|
android:textSize="20sp" />
|
2024-09-19 20:21:50 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/pai_line_moderate_time"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2024-09-28 00:26:45 +02:00
|
|
|
android:text="@string/stats_empty_value"
|
|
|
|
android:textSize="12sp" />
|
2024-09-19 20:21:50 +02:00
|
|
|
</LinearLayout>
|
2023-07-02 17:05:10 +02:00
|
|
|
|
2024-09-19 20:21:50 +02:00
|
|
|
<LinearLayout
|
2024-09-28 00:26:45 +02:00
|
|
|
android:id="@+id/sleep_chart_legend_movement_intensity_wrapper"
|
|
|
|
style="@style/GridTile"
|
2024-09-19 20:21:50 +02:00
|
|
|
android:layout_marginStart="1dp"
|
2024-09-28 00:26:45 +02:00
|
|
|
android:layout_marginTop="2dp"
|
|
|
|
android:layout_marginBottom="2dp">
|
2024-09-19 20:21:50 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/stress_high"
|
2024-09-28 00:26:45 +02:00
|
|
|
android:textSize="12sp" />
|
2024-09-19 20:21:50 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/pai_line_high_inc"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:fontFamily="sans-serif-black"
|
2024-09-28 00:26:45 +02:00
|
|
|
android:text="@string/stats_empty_value"
|
|
|
|
android:textSize="20sp" />
|
2024-09-19 20:21:50 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/pai_line_high_time"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2024-09-28 00:26:45 +02:00
|
|
|
android:text="@string/stats_empty_value"
|
|
|
|
android:textSize="12sp" />
|
2023-07-02 17:05:10 +02:00
|
|
|
</LinearLayout>
|
2024-09-28 00:26:45 +02:00
|
|
|
</GridLayout>
|
2023-07-02 17:05:10 +02:00
|
|
|
|
|
|
|
<com.github.mikephil.charting.charts.BarChart
|
|
|
|
android:id="@+id/pai_chart_week"
|
|
|
|
android:layout_width="fill_parent"
|
2024-09-19 20:21:50 +02:00
|
|
|
android:layout_height="300dp"
|
|
|
|
android:layout_marginBottom="25dp"
|
|
|
|
android:layout_weight="2" />
|
2023-07-02 17:05:10 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2024-09-19 20:21:50 +02:00
|
|
|
</ScrollView>
|