mirror of
https://github.com/niushuai233/DevControl.git
synced 2024-10-27 22:43:20 +08:00
fix: 调整按钮位置
This commit is contained in:
parent
c3346234fe
commit
68dcedf63a
@ -1,16 +1,16 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
<item
|
|
||||||
android:id="@id/bottom_nav_device"
|
|
||||||
android:icon="@drawable/ic_home"
|
|
||||||
android:title="@string/title_bottom_nav_menu_device" />
|
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@id/bottom_nav_log"
|
android:id="@id/bottom_nav_log"
|
||||||
android:icon="@drawable/ic_log"
|
android:icon="@drawable/ic_log"
|
||||||
android:title="@string/title_bottom_nav_menu_log" />
|
android:title="@string/title_bottom_nav_menu_log" />
|
||||||
|
|
||||||
|
<item
|
||||||
|
android:id="@id/bottom_nav_device"
|
||||||
|
android:icon="@drawable/ic_home"
|
||||||
|
android:title="@string/title_bottom_nav_menu_device" />
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@id/bottom_nav_set"
|
android:id="@id/bottom_nav_set"
|
||||||
android:icon="@drawable/ic_dashboard"
|
android:icon="@drawable/ic_dashboard"
|
||||||
|
@ -5,16 +5,19 @@
|
|||||||
android:id="@+id/main_navigation"
|
android:id="@+id/main_navigation"
|
||||||
app:startDestination="@id/bottom_nav_device">
|
app:startDestination="@id/bottom_nav_device">
|
||||||
|
|
||||||
<fragment
|
|
||||||
android:id="@id/bottom_nav_device"
|
|
||||||
android:name="cc.niushuai.project.devcontrol.ui.nav.main.device.NavDeviceFragment"
|
|
||||||
android:label="@string/title_bottom_nav_menu_device"
|
|
||||||
tools:layout="@layout/main_nav_fragment_device" />
|
|
||||||
<fragment
|
<fragment
|
||||||
android:id="@id/bottom_nav_log"
|
android:id="@id/bottom_nav_log"
|
||||||
android:name="cc.niushuai.project.devcontrol.ui.nav.main.log.NavLogFragment"
|
android:name="cc.niushuai.project.devcontrol.ui.nav.main.log.NavLogFragment"
|
||||||
android:label="@string/title_bottom_nav_menu_log"
|
android:label="@string/title_bottom_nav_menu_log"
|
||||||
tools:layout="@layout/main_nav_fragment_log" />
|
tools:layout="@layout/main_nav_fragment_log" />
|
||||||
|
|
||||||
|
<fragment
|
||||||
|
android:id="@id/bottom_nav_device"
|
||||||
|
android:name="cc.niushuai.project.devcontrol.ui.nav.main.device.NavDeviceFragment"
|
||||||
|
android:label="@string/title_bottom_nav_menu_device"
|
||||||
|
tools:layout="@layout/main_nav_fragment_device" />
|
||||||
|
|
||||||
<fragment
|
<fragment
|
||||||
android:id="@id/bottom_nav_set"
|
android:id="@id/bottom_nav_set"
|
||||||
android:name="cc.niushuai.project.devcontrol.ui.nav.main.setup.NavSetUpFragment"
|
android:name="cc.niushuai.project.devcontrol.ui.nav.main.setup.NavSetUpFragment"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user