mirror of
https://github.com/gsantner/dandelion
synced 2025-12-16 01:01:11 +01:00
Top toolbar with overflow icons and light/dark theme
This commit is contained in:
parent
aaa2445bef
commit
a96e91aefb
14 changed files with 108 additions and 119 deletions
|
|
@ -4,29 +4,5 @@
|
|||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:ignore="AlwaysShowAction">
|
||||
|
||||
<item
|
||||
android:icon="@drawable/ic_share_white_48px"
|
||||
android:orderInCategory="300"
|
||||
android:title="@string/action_share_dotdotdot"
|
||||
app:showAsAction="always">
|
||||
<menu>
|
||||
<item
|
||||
android:id="@+id/action_share_screenshot"
|
||||
android:title="@string/share__share_screenshot" />
|
||||
<item
|
||||
android:id="@+id/action_take_screenshot"
|
||||
android:title="@string/share__take_screenshot" />
|
||||
<item
|
||||
android:id="@+id/action_share_link"
|
||||
android:title="@string/share__share_link_as_text" />
|
||||
</menu>
|
||||
</item>
|
||||
|
||||
<item
|
||||
android:id="@+id/action_go_to_top"
|
||||
android:icon="@drawable/ic_arrow_upward_white_48px"
|
||||
android:orderInCategory="400"
|
||||
android:title="@string/action_go_to_top"
|
||||
app:showAsAction="always" />
|
||||
|
||||
</menu>
|
||||
|
|
@ -1,10 +1,36 @@
|
|||
<?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:icon="@drawable/ic_share_white_48px"
|
||||
android:orderInCategory="300"
|
||||
android:title="@string/action_share_dotdotdot"
|
||||
app:showAsAction="never">
|
||||
<menu>
|
||||
<item
|
||||
android:id="@+id/action_share_screenshot"
|
||||
android:title="@string/share__share_screenshot" />
|
||||
<item
|
||||
android:id="@+id/action_take_screenshot"
|
||||
android:title="@string/share__take_screenshot" />
|
||||
<item
|
||||
android:id="@+id/action_share_link"
|
||||
android:title="@string/share__share_link_as_text" />
|
||||
</menu>
|
||||
</item>
|
||||
|
||||
<item
|
||||
android:id="@+id/action_go_to_top"
|
||||
android:icon="@drawable/ic_arrow_upward_white_48px"
|
||||
android:orderInCategory="400"
|
||||
android:title="@string/action_go_to_top"
|
||||
app:showAsAction="never" />
|
||||
|
||||
<item
|
||||
android:id="@+id/action_reload"
|
||||
android:icon="@drawable/ic_refresh_white_48px"
|
||||
android:orderInCategory="1000"
|
||||
android:title="@string/reload"
|
||||
app:showAsAction="always" />
|
||||
app:showAsAction="never" />
|
||||
</menu>
|
||||
Loading…
Add table
Add a link
Reference in a new issue