Return Custom TabSwithcer
1: <?xml version="1.0" encoding="utf-8"?>
2: <androidx.constraintlayout.widget.ConstraintLayout
3: xmlns:android="http://schemas.android.com/apk/res/android"
4: xmlns:app="http://schemas.android.com/apk/res-auto"
5: android:id="@+id/main"
6: android:layout_width="match_parent"
7: android:layout_height="match_parent">
8:
9: <androidx.recyclerview.widget.RecyclerView
10: android:id="@+id/contactsRecyclerView"
11: android:layout_width="match_parent"
12: android:layout_height="match_parent" />
13:
14: <com.google.android.material.tabs.TabLayout
15: android:id="@+id/tabLayout"
16: android:layout_width="0dp"
17: android:layout_height="wrap_content"
18: android:background="@color/material_dynamic_neutral90"
19: app:layout_constraintBottom_toBottomOf="parent"
20: app:layout_constraintEnd_toEndOf="parent"
21: app:layout_constraintStart_toStartOf="parent" />
22:
23: </androidx.constraintlayout.widget.ConstraintLayout>
Return
Comments (
)
)
Link to this page:
http://www.vb-net.com/AndroidMosaic/Index11.htm
|
|