297 lines
No EOL
15 KiB
XML
Executable file
297 lines
No EOL
15 KiB
XML
Executable file
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/statistics_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clickable="true"
|
|
android:focusable="true">
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
android:id="@+id/elevation_data"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
app:constraint_referenced_ids="statistics_p_positive_elevation, statistics_data_positive_elevation, statistics_p_negative_elevation, statistics_data_negative_elevation, statistics_p_max_altitude, statistics_data_max_altitude, statistics_p_min_altitude, statistics_data_min_altitude" />
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
android:id="@+id/statistics_header"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
app:constraint_referenced_ids="statistics_headline, statistics_icon" />
|
|
|
|
<TextView
|
|
android:id="@+id/statistics_headline"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="8dp"
|
|
android:layout_marginStart="@dimen/activity_horizontal_margin"
|
|
android:layout_marginTop="16dp"
|
|
android:contentDescription="@string/descr_statistics_sheet_headline"
|
|
android:text="@string/statistics_sheet_h1_statistics"
|
|
android:textAllCaps="true"
|
|
android:textAppearance="@android:style/TextAppearance.Medium"
|
|
android:textColor="@color/statistic_sheet_text"
|
|
android:textStyle="bold"
|
|
app:layout_constraintEnd_toStartOf="@+id/statistics_icon"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<ImageView
|
|
android:id="@+id/statistics_icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="@dimen/activity_horizontal_margin"
|
|
android:backgroundTint="@color/trackbook_transparent"
|
|
android:contentDescription="@string/descr_statistics_sheet_icon"
|
|
app:layout_constraintBottom_toBottomOf="@+id/statistics_headline"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="@+id/statistics_headline"
|
|
app:srcCompat="@drawable/ic_info_24dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/statistics_p_distance"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="24dp"
|
|
android:contentDescription="@string/descr_statistics_sheet_p_distance"
|
|
android:text="@string/statistics_sheet_p_distance"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
android:textColor="@color/statistic_sheet_text"
|
|
app:layout_constraintStart_toStartOf="@+id/statistics_headline"
|
|
app:layout_constraintTop_toBottomOf="@+id/statistics_headline" />
|
|
|
|
<TextView
|
|
android:id="@+id/statistics_data_distance"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:contentDescription="@string/descr_statistics_sheet_p_distance_value"
|
|
android:text="@string/statistics_sheet_p_default_data"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
android:textColor="@color/statistic_sheet_text"
|
|
app:layout_constraintBottom_toBottomOf="@+id/statistics_p_distance"
|
|
app:layout_constraintStart_toEndOf="@+id/statistics_p_distance"
|
|
app:layout_constraintTop_toTopOf="@+id/statistics_p_distance" />
|
|
|
|
<TextView
|
|
android:id="@+id/statistics_p_steps"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:contentDescription="@string/descr_statistics_sheet_p_steps"
|
|
android:text="@string/statistics_sheet_p_steps"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
android:textColor="@color/statistic_sheet_text"
|
|
app:layout_constraintStart_toStartOf="@+id/statistics_p_distance"
|
|
app:layout_constraintTop_toBottomOf="@+id/statistics_p_distance" />
|
|
|
|
<TextView
|
|
android:id="@+id/statistics_data_steps"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:contentDescription="@string/descr_statistics_sheet_p_steps_value"
|
|
android:text="@string/statistics_sheet_p_default_data"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
android:textColor="@color/statistic_sheet_text"
|
|
app:layout_constraintBottom_toBottomOf="@+id/statistics_p_steps"
|
|
app:layout_constraintStart_toEndOf="@+id/statistics_p_steps"
|
|
app:layout_constraintTop_toTopOf="@+id/statistics_p_steps" />
|
|
|
|
<TextView
|
|
android:id="@+id/statistics_p_waypoints"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="0dp"
|
|
android:layout_marginTop="16dp"
|
|
android:contentDescription="@string/descr_statistics_sheet_p_waypoints"
|
|
android:text="@string/statistics_sheet_p_waypoints"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
android:textColor="@color/statistic_sheet_text"
|
|
app:layout_constraintStart_toStartOf="@+id/statistics_p_steps"
|
|
app:layout_constraintTop_toBottomOf="@+id/statistics_p_steps" />
|
|
|
|
<TextView
|
|
android:id="@+id/statistics_data_waypoints"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:contentDescription="@string/descr_statistics_sheet_p_waypoints_value"
|
|
android:text="@string/statistics_sheet_p_default_data"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
android:textColor="@color/statistic_sheet_text"
|
|
app:layout_constraintBottom_toBottomOf="@+id/statistics_p_waypoints"
|
|
app:layout_constraintStart_toEndOf="@+id/statistics_p_waypoints"
|
|
app:layout_constraintTop_toTopOf="@+id/statistics_p_waypoints" />
|
|
|
|
<TextView
|
|
android:id="@+id/statistics_p_duration"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:contentDescription="@string/descr_statistics_sheet_p_duration"
|
|
android:text="@string/statistics_sheet_p_duration"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
android:textColor="@color/statistic_sheet_text"
|
|
app:layout_constraintStart_toStartOf="@+id/statistics_p_waypoints"
|
|
app:layout_constraintTop_toBottomOf="@+id/statistics_p_waypoints" />
|
|
|
|
<TextView
|
|
android:id="@+id/statistics_data_duration"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:contentDescription="@string/descr_statistics_sheet_p_duration_value"
|
|
android:text="@string/statistics_sheet_p_default_data"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
android:textColor="@color/statistic_sheet_text"
|
|
app:layout_constraintBottom_toBottomOf="@+id/statistics_p_duration"
|
|
app:layout_constraintStart_toEndOf="@+id/statistics_p_duration"
|
|
app:layout_constraintTop_toTopOf="@+id/statistics_p_duration" />
|
|
|
|
<TextView
|
|
android:id="@+id/statistics_p_recording_start"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:contentDescription="@string/descr_statistics_sheet_p_recording_start"
|
|
android:text="@string/statistics_sheet_p_recording_start"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
android:textColor="@color/statistic_sheet_text"
|
|
app:layout_constraintStart_toStartOf="@+id/statistics_p_duration"
|
|
app:layout_constraintTop_toBottomOf="@+id/statistics_p_duration" />
|
|
|
|
<TextView
|
|
android:id="@+id/statistics_data_recording_start"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:contentDescription="@string/descr_statistics_sheet_p_recording_start_value"
|
|
android:text="@string/statistics_sheet_p_default_data"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
android:textColor="@color/statistic_sheet_text"
|
|
app:layout_constraintBottom_toBottomOf="@+id/statistics_p_recording_start"
|
|
app:layout_constraintStart_toEndOf="@+id/statistics_p_recording_start"
|
|
app:layout_constraintTop_toTopOf="@+id/statistics_p_recording_start" />
|
|
|
|
<TextView
|
|
android:id="@+id/statistics_p_recording_stop"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:contentDescription="@string/descr_statistics_sheet_p_recording_end"
|
|
android:text="@string/statistics_sheet_p_recording_stop"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
android:textColor="@color/statistic_sheet_text"
|
|
app:layout_constraintStart_toStartOf="@+id/statistics_p_recording_start"
|
|
app:layout_constraintTop_toBottomOf="@+id/statistics_p_recording_start" />
|
|
|
|
<TextView
|
|
android:id="@+id/statistics_data_recording_stop"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:contentDescription="@string/descr_statistics_sheet_p_recording_end_value"
|
|
android:text="@string/statistics_sheet_p_default_data"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
android:textColor="@color/statistic_sheet_text"
|
|
app:layout_constraintBottom_toBottomOf="@+id/statistics_p_recording_stop"
|
|
app:layout_constraintStart_toEndOf="@+id/statistics_p_recording_stop"
|
|
app:layout_constraintTop_toTopOf="@+id/statistics_p_recording_stop" />
|
|
|
|
<TextView
|
|
android:id="@+id/statistics_p_positive_elevation"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:contentDescription="@string/descr_statistics_sheet_p_positive_elevation"
|
|
android:text="@string/statistics_sheet_p_positive_elevation"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
android:textColor="@color/statistic_sheet_text"
|
|
app:layout_constraintStart_toStartOf="@+id/statistics_p_recording_stop"
|
|
app:layout_constraintTop_toBottomOf="@+id/statistics_p_recording_stop" />
|
|
|
|
<TextView
|
|
android:id="@+id/statistics_data_positive_elevation"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:text="@string/statistics_sheet_p_default_data"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
android:textColor="@color/statistic_sheet_text"
|
|
app:layout_constraintBottom_toBottomOf="@+id/statistics_p_positive_elevation"
|
|
app:layout_constraintStart_toEndOf="@+id/statistics_p_positive_elevation"
|
|
app:layout_constraintTop_toTopOf="@+id/statistics_p_positive_elevation" />
|
|
|
|
<TextView
|
|
android:id="@+id/statistics_p_negative_elevation"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:contentDescription="@string/descr_statistics_sheet_p_negative_elevation"
|
|
android:text="@string/statistics_sheet_p_negative_elevation"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
android:textColor="@color/statistic_sheet_text"
|
|
app:layout_constraintStart_toStartOf="@+id/statistics_p_positive_elevation"
|
|
app:layout_constraintTop_toBottomOf="@+id/statistics_p_positive_elevation" />
|
|
|
|
<TextView
|
|
android:id="@+id/statistics_data_negative_elevation"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:text="@string/statistics_sheet_p_default_data"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
android:textColor="@color/statistic_sheet_text"
|
|
app:layout_constraintBottom_toBottomOf="@+id/statistics_p_negative_elevation"
|
|
app:layout_constraintStart_toEndOf="@+id/statistics_p_negative_elevation"
|
|
app:layout_constraintTop_toTopOf="@+id/statistics_p_negative_elevation" />
|
|
|
|
<TextView
|
|
android:id="@+id/statistics_p_max_altitude"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:contentDescription="@string/descr_statistics_sheet_p_max_altitude"
|
|
android:text="@string/statistics_sheet_p_max_altitude"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
android:textColor="@color/statistic_sheet_text"
|
|
app:layout_constraintStart_toStartOf="@+id/statistics_p_negative_elevation"
|
|
app:layout_constraintTop_toBottomOf="@+id/statistics_p_negative_elevation" />
|
|
|
|
<TextView
|
|
android:id="@+id/statistics_data_max_altitude"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:text="@string/statistics_sheet_p_default_data"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
android:textColor="@color/statistic_sheet_text"
|
|
app:layout_constraintBottom_toBottomOf="@+id/statistics_p_max_altitude"
|
|
app:layout_constraintStart_toEndOf="@+id/statistics_p_max_altitude"
|
|
app:layout_constraintTop_toTopOf="@+id/statistics_p_max_altitude" />
|
|
|
|
<TextView
|
|
android:id="@+id/statistics_p_min_altitude"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:contentDescription="@string/descr_statistics_sheet_p_min_altitude"
|
|
android:text="@string/statistics_sheet_p_min_altitude"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
android:textColor="@color/statistic_sheet_text"
|
|
app:layout_constraintStart_toStartOf="@+id/statistics_p_max_altitude"
|
|
app:layout_constraintTop_toBottomOf="@+id/statistics_p_max_altitude" />
|
|
|
|
<TextView
|
|
android:id="@+id/statistics_data_min_altitude"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:text="@string/statistics_sheet_p_default_data"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
android:textColor="@color/statistic_sheet_text"
|
|
app:layout_constraintBottom_toBottomOf="@+id/statistics_p_min_altitude"
|
|
app:layout_constraintStart_toEndOf="@+id/statistics_p_min_altitude"
|
|
app:layout_constraintTop_toTopOf="@+id/statistics_p_min_altitude" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |