|
|
@@ -0,0 +1,113 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="25dp"
|
|
|
+ android:layout_marginRight="25dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/name_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:layout_marginBottom="10dp"
|
|
|
+ android:layout_marginTop="15dp"
|
|
|
+ android:background="@drawable/text_hint_bg"
|
|
|
+ android:text="张三"
|
|
|
+ android:textColor="@color/green"
|
|
|
+ android:textSize="16sp"
|
|
|
+ />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:background="@drawable/rl_circular_bg">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/company_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingTop="5dp"
|
|
|
+ android:text="北大医院"
|
|
|
+ android:textColor="@color/green"
|
|
|
+ android:layout_alignParentTop="true"
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/department_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingTop="10dp"
|
|
|
+ android:text="骨科"
|
|
|
+ android:textColor="@color/green"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_marginRight="20dp"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/position_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingBottom="5dp"
|
|
|
+ android:paddingTop="10dp"
|
|
|
+ android:text="医师"
|
|
|
+ android:textColor="@color/green"
|
|
|
+ android:layout_below="@+id/department_tv"
|
|
|
+ android:layout_marginRight="20dp"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="2px"
|
|
|
+ android:background="@color/item_line"
|
|
|
+ android:layout_below="@+id/position_tv"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:layout_marginRight="20dp"
|
|
|
+ />
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:padding="10dp">
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/champion_im"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@drawable/phone"
|
|
|
+ />
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/phone_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="18122222222"
|
|
|
+ android:textColor="@color/green"
|
|
|
+ android:layout_toRightOf="@+id/champion_im"
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
+ android:layout_centerVertical="true"/>
|
|
|
+
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="15dp"
|
|
|
+ android:layout_height="15dp"
|
|
|
+ android:src="@drawable/next"
|
|
|
+ android:layout_marginRight="19dp"
|
|
|
+ android:layout_centerVertical="true"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_alignParentEnd="true"
|
|
|
+ android:layout_marginEnd="19dp"
|
|
|
+ android:id="@+id/imageView3" />
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+ </LinearLayout>
|
|
|
+</LinearLayout>
|