Archived
Added opening hours and a button for the user to view them, but the formatting sucks
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<vector android:height="24dp" android:tint="#000000"
|
||||
android:viewportHeight="24" android:viewportWidth="24"
|
||||
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="@android:color/white" android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM13,17h-2v-6h2v6zM13,9h-2L11,7h2v2z"/>
|
||||
</vector>
|
||||
@@ -42,6 +42,18 @@
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"/>
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
style="@style/Widget.Material3.Button.TextButton"
|
||||
android:id="@+id/button_info"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:minWidth="0dp"
|
||||
app:icon="@drawable/info"
|
||||
app:iconPadding="0dp"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:iconTint="?attr/colorOnSurfaceVariant"/>
|
||||
|
||||
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||||
android:id="@+id/swipe_refresh_layout"
|
||||
android:layout_width="0dp"
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
<string name="title_food">Mensenangebote</string>
|
||||
<string name="title_settings">App-Einstellungen</string>
|
||||
|
||||
<string name="canteen_opening_hours">%s – Öffnungszeiten</string>
|
||||
|
||||
<string name="mensa_uni">Uni-Mensa</string>
|
||||
<string name="cafe_central">Café Central</string>
|
||||
<string name="mensa_nw1">Mensa NW1</string>
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
<string name="title_food">Canteen Offers</string>
|
||||
<string name="title_settings">App Settings</string>
|
||||
|
||||
<string name="canteen_opening_hours">%s – Opening Hours</string>
|
||||
|
||||
<string name="mensa_uni">Uni-Mensa</string>
|
||||
<string name="cafe_central">Café Central</string>
|
||||
<string name="mensa_nw1">Mensa NW1</string>
|
||||
|
||||
Reference in New Issue
Block a user