Scroll view for textview in android

后端 未结 1 653
独厮守ぢ
独厮守ぢ 2021-02-06 10:36

I am adding three text views in a activity. I need scrollview for every textview. If i add scroll view the third one is only have the scroll view. How to set scroll view for all

1条回答
  •  抹茶落季
    2021-02-06 10:47

    You can arrange this quite easily by adding a property android:weight to each of your scrollviews.

    This does the trick :

    
    
        
    
    
        
    
    
        
    
    

    0 讨论(0)
提交回复
热议问题