mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 09:43:15 +00:00
parent
2b3fb068df
commit
4250351f5b
|
@ -6,25 +6,13 @@
|
|||
android:layout_height="match_parent"
|
||||
tools:context=".MainActivity">
|
||||
|
||||
|
||||
<androidx.fragment.app.FragmentContainerView
|
||||
android:id="@+id/fragmentContainerView2"
|
||||
android:name="androidx.navigation.fragment.NavHostFragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Hello World!"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
||||
app:defaultNavHost="true"
|
||||
app:navGraph="@navigation/app_nav_graph"/>
|
||||
|
||||
<com.google.android.material.bottomnavigation.BottomNavigationView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" >
|
||||
|
||||
|
||||
</com.google.android.material.bottomnavigation.BottomNavigationView>
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item
|
||||
android:id="@+id/homeTestUi"
|
||||
android:title="HomeTestUi" />
|
||||
|
||||
</menu>
|
|
@ -1,15 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/app_nav_graph"
|
||||
app:startDestination="@id/placeholder">
|
||||
|
||||
<include app:graph="@navigation/ui_home_nav_graph" />
|
||||
<fragment android:id="@+id/placeholder" >
|
||||
<action
|
||||
android:id="@+id/action_placeholder_to_ui_home_nav_graph"
|
||||
app:destination="@id/ui_home_nav_graph" />
|
||||
</fragment>
|
||||
|
||||
|
||||
</navigation>
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/ui_home_nav_graph"
|
||||
app:startDestination="@id/homeTestUi">
|
||||
|
||||
<fragment
|
||||
android:id="@+id/homeTestUi"
|
||||
android:name="one.nem.ui.home.HomeTestUi"
|
||||
android:label="HomeTestUi" />
|
||||
</navigation>
|
Loading…
Reference in New Issue
Block a user