0

I have implemented horizontalscrollview and I am using horizontalView.fullScroll(HorizontalScrollView.FOCUS_RIGHT to focus on last element.

How I can do that in XML?

Nicolas Henneaux
  • 11,507
  • 11
  • 57
  • 82
user1302569
  • 7,131
  • 13
  • 46
  • 66
  • AFAIK, this is impossible. See here: http://stackoverflow.com/questions/4720469/horizontalscrollview-auto-scroll-to-end-when-new-views-are-added/4720563#4720563 – dberm22 Mar 11 '13 at 15:02
  • Why do you need it in XML anyway? This is something you do after adding the layout. – Edward van Raak Mar 11 '13 at 15:03

0 Answers0