|
|
|
@@ -36,8 +36,8 @@
|
|
|
|
|
style="@style/StatsLargeLabel"
|
|
|
|
|
android:text="@string/stats_distance"
|
|
|
|
|
app:layout_constrainedWidth="true"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline2"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
@@ -45,17 +45,17 @@
|
|
|
|
|
style="@style/StatsLargeValue"
|
|
|
|
|
android:value="@string/value_unknown"
|
|
|
|
|
app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/stats_distance_unit"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/stats_distance_label"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/stats_distance_unit"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_distance_label"
|
|
|
|
|
tools:text="100" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/stats_distance_unit"
|
|
|
|
|
style="@style/StatsUnit"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/stats_distance_value"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/stats_distance_value"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/stats_distance_value"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/stats_distance_value"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline2"
|
|
|
|
|
tools:text="km" />
|
|
|
|
|
|
|
|
|
|
<!-- Activity Type -->
|
|
|
|
@@ -64,8 +64,8 @@
|
|
|
|
|
style="@style/StatsLargeLabel"
|
|
|
|
|
android:text="@string/track_edit_activity_type_hint"
|
|
|
|
|
app:layout_constrainedWidth="true"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline3"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline3"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
@@ -73,10 +73,10 @@
|
|
|
|
|
style="@style/StatsLargeValue"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline3"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/stats_distance_value"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/stats_distance_value"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline3"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/stats_distance_value"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/stats_distance_value"
|
|
|
|
|
app:tint="?android:textColorPrimary" />
|
|
|
|
|
|
|
|
|
|
<!-- Total time -->
|
|
|
|
@@ -85,16 +85,16 @@
|
|
|
|
|
style="@style/StatsLargeLabel"
|
|
|
|
|
android:text="@string/stats_total_time"
|
|
|
|
|
app:layout_constrainedWidth="true"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/stats_distance_value" />
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline2"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_distance_value" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/stats_total_time_value"
|
|
|
|
|
style="@style/StatsLargeValue"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/stats_total_time_label"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline2"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_total_time_label"
|
|
|
|
|
tools:text="00:00:00" />
|
|
|
|
|
|
|
|
|
|
<!-- Moving time -->
|
|
|
|
@@ -103,18 +103,18 @@
|
|
|
|
|
style="@style/StatsLargeLabel"
|
|
|
|
|
android:text="@string/stats_moving_time"
|
|
|
|
|
app:layout_constrainedWidth="true"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline3"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/stats_total_time_label"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/stats_total_time_label" />
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline3"
|
|
|
|
|
app:layout_constraintTop_toTopOf="@id/stats_total_time_label"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/stats_total_time_label" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/stats_moving_time_value"
|
|
|
|
|
style="@style/StatsLargeValue"
|
|
|
|
|
android:value="@string/value_unknown"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline3"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/stats_moving_time_label"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline3"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_moving_time_label"
|
|
|
|
|
tools:text="00:00:00" />
|
|
|
|
|
|
|
|
|
|
<!-- Barrier -->
|
|
|
|
@@ -130,17 +130,17 @@
|
|
|
|
|
android:id="@+id/stats_speed_horizontal_line"
|
|
|
|
|
style="@style/StatsHorizontalLine"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline3"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/stats_time_barrier" />
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline3"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_time_barrier" />
|
|
|
|
|
|
|
|
|
|
<!-- Speed/pace -->
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/stats_speed_label"
|
|
|
|
|
style="@style/StatsSmallLabel"
|
|
|
|
|
app:layout_constrainedWidth="true"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline2"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_speed_horizontal_line"
|
|
|
|
|
tools:text="Speed" />
|
|
|
|
|
|
|
|
|
@@ -149,17 +149,17 @@
|
|
|
|
|
style="@style/StatsSmallValue"
|
|
|
|
|
android:value="@string/value_unknown"
|
|
|
|
|
app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/stats_speed_unit"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/stats_speed_label"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/stats_speed_unit"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_speed_label"
|
|
|
|
|
tools:text="30.00" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/stats_speed_unit"
|
|
|
|
|
style="@style/StatsUnit"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/stats_speed_value"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/stats_speed_value"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/stats_speed_value"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/stats_speed_value"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline2"
|
|
|
|
|
tools:text="km/h" />
|
|
|
|
|
|
|
|
|
|
<!-- Average speed/pace -->
|
|
|
|
@@ -167,8 +167,8 @@
|
|
|
|
|
android:id="@+id/stats_average_speed_label"
|
|
|
|
|
style="@style/StatsSmallLabel"
|
|
|
|
|
app:layout_constrainedWidth="true"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline3"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline3"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_speed_horizontal_line"
|
|
|
|
|
tools:text="Avg. Speed" />
|
|
|
|
|
|
|
|
|
@@ -177,17 +177,17 @@
|
|
|
|
|
style="@style/StatsSmallValue"
|
|
|
|
|
android:value="@string/value_unknown"
|
|
|
|
|
app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/stats_average_speed_unit"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/stats_average_speed_label"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/stats_average_speed_unit"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_average_speed_label"
|
|
|
|
|
tools:text="30.00" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/stats_average_speed_unit"
|
|
|
|
|
style="@style/StatsUnit"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/stats_average_speed_value"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/stats_average_speed_value"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline3"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/stats_average_speed_value"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/stats_average_speed_value"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline3"
|
|
|
|
|
tools:text="km/h" />
|
|
|
|
|
|
|
|
|
|
<!-- Speed max -->
|
|
|
|
@@ -195,8 +195,8 @@
|
|
|
|
|
android:id="@+id/stats_max_speed_label"
|
|
|
|
|
style="@style/StatsSmallLabel"
|
|
|
|
|
app:layout_constrainedWidth="true"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline2"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_average_speed_value"
|
|
|
|
|
tools:text="Max. Speed" />
|
|
|
|
|
|
|
|
|
@@ -205,17 +205,17 @@
|
|
|
|
|
style="@style/StatsSmallValue"
|
|
|
|
|
android:value="@string/value_unknown"
|
|
|
|
|
app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/stats_max_speed_unit"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/stats_max_speed_label"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/stats_max_speed_unit"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_max_speed_label"
|
|
|
|
|
tools:text="30.00" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/stats_max_speed_unit"
|
|
|
|
|
style="@style/StatsUnit"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/stats_max_speed_value"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/stats_max_speed_value"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/stats_max_speed_value"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/stats_max_speed_value"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline2"
|
|
|
|
|
tools:text="km/h" />
|
|
|
|
|
|
|
|
|
|
<!-- Moving speed max -->
|
|
|
|
@@ -223,8 +223,8 @@
|
|
|
|
|
android:id="@+id/stats_moving_speed_label"
|
|
|
|
|
style="@style/StatsSmallLabel"
|
|
|
|
|
app:layout_constrainedWidth="true"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline3"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline3"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_average_speed_value"
|
|
|
|
|
tools:text="Max. Moving Speed" />
|
|
|
|
|
|
|
|
|
@@ -233,17 +233,17 @@
|
|
|
|
|
style="@style/StatsSmallValue"
|
|
|
|
|
android:value="@string/value_unknown"
|
|
|
|
|
app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/stats_moving_speed_unit"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/stats_moving_speed_label"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/stats_moving_speed_unit"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_moving_speed_label"
|
|
|
|
|
tools:text="30.00" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/stats_moving_speed_unit"
|
|
|
|
|
style="@style/StatsUnit"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/stats_moving_speed_value"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/stats_moving_speed_value"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline3"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/stats_moving_speed_value"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/stats_moving_speed_value"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline3"
|
|
|
|
|
tools:text="km/h" />
|
|
|
|
|
|
|
|
|
|
<!-- Barrier -->
|
|
|
|
@@ -259,16 +259,16 @@
|
|
|
|
|
android:id="@+id/stats_elevation_horizontal_line"
|
|
|
|
|
style="@style/StatsHorizontalLine"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline3"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/stats_speed_barrier" />
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline3"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_speed_barrier" />
|
|
|
|
|
|
|
|
|
|
<!-- Elevation -->
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
|
android:id="@+id/stats_elevation_group"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:constraint_referenced_ids="stats_elevation_horizontal_line,stats_elevation_current_label,stats_elevation_current_value,stats_elevation_current_unit,stats_elevation_gain_label,stats_elevation_gain_value,stats_elevation_gain_unit" />
|
|
|
|
|
app:constraint_referenced_ids="stats_elevation_horizontal_line,stats_elevation_current_label,stats_elevation_current_value,stats_elevation_current_unit,stats_elevation_gain_label,stats_elevation_gain_value,stats_elevation_gain_unit,stats_elevation_loss_label,stats_elevation_loss_value,stats_elevation_loss_unit" />
|
|
|
|
|
|
|
|
|
|
<!-- Elevation -->
|
|
|
|
|
<TextView
|
|
|
|
@@ -276,8 +276,8 @@
|
|
|
|
|
style="@style/StatsSmallLabel"
|
|
|
|
|
android:text="@string/stats_elevation"
|
|
|
|
|
app:layout_constrainedWidth="true"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline2"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_elevation_horizontal_line" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
@@ -285,27 +285,27 @@
|
|
|
|
|
style="@style/StatsSmallValue"
|
|
|
|
|
android:value="@string/value_unknown"
|
|
|
|
|
app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/stats_elevation_current_unit"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/stats_elevation_current_label"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/stats_elevation_current_unit"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_elevation_current_label"
|
|
|
|
|
tools:text="100" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/stats_elevation_current_unit"
|
|
|
|
|
style="@style/StatsUnit"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/stats_elevation_current_value"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/stats_elevation_current_value"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/stats_elevation_current_value"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/stats_elevation_current_value"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline2"
|
|
|
|
|
tools:text="m" />
|
|
|
|
|
|
|
|
|
|
<!-- Current elevation -->
|
|
|
|
|
<!-- Elevation gain -->
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/stats_elevation_gain_label"
|
|
|
|
|
style="@style/StatsSmallLabel"
|
|
|
|
|
android:text="@string/stats_gain"
|
|
|
|
|
app:layout_constrainedWidth="true"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline3"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline3"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_elevation_horizontal_line" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
@@ -313,17 +313,45 @@
|
|
|
|
|
style="@style/StatsSmallValue"
|
|
|
|
|
android:value="@string/value_unknown"
|
|
|
|
|
app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/stats_elevation_gain_unit"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/stats_elevation_gain_label"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/stats_elevation_gain_unit"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_elevation_gain_label"
|
|
|
|
|
tools:text="100" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/stats_elevation_gain_unit"
|
|
|
|
|
style="@style/StatsUnit"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/stats_elevation_gain_value"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/stats_elevation_gain_value"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline3"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/stats_elevation_gain_value"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/stats_elevation_gain_value"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline3"
|
|
|
|
|
tools:text="m" />
|
|
|
|
|
|
|
|
|
|
<!-- Elevation loss -->
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/stats_elevation_loss_label"
|
|
|
|
|
style="@style/StatsSmallLabel"
|
|
|
|
|
android:text="@string/stats_loss"
|
|
|
|
|
app:layout_constrainedWidth="true"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline3"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_elevation_gain_value" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/stats_elevation_loss_value"
|
|
|
|
|
style="@style/StatsSmallValue"
|
|
|
|
|
android:value="@string/value_unknown"
|
|
|
|
|
app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/stats_elevation_loss_unit"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_elevation_loss_label"
|
|
|
|
|
tools:text="100" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/stats_elevation_loss_unit"
|
|
|
|
|
style="@style/StatsUnit"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/stats_elevation_loss_value"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/stats_elevation_loss_value"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline3"
|
|
|
|
|
tools:text="m" />
|
|
|
|
|
|
|
|
|
|
<!-- Coordinate group -->
|
|
|
|
@@ -339,16 +367,16 @@
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:barrierDirection="bottom"
|
|
|
|
|
app:constraint_referenced_ids="stats_elevation_current_value,stats_elevation_gain_value" />
|
|
|
|
|
app:constraint_referenced_ids="stats_elevation_current_value,stats_elevation_gain_value,stats_elevation_loss_value" />
|
|
|
|
|
|
|
|
|
|
<!-- Horizontal line -->
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/stats_coordinate_horizontal_line"
|
|
|
|
|
style="@style/StatsHorizontalLine"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline3"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/stats_elevation_barrier" />
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline3"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_elevation_barrier" />
|
|
|
|
|
|
|
|
|
|
<!-- Latitude -->
|
|
|
|
|
<TextView
|
|
|
|
@@ -356,16 +384,16 @@
|
|
|
|
|
style="@style/StatsSmallLabel"
|
|
|
|
|
android:text="@string/stats_latitude"
|
|
|
|
|
app:layout_constrainedWidth="true"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline2"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_coordinate_horizontal_line" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/stats_latitude_value"
|
|
|
|
|
style="@style/StatsSmallValue"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/stats_latitude_label"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline2"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_latitude_label"
|
|
|
|
|
tools:text="0.834937848" />
|
|
|
|
|
|
|
|
|
|
<!-- Longitude -->
|
|
|
|
@@ -374,17 +402,17 @@
|
|
|
|
|
style="@style/StatsSmallLabel"
|
|
|
|
|
android:text="@string/stats_longitude"
|
|
|
|
|
app:layout_constrainedWidth="true"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline3"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline3"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_coordinate_horizontal_line" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/stats_longitude_value"
|
|
|
|
|
style="@style/StatsSmallValue"
|
|
|
|
|
android:value="@string/value_unknown"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline3"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/stats_longitude_label"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline2"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline3"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_longitude_label"
|
|
|
|
|
tools:text="0.834937848" />
|
|
|
|
|
|
|
|
|
|
<!-- Barrier -->
|
|
|
|
@@ -400,17 +428,17 @@
|
|
|
|
|
android:id="@+id/stats_sensor_horizontal_line"
|
|
|
|
|
style="@style/StatsHorizontalLine"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline3"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/stats_location_barrier" />
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline3"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_location_barrier" />
|
|
|
|
|
|
|
|
|
|
<!-- Sensors data -->
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/stats_sensors_recycler_view"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/guideline3"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/guideline"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/guideline3"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/stats_sensor_horizontal_line" />
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|