|
@@ -1,5 +1,5 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:background="@color/white"
|
|
@@ -7,132 +7,154 @@
|
|
|
android:focusableInTouchMode="true"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
- <FrameLayout
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:paddingTop="30dp">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/adapter_item_comment_item_userhead"
|
|
|
- android:layout_width="96dp"
|
|
|
- android:layout_height="96dp"
|
|
|
- android:layout_gravity="top|right"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:alpha="0.6"
|
|
|
- android:scaleType="fitXY"
|
|
|
- android:src="@color/translucent_background"></ImageView>
|
|
|
- </FrameLayout>
|
|
|
-
|
|
|
- <FrameLayout
|
|
|
- android:layout_width="0dp"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="4">
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:clickable="true"
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:paddingTop="30dp">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/adapter_item_comment_item_userhead"
|
|
|
+ android:layout_width="96dp"
|
|
|
+ android:layout_height="96dp"
|
|
|
+ android:layout_gravity="top|right"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginRight="10dp"
|
|
|
+ android:alpha="0.6"
|
|
|
+ android:scaleType="fitXY"
|
|
|
+ android:src="@color/translucent_background"></ImageView>
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="vertical"
|
|
|
- android:padding="30dp">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/adapter_item_comment_item_nickname"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="41dp"
|
|
|
- android:alpha="0.8"
|
|
|
- android:gravity="center|left"
|
|
|
- android:text="昵称:喔喔奶糖"
|
|
|
- android:textColor="#000000"
|
|
|
- android:textSize="29dp"></TextView>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/adapter_item_comment_item_comment"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:alpha="0.8"
|
|
|
- android:gravity="center|left"
|
|
|
- android:text="太棒啦,可以当播音主持啦。太棒啦,可以当播音主持啦。太棒啦"
|
|
|
- android:textColor="#000000"
|
|
|
- android:textSize="30dp"></TextView>
|
|
|
-
|
|
|
- <Space
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="23dp"></Space>
|
|
|
+ android:layout_weight="4">
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/adapter_item_comment_item_relayout"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="20dp"
|
|
|
- android:background="#F7F7F7"
|
|
|
android:orientation="vertical"
|
|
|
- android:padding="20dp"></LinearLayout>
|
|
|
-
|
|
|
+ android:padding="30dp">
|
|
|
|
|
|
- <FrameLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="60dp"
|
|
|
- android:paddingTop="20dp"
|
|
|
- android:paddingRight="20dp">
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/adapter_item_comment_item_nickname"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="41dp"
|
|
|
+ android:alpha="0.8"
|
|
|
+ android:gravity="center|left"
|
|
|
+ android:text="昵称:喔喔奶糖"
|
|
|
+ android:textColor="#000000"
|
|
|
+ android:textSize="26dp"></TextView>
|
|
|
+
|
|
|
+ <Space
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="6dp"></Space>
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/adapter_item_comment_item_time"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:id="@+id/adapter_item_comment_item_comment"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center|left"
|
|
|
- android:text="12-17 12:51"
|
|
|
- android:textSize="29dp"></TextView>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/adapter_item_comment_item_comment_thumb_layout"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/adapter_item_comment_item_comment_thumb_layout_img_status"
|
|
|
- android:layout_width="40dp"
|
|
|
- android:layout_height="40dp"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:src="@drawable/adapter_item_comment_item_thumb_false"></ImageView>
|
|
|
+ android:gravity="center|left"
|
|
|
+ android:text="太棒啦,可以当播音主持啦。太棒啦,可以当播音主持啦。太棒啦"
|
|
|
+ android:textColor="#666666"
|
|
|
+ android:textSize="24dp"></TextView>
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/adapter_item_comment_item_comment_thumb_layout_thumbnum"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:layout_marginBottom="3dp"
|
|
|
- android:text="点赞数"
|
|
|
- android:textSize="29dp"></TextView>
|
|
|
- </LinearLayout>
|
|
|
+ <Space
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="23dp"></Space>
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/adapter_item_comment_item_comment_recomment_layout"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:id="@+id/adapter_item_comment_item_relayout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center|right"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:background="#F7F7F7"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="20dp"></LinearLayout>
|
|
|
|
|
|
- <ImageView
|
|
|
- android:layout_width="40dp"
|
|
|
- android:layout_height="40dp"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:src="@drawable/adapter_item_comment_item_recomment"></ImageView>
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="60dp"
|
|
|
+ android:paddingTop="20dp"
|
|
|
+ android:paddingRight="20dp">
|
|
|
|
|
|
<TextView
|
|
|
+ android:id="@+id/adapter_item_comment_item_time"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center|left"
|
|
|
+ android:text="12-17 12:51"
|
|
|
+ android:textSize="22dp"></TextView>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/adapter_item_comment_item_comment_thumb_layout"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
android:layout_gravity="center"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:layout_marginBottom="3dp"
|
|
|
- android:text="回复"
|
|
|
- android:textSize="29dp"></TextView>
|
|
|
- </LinearLayout>
|
|
|
- </FrameLayout>
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- </FrameLayout>
|
|
|
-</LinearLayout>
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/adapter_item_comment_item_comment_thumb_layout_img_status"
|
|
|
+ android:layout_width="40dp"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:scaleX="0.9"
|
|
|
+ android:scaleY="0.9"
|
|
|
+ android:src="@drawable/adapter_item_comment_item_thumb_false"></ImageView>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/adapter_item_comment_item_comment_thumb_layout_thumbnum"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:layout_marginBottom="3dp"
|
|
|
+ android:text="点赞数"
|
|
|
+ android:textSize="22dp"></TextView>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/adapter_item_comment_item_comment_recomment_layout"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center|right"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="40dp"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:scaleX="0.9"
|
|
|
+ android:scaleY="0.9"
|
|
|
+ android:src="@drawable/adapter_item_comment_item_recomment"></ImageView>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
+ android:layout_marginBottom="3dp"
|
|
|
+ android:text="回复"
|
|
|
+ android:textSize="22dp"></TextView>
|
|
|
+ </LinearLayout>
|
|
|
+ </FrameLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_gravity="bottom"
|
|
|
+ android:layout_marginLeft="110dp"
|
|
|
+ android:background="#eeeeee"></FrameLayout>
|
|
|
+</FrameLayout>
|