trkpt/app/src/main/res/layout/track_statistics.xml

297 lines
15 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.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">
<android.support.constraint.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" />
<android.support.constraint.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"
2018-02-21 10:47:09 +00:00
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" />
2018-01-16 13:27:50 +00:00
<ImageView
android:id="@+id/statistics_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/activity_horizontal_margin"
2018-03-20 14:46:32 +00:00
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"
2018-02-21 10:47:09 +00:00
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"
2018-02-21 10:47:09 +00:00
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"
2018-02-21 10:47:09 +00:00
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"
2018-02-21 10:47:09 +00:00
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"
2018-02-21 10:47:09 +00:00
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"
2018-02-21 10:47:09 +00:00
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"
2018-02-21 10:47:09 +00:00
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"
2018-02-21 10:47:09 +00:00
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"
2018-02-21 10:47:09 +00:00
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"
2018-02-21 10:47:09 +00:00
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"
2018-02-21 10:47:09 +00:00
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"
2018-02-21 10:47:09 +00:00
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"
2018-02-21 10:47:09 +00:00
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"
2018-02-21 10:47:09 +00:00
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"
2018-02-21 10:47:09 +00:00
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"
2018-02-21 10:47:09 +00:00
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"
2018-02-21 10:47:09 +00:00
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"
2018-02-21 10:47:09 +00:00
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"
2018-02-21 10:47:09 +00:00
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"
2018-02-21 10:47:09 +00:00
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"
2018-02-21 10:47:09 +00:00
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" />
</android.support.constraint.ConstraintLayout>