By default HorizontalScrollView
scrolls from Left to Right but I want to scroll from Right to Left.
How to do this? Any help will be appreciated.
By default HorizontalScrollView
scrolls from Left to Right but I want to scroll from Right to Left.
How to do this? Any help will be appreciated.
add layout_gravity RIGHT its helpful when items dose not wrap hole with
and in code need to scroll to the end of list
to set layout_gravity programmatically use this :
You can scroll it to the right edge of your scroll view in your code with something like this:
Related Q and A is https://stackoverflow.com/a/4720563/2511775