mirror of
https://github.com/Nezumi-2711/Foodify.git
synced 2026-09-22 20:00:50 +00:00
42 lines
1.5 KiB
XML
42 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout 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"
|
|
tools:context=".Activity.OrderActivity">
|
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/tab_layout"
|
|
style="@style/MyCustomTabLayout"
|
|
app:tabIndicatorColor="@color/primaryColor"
|
|
>
|
|
|
|
<com.google.android.material.tabs.TabItem
|
|
android:text="Đang xử lý"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
/>
|
|
<com.google.android.material.tabs.TabItem
|
|
android:text="Đang giao"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
/>
|
|
<com.google.android.material.tabs.TabItem
|
|
android:text="Giao thành công"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
/>
|
|
</com.google.android.material.tabs.TabLayout>
|
|
|
|
<androidx.viewpager2.widget.ViewPager2
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:id="@+id/view_pager"
|
|
android:layout_below="@id/tab_layout"
|
|
/>
|
|
|
|
|
|
</RelativeLayout> |