mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-08-28 01:39:05 +00:00
484189d435
Consolidates all of the settings components to the fragment and activity with no interfaces and only the settings fragment presenter. This also includes new material animations and new viewmodel usage to prevent the fragment and activity directly interacting with one another.
35 lines
1.4 KiB
XML
35 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
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:id="@+id/constraint_settings"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/colorSurface">
|
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
android:id="@+id/fragment_container"
|
|
android:name="androidx.navigation.fragment.NavHostFragment"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
app:defaultNavHost="true"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:layout="@layout/fragment_settings" />
|
|
|
|
<View
|
|
android:id="@+id/navigation_bar_shade"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1px"
|
|
android:background="@android:color/transparent"
|
|
android:clickable="false"
|
|
android:focusable="false"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|