mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-02 09:33:06 +02:00
Activity icon now properly tint'ed in detail activity.
This commit is contained in:
@@ -135,7 +135,6 @@ public class StatisticsRecordedFragment extends Fragment {
|
||||
// Set activity type
|
||||
{
|
||||
String trackIconValue = TrackIconUtils.getIconValue(getContext(), category);
|
||||
viewBinding.statsActivityTypeIcon.setEnabled(false);
|
||||
viewBinding.statsActivityTypeIcon.setImageDrawable(ContextCompat.getDrawable(getContext(), TrackIconUtils.getIconDrawable(trackIconValue)));
|
||||
}
|
||||
|
||||
|
||||
@@ -76,8 +76,7 @@
|
||||
app:layout_constraintEnd_toStartOf="@+id/guideline3"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/stats_distance_value"
|
||||
app:layout_constraintTop_toTopOf="@+id/stats_distance_value"
|
||||
app:tint="?android:attr/textColorPrimary"
|
||||
app:tintMode="src_atop" />
|
||||
app:tint="?android:textColorPrimary" />
|
||||
|
||||
<!-- Total time -->
|
||||
<TextView
|
||||
|
||||
@@ -76,7 +76,8 @@
|
||||
app:layout_constraintStart_toEndOf="@+id/guideline2"
|
||||
app:layout_constraintEnd_toStartOf="@+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:textColorPrimary" />
|
||||
|
||||
<!-- Total time -->
|
||||
<TextView
|
||||
|
||||
Reference in New Issue
Block a user