mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
[android] Fix color of opening hours icon
Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
This commit is contained in:
@@ -124,7 +124,7 @@ public final class UiHelpers
|
||||
|
||||
final Row.Builder builder = new Row.Builder();
|
||||
builder.setImage(
|
||||
new CarIcon.Builder(IconCompat.createWithResource(context, R.drawable.ic_operating_hours)).build());
|
||||
new CarIcon.Builder(IconCompat.createWithResource(context, R.drawable.ic_opening_hours)).build());
|
||||
|
||||
if (isEmptyTT)
|
||||
builder.setTitle(ohStr);
|
||||
|
||||
@@ -4,6 +4,6 @@
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FFF"
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M12,2C6.5,2 2,6.5 2,12s4.5,10 10,10s10,-4.5 10,-10S17.5,2 12,2zM16.2,16.2L11,13V7h1.5v5.2l4.5,2.7L16.2,16.2z"/>
|
||||
</vector>
|
||||
@@ -8,7 +8,7 @@
|
||||
android:background="?clickableBackground"
|
||||
android:minHeight="@dimen/editor_height_field"
|
||||
android:paddingEnd="@dimen/margin_quarter"
|
||||
android:paddingStart="@dimen/margin_half_plus"
|
||||
android:paddingStart="@dimen/margin_half_plus_eight"
|
||||
tools:ignore="RtlSymmetry">
|
||||
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
@@ -16,8 +16,8 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/margin_base_plus"
|
||||
android:layout_marginTop="@dimen/margin_base"
|
||||
app:srcCompat="@drawable/ic_operating_hours"
|
||||
app:tint="?iconTint" />
|
||||
app:srcCompat="@drawable/ic_opening_hours"
|
||||
android:tint="?iconTint"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/empty_opening_hours"
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/margin_base"
|
||||
app:tint="?iconTint"
|
||||
android:tint="?iconTint"
|
||||
app:srcCompat="@drawable/ic_cuisine"/>
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/margin_base"
|
||||
android:layout_marginTop="@dimen/margin_quarter"
|
||||
app:srcCompat="@drawable/ic_operating_hours"
|
||||
app:tint="?iconTint"/>
|
||||
app:srcCompat="@drawable/ic_opening_hours"
|
||||
android:tint="?iconTint"/>
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/oh_today_label"
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
app:srcCompat="@drawable/ic_20px_route_planning_walk"
|
||||
app:layout_constraintBottom_toBottomOf="@id/total_time"
|
||||
app:layout_constraintStart_toEndOf="@id/dot"
|
||||
app:tint="?iconTint"/>
|
||||
android:tint="?iconTint"/>
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/total_distance"
|
||||
style="@style/MwmWidget.TextView.PlanDetail.Number.Secondary"
|
||||
|
||||
Reference in New Issue
Block a user