|
|
@@ -0,0 +1,146 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/item_color2"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="10dp">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/avatar_img"
|
|
|
+ android:layout_width="40dp"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:background="@drawable/avatar_normal"
|
|
|
+ android:contentDescription="@string/app_name"
|
|
|
+ android:scaleType="fitXY" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/name_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:layout_toRightOf="@+id/avatar_img"
|
|
|
+ android:text="周建伟"
|
|
|
+ android:textColor="@color/text_main"
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignLeft="@+id/name_tv"
|
|
|
+ android:layout_below="@+id/name_tv"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:text="1月12日 19:40"
|
|
|
+ android:textColor="@color/text_hine"
|
|
|
+ android:textSize="@dimen/text_hine" />
|
|
|
+
|
|
|
+ <RatingBar
|
|
|
+ android:id="@+id/ratingBar"
|
|
|
+ style="?android:attr/ratingBarStyleSmall"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:focusable="true"
|
|
|
+ android:isIndicator="true"
|
|
|
+ android:numStars="5"
|
|
|
+ android:rating="0"
|
|
|
+ android:stepSize="1" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/content_tv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/avatar_img"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:minLines="3" />
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/client_tag_rl"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/content_tv"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:background="@color/item_color1"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:padding="5dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/client_tag_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:drawableLeft="@drawable/oa_client"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:text="关联客户(3):"
|
|
|
+ android:textColor="@color/text_hine"
|
|
|
+ android:textSize="@dimen/text_hine" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignTop="@+id/client_tag_tv"
|
|
|
+ android:layout_marginLeft="3dp"
|
|
|
+ android:layout_marginTop="3dp"
|
|
|
+ android:layout_toRightOf="@+id/client_tag_tv"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:text="背景灌灌灌灌灌灌灌灌"
|
|
|
+ android:textColor="@color/text_hine"
|
|
|
+ android:textSize="@dimen/text_hine" />
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/comment_tag_ll"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/client_tag_rl"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:drawableLeft="@drawable/oa_rb_pass"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:text="以下为直属领导的点评:"
|
|
|
+ android:textColor="@color/text_hine"
|
|
|
+ android:textSize="@dimen/text_hine" />
|
|
|
+
|
|
|
+ <com.xzjmyk.pm.activity.view.MyListView
|
|
|
+ android:id="@+id/comment_listview"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/comment_tag_ll"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:background="@drawable/oa_signin_rl">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/like_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:layout_marginRight="20dp"
|
|
|
+ android:drawableLeft="@drawable/likes"
|
|
|
+ android:gravity="center"
|
|
|
+ android:padding="20dp"
|
|
|
+ android:text="1" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ android:layout_marginRight="20dp"
|
|
|
+ android:layout_toRightOf="@id/like_tv"
|
|
|
+ android:drawableLeft="@drawable/operate_more"
|
|
|
+ android:padding="20dp"
|
|
|
+ android:text="1" />
|
|
|
+ </RelativeLayout>
|
|
|
+</RelativeLayout>
|