[android] Use MaterialTimePicker when editing opening hours

Signed-off-by: lluka <lluka@noreply.codeberg.org>
This commit is contained in:
lluka
2025-09-27 00:25:20 +02:00
committed by jeanbaptisteC
parent be3205a82d
commit 0eaa770b21
6 changed files with 219 additions and 266 deletions

View File

@@ -1,28 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
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="match_parent"
android:orientation="vertical">
<com.google.android.material.tabs.TabLayout
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="@dimen/height_block_base"
android:elevation="@dimen/appbar_elevation"
android:background="?android:windowBackground"
app:tabGravity="fill"
app:tabIndicatorColor="?colorSecondary"
app:tabMode="fixed"
app:tabRippleColor="@android:color/transparent"
tools:ignore="UnusedAttribute"/>
<TimePicker
android:id="@+id/picker"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:windowBackground"
android:numbersBackgroundColor="?cardBackground"/>
</LinearLayout>