|
|
@@ -1,17 +1,19 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<RelativeLayout
|
|
|
- xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<RelativeLayout 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="match_parent"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:orientation="vertical"
|
|
|
- >
|
|
|
- <LinearLayout
|
|
|
- android:orientation="vertical"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_width="match_parent">
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
<LinearLayout
|
|
|
- android:orientation="vertical"
|
|
|
- style="@style/form_relative_customer">
|
|
|
+ style="@style/form_relative_customer"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
<EditText
|
|
|
android:id="@+id/et_task_remark"
|
|
|
style="@style/form_relative_right_text"
|
|
|
@@ -20,16 +22,18 @@
|
|
|
android:layout_marginLeft="10dp"
|
|
|
android:hint="输入任务描述" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
- <View
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0.5dp"
|
|
|
android:layout_marginLeft="5dp"
|
|
|
android:layout_marginRight="5dp"
|
|
|
android:background="@color/light_grey" />
|
|
|
- <RelativeLayout
|
|
|
- android:layout_height="50dp"
|
|
|
- style="@style/form_relative_customer">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ style="@style/form_relative_customer"
|
|
|
+ android:layout_height="50dp">
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_task_startime"
|
|
|
@@ -40,31 +44,34 @@
|
|
|
android:text="截止时间" />
|
|
|
|
|
|
<EditText
|
|
|
- android:clickable="true"
|
|
|
android:id="@+id/et_task_startime"
|
|
|
style="@style/form_relative_right_text"
|
|
|
android:layout_marginLeft="10dp"
|
|
|
android:layout_toRightOf="@+id/tv_task_startime"
|
|
|
+ android:clickable="true"
|
|
|
android:hint="输入截止时间" />
|
|
|
|
|
|
</RelativeLayout>
|
|
|
- <View
|
|
|
+
|
|
|
+ <View
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0.5dp"
|
|
|
android:layout_marginLeft="5dp"
|
|
|
android:layout_marginRight="5dp"
|
|
|
android:background="@color/light_grey" />
|
|
|
- <!-- 语音 -->
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/lay_voice_layout"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:visibility="gone"
|
|
|
- style="@style/form_relative_customer">
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:padding="15dp"
|
|
|
- android:text="语音"/>
|
|
|
+ <!-- 语音 -->
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/lay_voice_layout"
|
|
|
+ style="@style/form_relative_customer"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:visibility="gone">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:padding="15dp"
|
|
|
+ android:text="语音" />
|
|
|
+
|
|
|
<LinearLayout
|
|
|
android:id="@+id/voice_display_voice_layout"
|
|
|
android:layout_width="150dip"
|
|
|
@@ -75,53 +82,57 @@
|
|
|
android:background="@drawable/globle_player_bg"
|
|
|
android:gravity="center_vertical"
|
|
|
android:orientation="horizontal"
|
|
|
- android:visibility="visible" >
|
|
|
+ android:visibility="visible">
|
|
|
|
|
|
- <ImageView
|
|
|
- android:id="@+id/voice_display_voice_play"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:src="@drawable/globle_player_btn_play" />
|
|
|
-
|
|
|
- <ProgressBar
|
|
|
- android:id="@+id/voice_display_voice_progressbar"
|
|
|
- style="?android:attr/progressBarStyleHorizontal"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="6dip"
|
|
|
- android:layout_margin="8dip"
|
|
|
- android:layout_weight="1"
|
|
|
- android:max="100"
|
|
|
- android:progress="0"
|
|
|
- android:progressDrawable="@drawable/globle_player_progress_bar_bg" />
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/voice_display_voice_play"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@drawable/globle_player_btn_play" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/voice_display_voice_time"
|
|
|
+ <ProgressBar
|
|
|
+ android:id="@+id/voice_display_voice_progressbar"
|
|
|
+ style="?android:attr/progressBarStyleHorizontal"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="6dip"
|
|
|
+ android:layout_margin="8dip"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:max="100"
|
|
|
+ android:progress="0"
|
|
|
+ android:progressDrawable="@drawable/globle_player_progress_bar_bg" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/voice_display_voice_time"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text=""
|
|
|
+ android:textColor="#999999"
|
|
|
+ android:textSize="12sp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_delete_voice"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text=""
|
|
|
- android:textColor="#999999"
|
|
|
- android:textSize="12sp" />
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_delete_voice"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:background="@drawable/iconfont_shanchu" />
|
|
|
- </LinearLayout>
|
|
|
- <View
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:background="@drawable/iconfont_shanchu" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
android:id="@+id/view_line"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0.5dp"
|
|
|
android:layout_marginLeft="5dp"
|
|
|
android:layout_marginRight="5dp"
|
|
|
- android:visibility="gone"
|
|
|
- android:background="@color/light_grey" />
|
|
|
- <RelativeLayout
|
|
|
- android:layout_height="50dp"
|
|
|
- style="@style/form_relative_customer">
|
|
|
+ android:background="@color/light_grey"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ style="@style/form_relative_customer"
|
|
|
+ android:layout_height="50dp">
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/tv_task_reply"
|
|
|
android:layout_width="wrap_content"
|
|
|
@@ -129,6 +140,7 @@
|
|
|
android:layout_centerVertical="true"
|
|
|
android:layout_marginLeft="10dp"
|
|
|
android:text="需要回复" />
|
|
|
+
|
|
|
<com.sk.weichat.ui.erp.view.SwitchView
|
|
|
android:id="@+id/cb_task_reply"
|
|
|
android:layout_width="50dp"
|
|
|
@@ -137,15 +149,18 @@
|
|
|
android:layout_centerVertical="true"
|
|
|
android:layout_marginRight="20dp" />
|
|
|
</RelativeLayout>
|
|
|
- <View
|
|
|
+
|
|
|
+ <View
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0.5dp"
|
|
|
android:layout_marginLeft="5dp"
|
|
|
android:layout_marginRight="5dp"
|
|
|
android:background="@color/light_grey" />
|
|
|
- <RelativeLayout
|
|
|
- android:layout_height="50dp"
|
|
|
- style="@style/form_relative_customer">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ style="@style/form_relative_customer"
|
|
|
+ android:layout_height="90dp">
|
|
|
+
|
|
|
<TextView
|
|
|
android:id="@+id/tv_task_peoples"
|
|
|
android:layout_width="wrap_content"
|
|
|
@@ -154,14 +169,31 @@
|
|
|
android:layout_marginLeft="10dp"
|
|
|
android:text=" 处理人" />
|
|
|
|
|
|
- <EditText
|
|
|
+ <!--<EditText
|
|
|
android:id="@+id/et_task_people"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="fill_parent"
|
|
|
android:layout_marginLeft="10dp"
|
|
|
+ android:layout_toLeftOf="@+id/iv_find"
|
|
|
android:layout_toRightOf="@+id/tv_task_peoples"
|
|
|
+ android:background="@null" />-->
|
|
|
+ <ScrollView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
android:layout_toLeftOf="@+id/iv_find"
|
|
|
- android:background="@null" />
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_marginBottom="5dp"
|
|
|
+ android:scrollbars="none"
|
|
|
+ android:layout_toRightOf="@+id/tv_task_peoples">
|
|
|
+ <com.sk.weichat.view.TagGroup
|
|
|
+ style="@style/TagGroup"
|
|
|
+ android:id="@+id/et_task_people"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="fill_parent"
|
|
|
+ android:background="@null"
|
|
|
+ />
|
|
|
+ </ScrollView>
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/iv_find"
|
|
|
@@ -173,41 +205,45 @@
|
|
|
android:src="@drawable/icon_find_voice" />
|
|
|
|
|
|
</RelativeLayout>
|
|
|
- <View
|
|
|
+
|
|
|
+ <View
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0.5dp"
|
|
|
android:layout_marginLeft="5dp"
|
|
|
android:layout_marginRight="5dp"
|
|
|
android:background="@color/light_grey" />
|
|
|
- <LinearLayout
|
|
|
- style="@style/form_linear_customer">
|
|
|
- <Button
|
|
|
- android:id="@+id/bt_task_add"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="40dp"
|
|
|
- android:layout_marginBottom="10dp"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:background="@drawable/btn_index_selector"
|
|
|
- android:text="保存"
|
|
|
- android:textColor="@color/white" />
|
|
|
- </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout style="@style/form_linear_customer">
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/bt_task_add"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:layout_marginBottom="10dp"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:background="@drawable/btn_index_selector"
|
|
|
+ android:text="保存"
|
|
|
+ android:textColor="@color/white" />
|
|
|
+ </LinearLayout>
|
|
|
</LinearLayout>
|
|
|
- <include
|
|
|
+
|
|
|
+ <include
|
|
|
android:id="@+id/ic_voice_center"
|
|
|
- layout="@layout/include_voice_center_size"
|
|
|
+ layout="@layout/include_voice_center_size"
|
|
|
android:layout_width="200dp"
|
|
|
android:layout_height="200dp"
|
|
|
- android:visibility="invisible"
|
|
|
- android:layout_centerInParent="true"/>
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:visibility="invisible" />
|
|
|
+
|
|
|
<ImageView
|
|
|
android:id="@+id/iv_recode"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_alignParentBottom="true"
|
|
|
android:layout_centerInParent="true"
|
|
|
- android:padding="20dp"
|
|
|
android:contentDescription="@string/app_name"
|
|
|
+ android:padding="20dp"
|
|
|
android:src="@drawable/icon_voice_black" />
|
|
|
- </RelativeLayout>
|
|
|
+</RelativeLayout>
|