Files
examples/android-example/app/src/main/res/layout/activity_main.xml
2025-12-18 20:04:23 +08:00

29 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout
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:fitsSystemWindows="true"
tools:context="net.irext.ircontrol.ui.activity.MainActivity">
<androidx.fragment.app.FragmentContainerView
android:id="@+id/fragment_remote"
android:name="net.irext.ircontrol.ui.fragment.MainFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:layout="@layout/fragment_main"/>
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="@dimen/fab_margin"
android:contentDescription="@string/create_new"
app:srcCompat="@mipmap/icon_add"/>
</androidx.coordinatorlayout.widget.CoordinatorLayout>