Migration to Material Components theme and style.

New night theme mainly white on black.
Fixes #1122.
Fixes #957.
This commit is contained in:
Román Ginés
2022-02-06 20:33:17 +01:00
committed by Román Martínez
parent 72f7b12da6
commit 79e45f7aea
49 changed files with 892 additions and 829 deletions
+12 -4
View File
@@ -10,7 +10,9 @@
<TextView
android:id="@+id/stats_value"
style="@style/StatsPrimaryValue"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/TextAppearance.OpenTracks.PrimaryValue"
android:value="@string/value_unknown"
app:layout_constraintHorizontal_chainStyle="packed"
app:layout_constraintTop_toTopOf="parent"
@@ -20,7 +22,9 @@
<TextView
android:id="@+id/stats_unit"
style="@style/StatsUnit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/TextAppearance.OpenTracks.PrimaryUnit"
tools:text="@string/sensor_unit_beats_per_minute"
app:layout_constraintStart_toEndOf="@id/stats_value"
app:layout_constraintEnd_toEndOf="parent"
@@ -28,7 +32,9 @@
<TextView
android:id="@+id/stats_description_main"
style="@style/StatsPrimaryLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/TextAppearance.OpenTracks.PrimaryHeader"
tools:text="@string/sensor_state_heart_rate"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
@@ -36,7 +42,9 @@
<TextView
android:id="@+id/stats_description_secondary"
style="@style/StatsTinyValue"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/TextAppearance.OpenTracks.SecondaryHeader"
android:visibility="gone"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"