Thursday, January 24, 2013

[android-developers] Re: adding a vertical bar between lateral views

viewPager.setMargin(20);
viewPager.setMarginDrawable(R.drawable.X);

does the job.


On Thursday, January 24, 2013 2:14:36 PM UTC-5, dashman wrote:
I'm using scrollable strip tabs to navigate thru multiple
pages.

I'd like to add a vertical line between the views when
the user navigates to a new page.

similar to the google play interface when navigating
laterally.

i know i can add a margin/padding to a view - but i
don't want the line/space to take up real-estate
once the new page is displayed.

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
 
 

No comments:

Post a Comment