Bloder
Bloder
Yes, you can try this : ``` java mViewPager.setMaterialViewPagerListener(new MaterialViewPager.Listener() { @Override public HeaderDesign getHeaderDesign(int page) { switch (page) { case 0: return HeaderDesign.fromColorResAndUrl( R.color.blue, "http://cdn1.tnwcdn.com/wp-content/blogs.dir/1/files/2014/06/wallpaper_51.jpg"); case 1: return HeaderDesign.fromColorResAndUrl(...
Try get your image from drawable by this resource string "android.resource://your_package_name/drawable/your_image_name"
but did you tried in HeaderDesign.fromColorResAndDrawable function or HeaderDesign.fromColorResAndUrl?
Could you paste here the errors, please?
Try to see where you changed system bar transparency, if you don't find you can set in your activity a color to it, like - ``` Window window = activity.getWindow();...
Ok, I did an example with this lib, maybe can help you fix this problem - https://github.com/bloder/megan-fox-layout Check how you are setting material adapter.
Why would you like to call onSubmitted manually? if you call this function without set those builder values, it will return you null pointer exception.
Ok, I'm out of time at the moment but when I got it, I can implement it, or you can fork this project and do it.
I made some changes in blorm class to support what you said, go to validate-yourself branch in Blorm.java:64 to see and tell me if it fix your problem.
@ErfanThinker It's already wrapping content but if you want to put long texts you need to increase the button size.