Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make the `scrollbar` appear on the left side?

In an Android ListView, how can I make the scrollbar appear on the left side?

like image 713
Adham Avatar asked May 31 '12 02:05

Adham


People also ask

How do I move the scroll bar to the left CSS?

The way to do it is add div with direction: rtl; as parent element, and for child div set direction: ltr; . $( ". your selector of child element" ). wrap( "<div class='scroll'></div>" );

How do I change the position of my scroll bar?

We can use the CSS “::-webkit-scrollbar” property which is responsible for changing the shape, color, size, shade, shadow, etc. of the scroll bar. But, here the property which we will use is the direction property of CSS for changing the position of the scroll bar.

How do I turn on side scrolling?

Click One-Finger Scrolling. Select the Enable horizontal scrolling check box in the right pane. Click Apply and OK to save and go back to the Desktop. The horizontal scrolling function should be working on any application that needs to scroll left or right.


2 Answers

example:

mView.setVerticalScrollbarPosition(View.SCROLLBAR_POSITION_LEFT); 
like image 76
FoamyGuy Avatar answered Sep 28 '22 04:09

FoamyGuy


You can move the scrollbar position to the left for any View using View.SCROLLBAR_POSITION_LEFT.

like image 42
Tanvir Ahmed Avatar answered Sep 28 '22 02:09

Tanvir Ahmed