Change Relative layout width and height dynamically

后端 未结 7 1146
眼角桃花
眼角桃花 2020-12-14 09:30

Hi i am using following layout structure inside LinearLayout



        
相关标签:
7条回答
  • 2020-12-14 10:01

    try using this

    getLayoutParams().height= x;
    requestLayout(); or invalidate(); 
    
    0 讨论(0)
提交回复
热议问题