Theming: activity icons are now in textColorPrimary.

And replaced spinner in StatisticsRecordedFragment.
This commit is contained in:
Dennis Guse
2020-09-21 22:55:07 +02:00
parent ce38d5e891
commit e574c67ad6
4 changed files with 15 additions and 33 deletions
+3 -1
View File
@@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content">
@@ -57,7 +58,8 @@ limitations under the License.
android:layout_gravity="center_vertical"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:contentDescription="@string/image_track" />
android:contentDescription="@string/image_track"
app:tint="?android:textColorPrimary" />
<!-- Table 1: Row 1: Column 2: (Table 2) -->
<TableLayout
android:layout_width="match_parent"
+4 -3
View File
@@ -68,15 +68,16 @@
app:layout_constraintRight_toLeftOf="@+id/guideline3"
app:layout_constraintTop_toTopOf="parent" />
<Spinner
<ImageView
android:id="@+id/stats_activity_type_icon"
style="@style/StatsLargeValue"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintLeft_toRightOf="@+id/guideline2"
app:layout_constraintRight_toLeftOf="@+id/guideline3"
app:layout_constraintBottom_toBottomOf="@+id/stats_distance_value"
app:layout_constraintTop_toTopOf="@+id/stats_distance_value" />
app:layout_constraintTop_toTopOf="@+id/stats_distance_value"
app:tint="?android:attr/textColorPrimary"
app:tintMode="src_atop" />
<!-- Total time -->
<TextView