habitica-android/Habitica/res/layout/activity_gift_gems.xml

57 lines
2.3 KiB
XML
Raw Normal View History

2019-10-07 16:35:08 +00:00
<?xml version="1.0" encoding="utf-8"?>
2019-10-30 13:43:44 +00:00
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
2019-10-07 16:35:08 +00:00
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
2020-09-04 16:17:34 +00:00
android:background="@color/content_background">
2019-10-30 13:43:44 +00:00
<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"
2019-10-07 16:35:08 +00:00
android:layout_width="match_parent"
2019-10-30 13:43:44 +00:00
android:layout_height="match_parent"
tools:context=".ui.activities.PrefsActivity"
android:orientation="vertical"
2020-09-04 16:17:34 +00:00
android:background="@color/content_background">
2019-10-07 16:35:08 +00:00
2019-10-30 13:43:44 +00:00
<com.google.android.material.appbar.AppBarLayout
2019-10-07 16:35:08 +00:00
android:layout_width="match_parent"
2019-10-30 13:43:44 +00:00
android:layout_height="wrap_content">
2019-10-07 16:35:08 +00:00
2019-10-30 13:43:44 +00:00
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
2019-10-15 16:22:54 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-10-30 13:43:44 +00:00
android:minHeight="?attr/actionBarSize"
android:theme="@style/Toolbar"
app:layout_scrollFlags="scroll|enterAlways"
app:popupTheme="@style/ThemeOverlay.AppCompat.Dark"/>
</com.google.android.material.appbar.AppBarLayout>
<com.google.android.material.tabs.TabLayout
android:id="@+id/tab_layout"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:layout_gravity="bottom"
android:background="?attr/colorPrimary"
android:elevation="0dp"
android:fillViewport="false"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:layout_anchor="@+id/collapsing_toolbar"
app:layout_anchorGravity="bottom"
app:layout_collapseMode="pin"
app:tabGravity="fill"
app:tabIndicatorColor="@android:color/white"
app:tabMode="fixed" />
<androidx.viewpager.widget.ViewPager
android:id="@+id/viewPager"
android:layout_width="match_parent"
android:layout_height="0px"
android:layout_weight="1"
2020-09-04 16:17:34 +00:00
android:background="@color/content_background" />
2019-10-30 13:43:44 +00:00
</LinearLayout>
</FrameLayout>