This commit is contained in:
renjianbo0118
2021-02-27 23:06:16 +08:00
parent 60fdeb3488
commit dddcab077e
6 changed files with 440 additions and 8 deletions

View File

@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="utf-8"?>
<layout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="0dip"
android:fitsSystemWindows="true"
tools:context=".Main1Fragment">
<!-- TODO: Update blank fragment layout -->
<RelativeLayout
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_marginTop="0dip"
android:background="#F7F7F7"
android:layout_height="match_parent">
<my_view.tao_bao_refresh.TaoBaoRefreshLayout
android:id="@+id/taobao_refresh_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<my_view.tao_bao_refresh.ScrollViewExtend
android:id="@+id/scroll_view_extend"
android:fillViewport="true"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<my_view.tao_bao_refresh.RecyView
android:layout_width="match_parent"
android:id="@+id/recy_view"
android:layout_height="match_parent">
</my_view.tao_bao_refresh.RecyView>
</LinearLayout>
</my_view.tao_bao_refresh.ScrollViewExtend>
</my_view.tao_bao_refresh.TaoBaoRefreshLayout>
</RelativeLayout>
<include
android:id="@+id/noDate"
layout="@layout/no_data_view"
android:visibility="gone">
</include>
</FrameLayout>
</layout>

View File

@@ -0,0 +1,87 @@
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android">
<data>
<variable
name="myentity"
type="entity.SimpleEntity">
</variable>
</data>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="2dip"
android:background="@color/f7" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="50dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="60dp"
android:paddingLeft="12dp"
android:gravity="center_vertical"
android:background="@color/white"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:text="家庭成员"
android:textColor="#333333"
android:textSize="19sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:text="@{myentity.string12}"
android:textColor="#333333"
android:textSize="19sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:gravity="center_vertical"
android:text="@{myentity.string1}"
android:textColor="#333333"
android:textSize="19sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:text="@{myentity.string2}"
android:textColor="@color/lightlittleGrey"
android:textSize="15sp" />
</LinearLayout>
<View
android:layout_width="0.5dip"
android:layout_margin="15dp"
android:background="@color/LightGray"
android:layout_toLeftOf="@+id/edit"
android:layout_height="match_parent"/>
<ImageView
android:id="@+id/edit"
android:layout_width="28dp"
android:layout_height="28dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginTop="15dp"
android:layout_marginBottom="15dp"
android:layout_marginStart="24dip"
android:visibility="gone"
android:layout_marginEnd="24dip"
android:background="@mipmap/xie" />
</RelativeLayout>
</LinearLayout>
</layout>