<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@color/white"
   >

    <androidx.constraintlayout.widget.ConstraintLayout
        android:id="@+id/viewgroup"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        android:paddingBottom="@dimen/dp_15"
        android:paddingTop="@dimen/dp_40">
        <LinearLayout
            android:id="@+id/mHeaderLayout"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:gravity="center_vertical"
            android:orientation="horizontal"
            android:layout_marginLeft="@dimen/dp_15"
            app:layout_constraintBottom_toTopOf="@+id/ll_home_about"
            app:layout_constraintTop_toTopOf="parent">

            <LinearLayout
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:gravity="center_horizontal"
                android:orientation="horizontal">

                <!--   我的家人列表     -->
                <androidx.recyclerview.widget.RecyclerView
                    android:id="@+id/mRecycle"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:padding="@dimen/dp_5" />

            </LinearLayout>


            <RelativeLayout
                android:id="@+id/mMsgLayout"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginRight="@dimen/dp_25">

                <ImageView
                    android:id="@+id/mMsg"
                    android:layout_width="@dimen/dp_20"
                    android:layout_height="wrap_content"
                    android:visibility="gone"
                    android:src="@mipmap/ic_health_msg" />

                <androidx.cardview.widget.CardView
                    android:id="@+id/mBadgeCard"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginLeft="@dimen/dp_12"
                    android:visibility="gone"
                    app:cardBackgroundColor="@color/col_f23"
                    app:cardCornerRadius="@dimen/dp_10"
                    app:cardElevation="0dp">

                    <TextView
                        android:id="@+id/mBadge"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:gravity="center"
                        android:textColor="@color/white"
                        android:textSize="@dimen/dp_12" />
                </androidx.cardview.widget.CardView>
            </RelativeLayout>

        </LinearLayout>
        
        <LinearLayout
            android:id="@+id/ll_home_about"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal"
            android:layout_marginTop="@dimen/dp_14"
            app:layout_constraintTop_toBottomOf="@+id/mHeaderLayout"
            app:layout_constraintLeft_toLeftOf="parent">

            <androidx.recyclerview.widget.RecyclerView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:id="@+id/rv_layout"/>


            <LinearLayout
                android:id="@+id/ll_video_interview"
                android:layout_width="@dimen/dp_0"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:gravity="center"
                android:visibility="gone"
                android:orientation="vertical">

                <ImageView
                    android:layout_width="@dimen/dp_45"
                    android:layout_height="@dimen/dp_45"
                    android:background="@mipmap/icon__video_interview"/>

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="视频问诊"
                    android:textSize="@dimen/sp_14"
                    android:textColor="@color/col_313"
                    android:textStyle="bold"
                    android:layout_marginTop="11dp"/>


            </LinearLayout>
            <LinearLayout
                android:id="@+id/ll_health_records"
                android:layout_width="@dimen/dp_0"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:gravity="center"
                android:visibility="gone"
                android:orientation="vertical">

                <ImageView
                    android:layout_width="@dimen/dp_45"
                    android:layout_height="@dimen/dp_45"
                    android:background="@mipmap/icon__health_records"/>

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="健康档案"
                    android:textSize="@dimen/sp_14"
                    android:textColor="@color/col_313"
                    android:textStyle="bold"
                    android:layout_marginTop="11dp"/>


            </LinearLayout>
            <LinearLayout
                android:id="@+id/ll_health_code"
                android:layout_width="@dimen/dp_0"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:gravity="center"
                android:visibility="gone"
                android:orientation="vertical">

                <ImageView
                    android:layout_width="@dimen/dp_45"
                    android:layout_height="@dimen/dp_45"
                    android:background="@mipmap/icon__health_code"/>

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="健康医典"
                    android:textSize="@dimen/sp_14"
                    android:textColor="@color/col_313"
                    android:textStyle="bold"
                    android:layout_marginTop="11dp"/>


            </LinearLayout>

        </LinearLayout>


    </androidx.constraintlayout.widget.ConstraintLayout>
    <!--       健康评估cardview         -->

</androidx.constraintlayout.widget.ConstraintLayout>