王立平-- android:layout_weight



<LinearLayout xmlns:andro
    android:layout_width="match_parent"
    android:layout_height="match_parent"
       android:background="#FFFFFF"
    android:orientation="vertical" >
    <TextView
        android:layout_width="fill_parent"
        android:layout_height="0dp"
        android:layout_weight="3"
        android:background="#D200D2"/>
     <TextView
        android:layout_width="fill_parent"
        android:layout_height="0dp"
        android:layout_weight="1"
        android:background="#6f00D2"/>
    

</LinearLayout>

相关文章:

  • 2022-12-23
  • 2021-05-08
  • 2021-12-30
  • 2021-08-12
  • 2021-07-23
  • 2021-05-24
  • 2022-12-23
猜你喜欢
  • 2022-01-26
  • 2021-08-14
  • 2022-01-07
  • 2021-04-06
  • 2021-05-28
  • 2021-12-31
  • 2021-08-25
相关资源
相似解决方案