You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

95 lines
3.3 KiB
XML

<?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:orientation="vertical">
<TextView
android:id="@+id/tv_dept_name"
android:layout_width="match_parent"
android:layout_height="70px"
android:background="@color/gainsboro"
android:gravity="center_vertical"
android:paddingLeft="20px"
android:text="部门"
android:textSize="30px" />
<LinearLayout
android:id="@+id/ll"
android:layout_width="match_parent"
android:layout_height="100px"
android:background="@drawable/selector_list_item"
android:gravity="center"
android:orientation="horizontal">
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/headView"
android:layout_width="60px"
android:layout_height="60px"
android:layout_margin="20px"
android:src="@drawable/head_photo">
</de.hdodenhof.circleimageview.CircleImageView>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="horizontal">
<TextView
android:id="@+id/tv_name"
android:layout_width="match_parent"
android:layout_height="65px"
android:gravity="center_vertical"
android:layout_weight="1"
android:paddingLeft="20px"
android:text="管理员"
android:textSize="35px" />
<TextView
android:id="@+id/mainid_text"
android:layout_width="match_parent"
android:layout_weight="1"
android:layout_marginRight="10dp"
android:layout_height="65px"
android:visibility="gone"
android:gravity="right"
android:text="mainid"
android:textSize="35px" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="65px"
android:visibility="gone">
<TextView
android:id="@+id/tv_phone1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:drawableLeft="@drawable/icon_phone"
android:gravity="center_vertical"
android:padding="20px"
android:text="13809878676"
android:textSize="25px" />
<TextView
android:id="@+id/tv_phone2"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:drawableLeft="@drawable/icon_phone1"
android:gravity="center_vertical"
android:padding="20px"
android:paddingLeft="20px"
android:text="0756-1232321"
android:textSize="25px" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>