mbw123
 
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <TextView
        android:id="@+id/textView"
        android:layout_width="match_parent"
        android:layout_height="35dp"
        android:background="#009688"
        android:gravity="center"
        android:text="购物清单"
        android:textColor="#E91E63"
        android:textSize="25sp" />

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:orientation="vertical">

        <ListView
            android:id="@+id/fruit_item"
            android:layout_width="match_parent"
            android:layout_height="match_parent" />
    </LinearLayout>
</LinearLayout>

 

分类:

技术点:

相关文章:

  • 2021-07-09
  • 2021-11-30
  • 2021-08-15
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2022-01-06
  • 2021-07-11
猜你喜欢
  • 2021-05-27
  • 2021-11-17
  • 2021-08-19
  • 2021-11-20
  • 2021-08-01
  • 2021-12-19
相关资源
相似解决方案