mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 03:12:15 +00:00
Add: Main actions' menu [new UI]
This commit is contained in:
parent
114a2574ff
commit
cb352ba724
24
src/main/res/menu/menu_main.xml
Normal file
24
src/main/res/menu/menu_main.xml
Normal file
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item
|
||||
android:id="@+id/toolbar_search"
|
||||
android:icon="@drawable/ic_search"
|
||||
android:title="@string/search"
|
||||
app:actionViewClass="com.looker.droidify.widget.FocusSearchView"
|
||||
app:showAsAction="always|collapseActionView" />
|
||||
|
||||
<item
|
||||
android:id="@+id/sync_repos"
|
||||
android:icon="@drawable/ic_sync"
|
||||
android:onClick="syncManual"
|
||||
android:title="@string/sync_repositories"
|
||||
app:showAsAction="ifRoom|collapseActionView" />
|
||||
|
||||
<item
|
||||
android:id="@+id/settings"
|
||||
android:icon="@drawable/ic_tune"
|
||||
android:onClick="navigateSettings"
|
||||
android:title="@string/settings"
|
||||
app:showAsAction="ifRoom" />
|
||||
</menu>
|
Loading…
x
Reference in New Issue
Block a user