2022-07-23 23:37:48 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
2022-08-02 22:48:41 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2022-07-31 16:59:53 +02:00
|
|
|
android:id="@+id/streaks_dashboard"
|
2022-07-23 23:37:48 +02:00
|
|
|
android:layout_width="match_parent"
|
2022-08-02 22:48:41 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:minWidth="1000dp">
|
2022-07-23 23:37:48 +02:00
|
|
|
|
2022-08-02 22:48:41 +02:00
|
|
|
<RelativeLayout
|
2022-07-23 23:37:48 +02:00
|
|
|
android:layout_width="match_parent"
|
2023-09-11 11:17:04 +02:00
|
|
|
android:layout_height="wrap_content">
|
2022-07-23 23:37:48 +02:00
|
|
|
|
2022-08-02 22:48:41 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/streaks_dashboard_inner"
|
2022-07-23 23:37:48 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-02 22:48:41 +02:00
|
|
|
android:orientation="vertical">
|
2022-07-23 23:37:48 +02:00
|
|
|
|
2022-08-02 22:48:41 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
2023-09-11 11:17:04 +02:00
|
|
|
android:layout_height="0dp"
|
2022-08-02 22:48:41 +02:00
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginStart="1dp"
|
|
|
|
android:layout_marginEnd="1dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center"
|
|
|
|
android:maxLines="2"
|
|
|
|
android:scrollHorizontally="false"
|
|
|
|
android:text="@string/steps_streaks"
|
|
|
|
android:textAllCaps="true"
|
|
|
|
android:textSize="24sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:tooltipText="@string/steps_streaks_hint" />
|
2022-07-23 23:37:48 +02:00
|
|
|
|
2022-08-02 22:48:41 +02:00
|
|
|
<include
|
|
|
|
layout="@layout/steps_streak_current_line_layout"
|
|
|
|
android:visibility="gone" />
|
2022-07-23 23:37:48 +02:00
|
|
|
|
2022-08-02 22:48:41 +02:00
|
|
|
<include
|
|
|
|
layout="@layout/steps_streak_maximum_line_layout"
|
|
|
|
android:visibility="gone" />
|
2022-07-23 23:37:48 +02:00
|
|
|
|
2022-08-02 22:48:41 +02:00
|
|
|
<include
|
|
|
|
layout="@layout/steps_streak_total_line_layout"
|
|
|
|
android:visibility="gone" />
|
2022-07-23 23:37:48 +02:00
|
|
|
|
2022-08-02 22:48:41 +02:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginTop="0dp"
|
|
|
|
android:layout_marginBottom="0dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical">
|
2022-07-23 23:37:48 +02:00
|
|
|
|
2022-08-02 22:48:41 +02:00
|
|
|
<ImageView
|
|
|
|
android:layout_width="100dp"
|
|
|
|
android:layout_height="100dp"
|
|
|
|
android:layout_marginStart="35dp"
|
|
|
|
android:layout_marginTop="39dp"
|
|
|
|
app:srcCompat="@drawable/ic_events_gold" />
|
2022-07-23 23:37:48 +02:00
|
|
|
|
2022-08-02 22:48:41 +02:00
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/step_streak_dashboard_loading_circle"
|
|
|
|
android:layout_width="171dp"
|
|
|
|
android:layout_height="171dp"
|
|
|
|
android:indeterminate="true" />
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
2022-07-23 23:37:48 +02:00
|
|
|
|
2022-08-02 22:48:41 +02:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/step_streak_share_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
app:srcCompat="@drawable/ic_share" />
|
|
|
|
</RelativeLayout>
|
2022-07-23 23:37:48 +02:00
|
|
|
</ScrollView>
|