mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-06 12:34:24 +00:00
[Android] Add current opening hours status to placepage preview
And refresh it every 45s adjust base_red/yellow/green colours Signed-off-by: Harry Bond <me@hbond.xyz>
This commit is contained in:
committed by
Konstantin Pastbin
parent
8213a278d7
commit
86dacd70ff
@@ -71,6 +71,16 @@
|
||||
android:textAppearance="@style/MwmTextAppearance.Body3"
|
||||
tools:background="#300000F0"
|
||||
tools:text="Subtitle, very very very very very very very long" />
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__open_state"
|
||||
android:textAlignment="viewStart"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/margin_quarter"
|
||||
android:ellipsize="end"
|
||||
android:textAppearance="@style/MwmTextAppearance.Body3"
|
||||
tools:background="#300000F0"
|
||||
tools:text="Closes in 45 min • at 23:00" />
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__address"
|
||||
android:textAlignment="viewStart"
|
||||
|
||||
Reference in New Issue
Block a user