MainActivity: Move navigation drawer items into dialogfragment
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -1,67 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Aurora Store
|
||||
~ Copyright (C) 2021, Rahul Kumar Patel <whyorean@gmail.com>
|
||||
~
|
||||
~ Aurora Store is free software: you can redistribute it and/or modify
|
||||
~ it under the terms of the GNU General Public License as published by
|
||||
~ the Free Software Foundation, either version 2 of the License, or
|
||||
~ (at your option) any later version.
|
||||
~
|
||||
~ Aurora Store is distributed in the hope that it will be useful,
|
||||
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
~ GNU General Public License for more details.
|
||||
~
|
||||
~ You should have received a copy of the GNU General Public License
|
||||
~ along with Aurora Store. If not, see <http://www.gnu.org/licenses/>.
|
||||
~
|
||||
-->
|
||||
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<group android:id="@+id/group1">
|
||||
<item
|
||||
android:id="@id/appsGamesFragment"
|
||||
android:icon="@drawable/ic_apps"
|
||||
android:title="@string/title_apps_games" />
|
||||
|
||||
<item
|
||||
android:id="@id/appSalesFragment"
|
||||
android:icon="@drawable/ic_sale"
|
||||
android:title="@string/title_apps_sale" />
|
||||
</group>
|
||||
|
||||
<group android:id="@+id/group2">
|
||||
<item
|
||||
android:id="@id/blacklistFragment"
|
||||
android:icon="@drawable/ic_blacklist"
|
||||
android:title="@string/title_blacklist_manager" />
|
||||
<item
|
||||
android:id="@id/spoofFragment"
|
||||
android:icon="@drawable/ic_spoof"
|
||||
android:title="@string/title_spoof_manager" />
|
||||
</group>
|
||||
|
||||
<group android:id="@+id/group3">
|
||||
<item
|
||||
android:id="@id/downloadFragment"
|
||||
android:icon="@drawable/ic_download_manager"
|
||||
android:title="@string/title_download_manager" />
|
||||
|
||||
<item
|
||||
android:id="@id/accountFragment"
|
||||
android:icon="@drawable/ic_account_manager"
|
||||
android:title="@string/title_account_manager" />
|
||||
</group>
|
||||
|
||||
<group android:id="@+id/group4">
|
||||
<item
|
||||
android:id="@id/settingsFragment"
|
||||
android:icon="@drawable/ic_menu_settings"
|
||||
android:title="@string/title_settings" />
|
||||
|
||||
<item
|
||||
android:id="@id/aboutFragment"
|
||||
android:icon="@drawable/ic_menu_about"
|
||||
android:title="@string/title_about" />
|
||||
</group>
|
||||
</menu>
|
||||
@@ -24,5 +24,11 @@
|
||||
android:id="@+id/menu_download_manager"
|
||||
android:icon="@drawable/ic_download_manager"
|
||||
android:title="@string/title_download_manager"
|
||||
app:showAsAction="always" />
|
||||
app:showAsAction="ifRoom" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_more"
|
||||
android:icon="@drawable/ic_settings_account"
|
||||
android:title="@string/title_more"
|
||||
app:showAsAction="ifRoom" />
|
||||
</menu>
|
||||
|
||||
Reference in New Issue
Block a user