Upload sample code
AOrobator opened this issue · 6 comments
AOrobator commented
Can you upload the code from the sample apk so others can see how to use this library?
robbypond commented
+1
ozodrukh commented
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 commented
Sample code to use Reveal Color View Demo link : https://gist.github.com/markushi/68ce8df77bed164b6275
yongjhih commented
I've built a repository for example that supports gradle: https://github.com/yongjhih/android-ui-example
jonasborggren commented
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 commented
sample code please :-s