Take the 2-minute tour ×

I have a small question. I have implemented horizontalscrollview i code and I am using horizontalView.fullScroll(HorizontalScrollView.FOCUS_RIGHT); to focus on last element. How I can do that in xml?

share|improve this question
AFAIK, this is impossible. See here: stackoverflow.com/questions/4720469/… –  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

Your Answer



Browse other questions tagged or ask your own question.