app第一阶段冲刺第三天
由于今天作业比较多,所以写的比较少,下面是布局代码
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:context=".activity.MainActivity"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/bottom_bg" android:orientation="horizontal"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_weight="10" android:gravity="center" android:padding="10dp" android:text="我的收藏" android:textColor="@color/gray_bg" android:textSize="25sp" /> </LinearLayout> <com.linlang.grasharepro.view.ListViewCompat android:id="@+id/lv_mycollect" android:layout_width="match_parent" android:layout_height="match_parent" android:divider="#000040" android:dividerHeight="1dp"/> </LinearLayout>
布局展示
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:context=".activity.MainActivity"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/bottom_bg" android:orientation="horizontal"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_weight="10" android:gravity="center" android:padding="10dp" android:text="我的粉丝" android:textColor="@color/gray_bg" android:textSize="25sp" /> </LinearLayout> <ScrollView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content"> <!-- 中间列表 --> <com.linlang.grasharepro.view.ListViewCompat android:id="@+id/lv_myfans" android:layout_width="match_parent" android:layout_height="match_parent" android:divider="#000040" android:dividerHeight="1dp"/> </LinearLayout> </ScrollView> </LinearLayout>
布局展示
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:context=".activity.MainActivity"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/bottom_bg" android:orientation="horizontal"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_weight="10" android:gravity="center" android:padding="10dp" android:text="我的关注" android:textColor="@color/gray_bg" android:textSize="25sp" /> </LinearLayout> <ScrollView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content"> <!-- 中间列表 --> <com.linlang.grasharepro.view.ListViewCompat android:id="@+id/lv_myfollow" android:layout_width="match_parent" android:layout_height="match_parent" android:divider="#000040" android:dividerHeight="1dp"/> </LinearLayout> </ScrollView> </LinearLayout>
布局展示
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:context=".activity.MainActivity"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/bottom_bg" android:orientation="horizontal"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_weight="10" android:gravity="center" android:padding="10dp" android:text="我发布的" android:textColor="@color/gray_bg" android:textSize="25sp" /> </LinearLayout> <ScrollView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content"> <!-- 中间列表 --> <com.linlang.grasharepro.view.ListViewCompat android:id="@+id/lv_myshare" android:layout_width="match_parent" android:layout_height="match_parent" android:divider="#000040" android:dividerHeight="1dp"/> </LinearLayout> </ScrollView> </LinearLayout>
布局展示
明天写个人设置,还有分享界面