Skip to content

Commit

Permalink
Merge pull request #2 from aswiinraviprakash/nihal514-patch-3
Browse files Browse the repository at this point in the history
Update statistics_per_day.xml
  • Loading branch information
nihal514 authored Apr 8, 2024
2 parents ec87499 + 2bec8de commit 767d21c
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions src/main/res/layout/statistics_per_day.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,39 @@
app:layout_constraintEnd_toStartOf="@id/guideline3"
app:layout_constraintTop_toBottomOf="@id/stats_start_datetime_value" />

<!-- Max speed -->
<TextView
android:id="@+id/stats_max_speed_label"
style="@style/TextAppearance.OpenTracks.PrimaryHeader"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constrainedWidth="true"
app:layout_constraintStart_toEndOf="@id/guideline"
app:layout_constraintEnd_toStartOf="@id/guideline2"
app:layout_constraintTop_toBottomOf="@id/stats_speed_horizontal_line"
tools:text="Max. Speed" />

<TextView
android:id="@+id/stats_max_speed_value"
style="@style/TextAppearance.OpenTracks.PrimaryValue"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
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"
tools:text="30.00" />

<TextView
android:id="@+id/stats_max_speed_unit"
style="@style/TextAppearance.OpenTracks.PrimaryUnit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
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" />

</androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>

0 comments on commit 767d21c

Please sign in to comment.