|
|
@@ -4,34 +4,36 @@
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
+ android:background="@color/white"
|
|
|
android:orientation="horizontal"
|
|
|
tools:context=".activity.BannerActivity"
|
|
|
- android:background="@color/white"
|
|
|
tools:ignore="MissingDefaultResource">
|
|
|
+
|
|
|
<RelativeLayout
|
|
|
- android:layout_weight="1"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1">
|
|
|
|
|
|
<com.stx.xhb.xbanner.XBanner
|
|
|
android:id="@+id/x_banner"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
- </com.stx.xhb.xbanner.XBanner>
|
|
|
+ android:layout_height="match_parent"></com.stx.xhb.xbanner.XBanner>
|
|
|
+
|
|
|
<com.github.chrisbanes.photoview.PhotoView
|
|
|
android:id="@+id/photo_view"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"/>
|
|
|
+ android:layout_height="match_parent" />
|
|
|
+
|
|
|
<ImageView
|
|
|
- android:visibility="gone"
|
|
|
android:id="@+id/iv_fullscreen"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:layout_marginRight="@dimen/textsize_20"
|
|
|
- android:layout_marginTop="@dimen/dp_40"
|
|
|
android:layout_width="@dimen/dp_40"
|
|
|
android:layout_height="@dimen/dp_40"
|
|
|
- android:src="@drawable/fullscreen">
|
|
|
- </ImageView>
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_marginTop="@dimen/dp_40"
|
|
|
+ android:layout_marginRight="@dimen/textsize_20"
|
|
|
+ android:src="@drawable/fullscreen"
|
|
|
+ android:visibility="gone"></ImageView>
|
|
|
+
|
|
|
<LinearLayout
|
|
|
android:id="@+id/iv_goback"
|
|
|
android:layout_width="wrap_content"
|
|
|
@@ -39,137 +41,138 @@
|
|
|
android:layout_marginLeft="@dimen/textsize_20"
|
|
|
android:layout_marginTop="@dimen/dp_40"
|
|
|
android:orientation="horizontal">
|
|
|
+
|
|
|
<ImageView
|
|
|
android:id="@+id/imag_back"
|
|
|
- android:layout_gravity="center"
|
|
|
android:layout_width="@dimen/textsize_20"
|
|
|
android:layout_height="@dimen/textsize_20"
|
|
|
- android:src="@mipmap/goback">
|
|
|
- </ImageView>
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:src="@mipmap/goback"></ImageView>
|
|
|
+
|
|
|
<TextView
|
|
|
- android:gravity="center"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:layout_gravity="center"
|
|
|
- android:textSize="@dimen/textsize_20"
|
|
|
+ android:gravity="center"
|
|
|
android:text="返回"
|
|
|
android:textColor="#DF77CE"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- </TextView>
|
|
|
+ android:textSize="@dimen/textsize_20"></TextView>
|
|
|
</LinearLayout>
|
|
|
</RelativeLayout>
|
|
|
+
|
|
|
<View
|
|
|
android:layout_width="1dp"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:background="@color/color_dark_grey">
|
|
|
- </View>
|
|
|
+ android:background="@color/color_dark_grey"></View>
|
|
|
+
|
|
|
<LinearLayout
|
|
|
- android:layout_weight="3"
|
|
|
- android:orientation="vertical"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:background="@color/white">
|
|
|
+ android:layout_weight="3"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
<TextView
|
|
|
- android:visibility="invisible"
|
|
|
android:id="@+id/tv_key_positions"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="@dimen/dp_40"
|
|
|
+ android:layout_gravity="center"
|
|
|
android:layout_marginLeft="30dp"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
android:layout_marginRight="30dp"
|
|
|
- android:layout_gravity="center"
|
|
|
android:background="@color/yellow_light"
|
|
|
android:gravity="center"
|
|
|
+ android:src="@drawable/search_48"
|
|
|
+ android:text="@string/key_positions"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="31sp"
|
|
|
- android:text="@string/key_positions"
|
|
|
- android:src="@drawable/search_48"
|
|
|
- android:layout_marginTop="20dp"/>
|
|
|
+ android:visibility="invisible" />
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:orientation="vertical"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
<LinearLayout
|
|
|
android:layout_width="120dp"
|
|
|
android:layout_height="140dp"
|
|
|
- android:layout_margin="@dimen/dp_10"
|
|
|
android:layout_gravity="center"
|
|
|
+ android:layout_margin="@dimen/dp_10"
|
|
|
android:background="@drawable/bg_chang_focus">
|
|
|
+
|
|
|
<ImageView
|
|
|
android:id="@+id/iv_pepole"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:layout_gravity="center"
|
|
|
- android:scaleType="fitXY">
|
|
|
- </ImageView>
|
|
|
+ android:scaleType="fitXY"></ImageView>
|
|
|
</LinearLayout>
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/iv_name"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textSize="@dimen/textsize_20"
|
|
|
android:layout_marginLeft="@dimen/textsize_20"
|
|
|
- android:text="姓名">
|
|
|
- </TextView>
|
|
|
+ android:text="姓名"
|
|
|
+ android:textSize="@dimen/textsize_20"></TextView>
|
|
|
+
|
|
|
<TextView
|
|
|
- android:layout_marginTop="5dp"
|
|
|
android:id="@+id/iv_jin"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textSize="@dimen/textsize_20"
|
|
|
android:layout_marginLeft="@dimen/textsize_20"
|
|
|
- android:text="技能">
|
|
|
- </TextView>
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:text="技能"
|
|
|
+ android:textSize="@dimen/textsize_20"></TextView>
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:layout_marginTop="5dp"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="30dp"
|
|
|
- android:orientation="horizontal"
|
|
|
- >
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_jixiao"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textSize="@dimen/textsize_20"
|
|
|
- android:layout_marginLeft="@dimen/textsize_20"
|
|
|
android:layout_gravity="center_vertical"
|
|
|
- android:text="绩效">
|
|
|
- </TextView>
|
|
|
+ android:layout_marginLeft="@dimen/textsize_20"
|
|
|
+ android:text="绩效"
|
|
|
+ android:textSize="@dimen/textsize_20"></TextView>
|
|
|
|
|
|
<ImageView
|
|
|
- android:visibility="gone"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
android:id="@+id/iv_jixiao"
|
|
|
android:layout_width="80dp"
|
|
|
android:layout_height="20dp"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
android:background="@color/red"
|
|
|
- />
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
+
|
|
|
<LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/textsize_20"
|
|
|
- android:layout_marginRight="@dimen/textsize_20"
|
|
|
android:layout_marginTop="5dp"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:layout_marginRight="@dimen/textsize_20"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
+
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_gravity="center"
|
|
|
- android:textSize="@dimen/textsize_20"
|
|
|
- android:text="人员">
|
|
|
- </TextView>
|
|
|
+ android:text="人员"
|
|
|
+ android:textSize="@dimen/textsize_20"></TextView>
|
|
|
+
|
|
|
<FrameLayout
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
@@ -187,26 +190,52 @@
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
-
|
|
|
</LinearLayout>
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/get_data"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="@dimen/dp_40"
|
|
|
+ android:layout_gravity="center"
|
|
|
android:layout_marginLeft="30dp"
|
|
|
+ android:layout_marginTop="30dp"
|
|
|
android:layout_marginRight="30dp"
|
|
|
- android:layout_gravity="center"
|
|
|
android:background="@drawable/bg_button"
|
|
|
android:gravity="center"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/textsize_20"
|
|
|
- android:text="获取人员信息"
|
|
|
android:src="@drawable/search_48"
|
|
|
- android:layout_marginTop="30dp"/>
|
|
|
+ android:text="获取人员信息"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/textsize_20" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="30dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ >
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginLeft="@dimen/textsize_20"
|
|
|
+ android:text="关键岗位: "
|
|
|
+ android:textSize="@dimen/textsize_20" />
|
|
|
+
|
|
|
+ <Switch
|
|
|
+ android:id="@+id/s_control"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:thumb="@drawable/custom_switch_thumb"
|
|
|
+ android:track="@drawable/custom_switch_track"
|
|
|
+ />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
|
|
|
</LinearLayout>
|