Optimized NavigationView, the way to exit.

Add vibration and shadow to tool buttons.
This commit is contained in:
2022-04-03 01:17:47 +08:00
parent 6c662f8389
commit b2f7ccb29d
7 changed files with 102 additions and 4 deletions

View File

@@ -23,7 +23,7 @@
</aapt:attr>
</path>
<path
android:fillColor="?attr/app_theme"
android:fillColor="@color/default_app_theme"
android:fillType="nonZero"
android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
android:strokeWidth="1"

View File

@@ -16,6 +16,8 @@
android:id="@+id/nav_setting"
android:icon="@drawable/ic_menu_setting"
android:title="@string/menu_setting" />
</group>
<group android:checkableBehavior="single" android:id="@+id/nav_group_exit">
<item
android:id="@+id/nav_about"
android:icon="@drawable/ic_menu_about"