92 lines
No EOL
4 KiB
XML
92 lines
No EOL
4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.drawerlayout.widget.DrawerLayout 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:id="@+id/drawer_layout"
|
|
tools:context=".MainActivity">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fitsSystemWindows="true">
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/appBarLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:fitsSystemWindows="true"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
android:id="@+id/toolbar"
|
|
style="@style/Widget.MaterialComponents.Toolbar.Primary"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:elevation="0dp"
|
|
app:menu="@menu/top_app_bar"
|
|
app:title="Wiimmfi Watcher"
|
|
app:titleTextColor="@color/white" />
|
|
|
|
<!-- <com.google.android.material.tabs.TabLayout-->
|
|
<!-- android:id="@+id/tablayout_main"-->
|
|
<!-- android:layout_width="match_parent"-->
|
|
<!-- android:layout_height="match_parent"-->
|
|
<!-- android:background="@color/blue_700"-->
|
|
<!-- app:tabIndicatorColor="@color/white"-->
|
|
<!-- app:tabMode="fixed"-->
|
|
<!-- app:tabTextColor="@color/white">-->
|
|
|
|
<!-- <com.google.android.material.tabs.TabItem-->
|
|
<!-- android:layout_width="wrap_content"-->
|
|
<!-- android:layout_height="wrap_content"-->
|
|
<!-- android:text="Friend Code" />-->
|
|
|
|
<!-- <com.google.android.material.tabs.TabItem-->
|
|
<!-- android:layout_width="wrap_content"-->
|
|
<!-- android:layout_height="wrap_content"-->
|
|
<!-- android:text="Mii Name" />-->
|
|
|
|
<!-- </com.google.android.material.tabs.TabLayout>-->
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
android:id="@+id/friend_code_input_fragment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:layout_constraintTop_toBottomOf="@+id/appBarLayout" />
|
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
android:id="@+id/room_fragment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hapticFeedbackEnabled="false"
|
|
app:layout_constraintTop_toBottomOf="@+id/friend_code_input_fragment" />
|
|
|
|
<!-- <com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton-->
|
|
<!-- android:id="@+id/clear_button"-->
|
|
<!-- android:layout_width="wrap_content"-->
|
|
<!-- android:layout_height="wrap_content"-->
|
|
<!-- android:layout_gravity="bottom|right"-->
|
|
<!-- android:layout_margin="15dp"-->
|
|
<!-- android:foregroundTint="#FFFFFF"-->
|
|
<!-- android:text="Clear"-->
|
|
<!-- android:textColor="#FFFFFF"-->
|
|
<!-- app:backgroundTint="#1E88E5"-->
|
|
<!-- app:icon="@drawable/ic_baseline_clear_all_24"-->
|
|
<!-- app:iconTint="#FFFFFF"-->
|
|
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
<!-- app:layout_constraintEnd_toEndOf="parent" />-->
|
|
|
|
<!-- Screen content -->
|
|
<!-- Use app:layout_behavior="@string/appbar_scrolling_view_behavior" to fit below top app bar -->
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
</androidx.drawerlayout.widget.DrawerLayout> |