</TableRow>
<View android:id="@+id/someidvalue" 
  android:layout_height="1dip"
  android:background="#FF909090" />

View myView = (View)findViewById(R.id.someidvalue)

 

myView.setMinimumHeight(height) 或者
myView.setLayoutParams(new ViewGroup.LayoutParam(width, height))

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案