<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
android:layout_width="match_parent"
|
android:background="@color/white"
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
android:layout_marginLeft="@dimen/margin_common"
|
android:layout_marginRight="@dimen/margin_common"
|
android:orientation="vertical"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
android:layout_marginBottom="20dp"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<TextView
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content" />
|
|
<ImageView
|
android:id="@+id/iv_setting"
|
android:src="@mipmap/ic_setting"
|
android:layout_width="30dp"
|
android:layout_height="30dp" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_marginRight="@dimen/margin_common"
|
android:layout_marginLeft="15dp"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
android:orientation="vertical"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
android:gravity="center_vertical"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<TextView
|
android:id="@+id/iv_name"
|
android:text="未登录"
|
android:textStyle="bold"
|
android:textSize="24sp"
|
android:textColor="@color/black_title"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
|
<TextView
|
android:layout_marginLeft="10dp"
|
android:id="@+id/tv_certificate"
|
android:text="实名认证"
|
android:textColor="@color/white"
|
android:paddingTop="4dp"
|
android:paddingBottom="4dp"
|
android:paddingLeft="6dp"
|
android:paddingRight="6dp"
|
android:drawablePadding="5dp"
|
android:drawableStart="@mipmap/ic_shield_white"
|
|
android:background="@drawable/shape_button_green"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
<TextView
|
android:id="@+id/iv_type"
|
android:layout_marginTop="10dp"
|
android:text="普通用户"
|
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content" />
|
</LinearLayout>
|
|
<cn.wildfire.chat.kit.widget.CircleImageView
|
app:es_shape_type="round"
|
android:layout_marginLeft="@dimen/margin_common_half"
|
android:id="@+id/iv_icon"
|
android:src="@mipmap/ic_icon"
|
android:layout_width="70dp"
|
android:layout_height="70dp" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_marginTop="20dp"
|
android:layout_marginBottom="40dp"
|
android:layout_width="match_parent"
|
android:layout_height="88dp">
|
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:layout_height="match_parent">
|
|
<androidx.cardview.widget.CardView
|
android:foreground="?android:attr/selectableItemBackground"
|
app:cardCornerRadius="@dimen/card_radius"
|
android:layout_width="160dp"
|
app:cardUseCompatPadding="true"
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
android:id="@+id/ll_order"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
android:layout_marginTop="14dp"
|
android:layout_marginLeft="@dimen/margin_common"
|
android:orientation="vertical"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="match_parent">
|
<TextView
|
android:textColor="@color/black_title"
|
android:textStyle="bold"
|
android:textSize="@dimen/text_size_16"
|
android:text="我的订单"
|
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
<TextView
|
android:textColor="@color/gray"
|
android:textSize="@dimen/text_size_14"
|
android:layout_marginTop="4dp"
|
android:singleLine="true"
|
android:ellipsize="end"
|
android:text="3订单"
|
android:id="@+id/tv_order_cnt"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
/>
|
</LinearLayout>
|
|
<ImageView
|
android:src="@mipmap/ic_order"
|
android:layout_marginRight="12dp"
|
android:layout_gravity="bottom"
|
android:layout_width="38dp"
|
android:layout_height="27dp" />
|
</LinearLayout>
|
</androidx.cardview.widget.CardView>
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="match_parent">
|
<androidx.cardview.widget.CardView
|
android:foreground="?android:attr/selectableItemBackground"
|
app:cardCornerRadius="@dimen/card_radius"
|
android:layout_width="160dp"
|
app:cardUseCompatPadding="true"
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
android:id="@+id/ll_coupon"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
android:layout_marginTop="14dp"
|
android:layout_marginLeft="@dimen/margin_common"
|
android:orientation="vertical"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="match_parent">
|
<TextView
|
android:textColor="@color/black_title"
|
android:textStyle="bold"
|
android:textSize="@dimen/text_size_16"
|
android:text="优惠券"
|
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
<TextView
|
android:textColor="@color/gray"
|
android:textSize="@dimen/text_size_14"
|
android:layout_marginTop="4dp"
|
android:singleLine="true"
|
android:ellipsize="end"
|
android:text="3张"
|
android:id="@+id/tv_coupon_cnt"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
/>
|
</LinearLayout>
|
|
<ImageView
|
android:src="@mipmap/ic_coupon"
|
android:layout_marginRight="12dp"
|
android:layout_gravity="bottom"
|
android:layout_width="38dp"
|
android:layout_height="27dp" />
|
</LinearLayout>
|
</androidx.cardview.widget.CardView>
|
|
</LinearLayout>
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_patients"
|
android:padding="16dp"
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<ImageView
|
android:layout_marginRight="@dimen/margin_common"
|
android:src="@mipmap/ic_patient"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
<TextView
|
|
android:layout_width="wrap_content"
|
android:text="患者管理"
|
android:textSize="18sp"
|
android:drawablePadding="9dp"
|
android:textColor="#363F4D"
|
android:layout_height="wrap_content" />
|
|
<LinearLayout
|
android:orientation="horizontal"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="match_parent">
|
|
</LinearLayout>
|
|
<ImageView
|
android:layout_gravity="center"
|
android:src="@mipmap/ic_right_arrow"
|
android:layout_width="12dp"
|
android:layout_height="12dp">
|
|
</ImageView>
|
</LinearLayout>
|
<TextView android:layout_marginLeft="12dp" style="@style/Line"/>
|
<LinearLayout
|
android:id="@+id/ll_scale"
|
android:padding="16dp"
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<ImageView
|
android:layout_marginRight="@dimen/margin_common"
|
android:src="@mipmap/is_scale"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
<TextView
|
|
android:layout_width="wrap_content"
|
android:text="随访量表"
|
android:textSize="18sp"
|
android:drawablePadding="9dp"
|
android:textColor="#363F4D"
|
android:layout_height="wrap_content" />
|
|
<TextView
|
android:id="@+id/tv_scale_need"
|
android:layout_marginLeft="@dimen/margin_common_half"
|
android:textSize="@dimen/text_size_12"
|
android:textColor="@color/red_common"
|
android:text="(今日待填写)"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
<LinearLayout
|
android:orientation="horizontal"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="match_parent">
|
|
</LinearLayout>
|
|
<ImageView
|
android:layout_gravity="center"
|
android:src="@mipmap/ic_right_arrow"
|
android:layout_width="12dp"
|
android:layout_height="12dp">
|
|
</ImageView>
|
</LinearLayout>
|
<TextView android:layout_marginLeft="12dp" style="@style/Line"/>
|
|
<LinearLayout
|
android:id="@+id/ll_collect"
|
android:padding="16dp"
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<ImageView
|
android:layout_marginRight="@dimen/margin_common"
|
android:src="@mipmap/ic_star_light"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
<TextView
|
|
android:layout_width="wrap_content"
|
android:text="我的收藏"
|
android:textSize="18sp"
|
android:drawablePadding="9dp"
|
android:textColor="#363F4D"
|
android:layout_height="wrap_content" />
|
|
<LinearLayout
|
android:orientation="horizontal"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="match_parent">
|
|
</LinearLayout>
|
|
<ImageView
|
android:layout_gravity="center"
|
android:src="@mipmap/ic_right_arrow"
|
android:layout_width="12dp"
|
android:layout_height="12dp">
|
|
</ImageView>
|
</LinearLayout>
|
<TextView android:layout_marginLeft="12dp" style="@style/Line"/>
|
|
<LinearLayout
|
android:id="@+id/ll_attention_dr"
|
android:padding="16dp"
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<ImageView
|
android:layout_marginRight="@dimen/margin_common"
|
android:src="@mipmap/ic_heart_add"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
<TextView
|
|
android:layout_width="wrap_content"
|
android:text="关注医生"
|
android:textSize="18sp"
|
android:drawablePadding="9dp"
|
android:textColor="#363F4D"
|
android:layout_height="wrap_content" />
|
|
<LinearLayout
|
android:orientation="horizontal"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="match_parent">
|
|
</LinearLayout>
|
|
<ImageView
|
android:layout_gravity="center"
|
android:src="@mipmap/ic_right_arrow"
|
android:layout_width="12dp"
|
android:layout_height="12dp">
|
|
</ImageView>
|
</LinearLayout>
|
<TextView android:layout_marginLeft="12dp" style="@style/Line"/>
|
|
<LinearLayout
|
android:id="@+id/ll_attention_disease"
|
android:padding="16dp"
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
<ImageView
|
android:layout_marginRight="@dimen/margin_common"
|
android:src="@mipmap/ic_eye"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"/>
|
<TextView
|
|
android:layout_width="wrap_content"
|
android:text="关注疾病"
|
android:textSize="18sp"
|
android:drawablePadding="9dp"
|
android:textColor="#363F4D"
|
android:layout_height="wrap_content" />
|
|
<LinearLayout
|
android:orientation="horizontal"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="match_parent">
|
|
</LinearLayout>
|
|
<ImageView
|
android:layout_gravity="center"
|
android:src="@mipmap/ic_right_arrow"
|
android:layout_width="12dp"
|
android:layout_height="12dp">
|
|
</ImageView>
|
</LinearLayout>
|
|
</LinearLayout>
|
</ScrollView>
|