Skip to content
This repository has been archived by the owner on Apr 24, 2018. It is now read-only.

How to use in action bar? #450

Open
Kvaibhav01 opened this issue Nov 9, 2017 · 1 comment
Open

How to use in action bar? #450

Kvaibhav01 opened this issue Nov 9, 2017 · 1 comment

Comments

@Kvaibhav01
Copy link

I want to know how can we implement this library in action bar item?
I have two items in my main.xml file:

<item
        android:id="@+id/action_about"
        android:title="@string/about"
        android:icon="@drawable/ic_action_about"
        app:showAsAction="always"
        android:orderInCategory="2"/>

    <item
        android:id="@+id/action_settings"
        android:title="@string/settings_menu_item"
        android:icon="@drawable/ic_filter"
        android:orderInCategory="1"
        app:showAsAction="ifRoom" />

I want the user to know what they can do by highlighting the above items by this library.

@mareksabo
Copy link

Just read the README.md and look at the sample project, you can start here.

Also, you have to define toolbar manually - see related issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants