|
|
@@ -2,7 +2,7 @@
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="vertical" >
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/time_tv"
|
|
|
@@ -17,12 +17,13 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:gravity="right"
|
|
|
android:orientation="horizontal"
|
|
|
- android:padding="3dip" >
|
|
|
+ android:padding="3dip">
|
|
|
|
|
|
- <ImageView
|
|
|
+ <com.sk.weichat.view.RoundCornerImageView
|
|
|
android:id="@+id/chat_head_iv"
|
|
|
android:layout_width="48dip"
|
|
|
android:layout_height="48dip"
|
|
|
+ android:scaleType="centerCrop"
|
|
|
android:layout_alignParentRight="true"
|
|
|
android:contentDescription="@string/app_name"
|
|
|
android:src="@drawable/avatar_normal" />
|
|
|
@@ -40,7 +41,7 @@
|
|
|
android:layout_width="275dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_below="@+id/nick_name"
|
|
|
- android:layout_toLeftOf="@+id/chat_head_iv" >
|
|
|
+ android:layout_toLeftOf="@+id/chat_head_iv">
|
|
|
|
|
|
<FrameLayout
|
|
|
android:id="@+id/chat_from_warp_view"
|
|
|
@@ -48,22 +49,22 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_alignParentRight="true"
|
|
|
android:layout_alignParentTop="true"
|
|
|
- android:background="@drawable/chat_bg_blue_press"
|
|
|
android:clickable="true"
|
|
|
android:focusable="true"
|
|
|
android:gravity="center"
|
|
|
- android:orientation="vertical" >
|
|
|
-
|
|
|
+ android:orientation="vertical">
|
|
|
<!-- 所有Item该布局的子布局不能超过210dp -->
|
|
|
|
|
|
- <ImageView
|
|
|
+
|
|
|
+ <com.sk.weichat.view.RoundCornerImageView
|
|
|
android:id="@+id/chat_from_image"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
android:adjustViewBounds="true"
|
|
|
+ android:background="@drawable/chat_bg_blue_press"
|
|
|
android:contentDescription="@string/app_name"
|
|
|
android:maxWidth="210dp"
|
|
|
- android:scaleType="fitXY"
|
|
|
+ android:scaleType="centerCrop"
|
|
|
android:src="@drawable/defaultpic" />
|
|
|
|
|
|
<ProgressBar
|