Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload sample code #3

Open
AOrobator opened this issue Oct 6, 2014 · 6 comments
Open

Upload sample code #3

AOrobator opened this issue Oct 6, 2014 · 6 comments
Assignees

Comments

@AOrobator
Copy link

Can you upload the code from the sample apk so others can see how to use this library?

@robbypond
Copy link

+1

@ozodrukh
Copy link

ozodrukh commented Oct 7, 2014

How i'm using in my project :)

        ActionView mHome = new ActionView(c);
        mHome.setAction(new DrawerAction());
        mHome.setColor(Color.WHITE);
        mHome.setPadding(itemPadding, itemPadding, itemPadding, itemPadding);
        mHome.setBackgroundResource(R.drawable.default_toolbar_action_bg);
        mHome.setClickable(true);

        mHome.setAction(new BackAction());       // animate to new state

@clarkshu1016
Copy link

Sample code to use Reveal Color View Demo link : https://gist.github.com/markushi/68ce8df77bed164b6275

@yongjhih
Copy link

yongjhih commented Oct 9, 2014

I've built a repository for example that supports gradle: https://github.com/yongjhih/android-ui-example

@markushi markushi self-assigned this Oct 9, 2014
@jonasborggren
Copy link

I got it working with other menu items but not with the android.R.id.home one.
java.lang.UnsupportedOperationException where I use item.setActionView( hamburgerView );

@abbasalim
Copy link

sample code please :-s

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

No branches or pull requests

8 participants