| | |
| | | |
| | | <variable |
| | | name="itemclidk" |
| | | type="com.dayu.pipirrapp.activity.OrderDetailActivity" /> |
| | | type="com.dayu.pipirrapp.activity.IssueDetailActivity" /> |
| | | |
| | | <variable |
| | | name="data" |
| | |
| | | android:id="@+id/ScrollView" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:layout_above="@+id/deal_button" |
| | | android:layout_above="@+id/delete_button" |
| | | android:layout_below="@+id/title" |
| | | android:layout_marginTop="5dp" |
| | | android:layout_marginBottom="5dp"> |
| | |
| | | android:layout_width="20dp" |
| | | android:layout_height="20dp" |
| | | android:layout_centerVertical="true" |
| | | android:layout_marginLeft="3dp" |
| | | android:layout_marginRight="10dp" |
| | | android:src="@drawable/ic_issue" /> |
| | | |
| | |
| | | android:maxLines="1" |
| | | android:text="@{data.issueReportId}" |
| | | android:textColor="@color/title_color" |
| | | android:textSize="@dimen/manage_item_text_size" /> |
| | | android:textSize="@dimen/order_detail_text_size" /> |
| | | |
| | | |
| | | <TextView |
| | |
| | | android:layout_height="wrap_content" |
| | | android:text="上报时间:" |
| | | android:textColor="@color/manage_item_text" |
| | | android:textSize="@dimen/manage_item_text_size" /> |
| | | android:textSize="@dimen/order_detail_text_size" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/xiangMuJianCheng" |
| | |
| | | android:maxLines="1" |
| | | android:text="@{data.reportTime}" |
| | | android:textColor="@color/manage_item_text" |
| | | android:textSize="@dimen/manage_item_text_size" /> |
| | | android:textSize="@dimen/order_detail_text_size" /> |
| | | </LinearLayout> |
| | | |
| | | |
| | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | |
| | | android:layout_marginTop="10dp" |
| | | android:orientation="horizontal"> |
| | | |
| | | |
| | | <TextView |
| | | android:id="@+id/daiShenPiTag" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="上报内容:" |
| | | android:textColor="@color/manage_item_text" |
| | | android:textSize="@dimen/manage_item_text_size" /> |
| | | <TextView |
| | | android:id="@+id/daiShenPiTag" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="上报内容:" |
| | | android:textColor="@color/manage_item_text" |
| | | android:textSize="@dimen/order_detail_text_size" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/daiShenPi" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:ellipsize="end" |
| | | android:maxLines="1" |
| | | android:text="@{data.content}" |
| | | android:textColor="@color/manage_item_text" |
| | | android:textSize="@dimen/order_detail_text_size" /> |
| | | </LinearLayout> |
| | | |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:layout_marginTop="10dp" |
| | | android:orientation="vertical"> |
| | | |
| | | <TextView |
| | | |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="上报图片:" |
| | | android:textColor="@color/manage_item_text" |
| | | android:textSize="@dimen/order_detail_text_size" /> |
| | | |
| | | <androidx.recyclerview.widget.RecyclerView |
| | | android:id="@+id/recyclerView" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_centerInParent="true" |
| | | android:layout_marginTop="10dp" |
| | | android:minHeight="80dp" /> |
| | | |
| | | |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:id="@+id/callBackLL" |
| | | android:layout_width="match_parent" |
| | | android:orientation="vertical" |
| | | android:layout_height="wrap_content"> |
| | | <LinearLayout |
| | | android:id="@+id/orderDealLL" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="15dp" |
| | | android:orientation="vertical" |
| | | android:visibility="visible"> |
| | | |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="2dp" |
| | | android:background="@color/base_blue" /> |
| | | |
| | | <TextView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="5dp" |
| | | android:gravity="center" |
| | | android:text="回复信息" |
| | | android:textColor="@color/base_blue" |
| | | android:textSize="@dimen/order_detail_text_size" /> |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="10dp" |
| | | android:orientation="horizontal"> |
| | | |
| | | |
| | | <TextView |
| | | android:id="@+id/daiShenPi" |
| | | |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="回复时间:" |
| | | android:textColor="@color/manage_item_text" |
| | | android:textSize="@dimen/order_detail_text_size" /> |
| | | |
| | | <TextView |
| | | |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:ellipsize="end" |
| | | android:maxLines="1" |
| | | android:text="@{data.content}" |
| | | android:text="@{data.reportTime}" |
| | | android:textColor="@color/manage_item_text" |
| | | android:textSize="@dimen/manage_item_text_size" /> |
| | | android:textSize="@dimen/order_detail_text_size" /> |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="10dp" |
| | | android:orientation="horizontal"> |
| | | |
| | | |
| | | <TextView |
| | | |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="回复内容:" |
| | | android:textColor="@color/manage_item_text" |
| | | android:textSize="@dimen/order_detail_text_size" /> |
| | | |
| | | <TextView |
| | | |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:ellipsize="end" |
| | | android:maxLines="1" |
| | | android:text="@{data.replyContent}" |
| | | android:textColor="@color/manage_item_text" |
| | | android:textSize="@dimen/order_detail_text_size" /> |
| | | </LinearLayout> |
| | | |
| | | |
| | | |
| | | </LinearLayout> |
| | | </LinearLayout> |
| | | </ScrollView> |
| | | |
| | | |
| | | <TextView |
| | | android:id="@+id/deal_button" |
| | | android:id="@+id/delete_button" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="@dimen/order_detail_button_height" |
| | | android:layout_alignParentBottom="true" |
| | | android:background="@color/title_color" |
| | | android:gravity="center" |
| | | android:onClick="@{()->itemclidk.startDealActivity()}" |
| | | android:text="处理工单" |
| | | android:onClick="@{()->itemclidk.deleteIssue()}" |
| | | android:text="删除问题" |
| | | android:textColor="@color/white" |
| | | android:textSize="@dimen/order_detail_button_size" |
| | | android:visibility="gone" /> |
| | | android:visibility="visible" /> |
| | | |
| | | |
| | | </RelativeLayout> |