Commit 19473c4bf84deed6444a05307cd881a45f2878e1
1 parent
1d77a571
修改布局
Showing
2 changed files
with
4 additions
and
4 deletions
app/src/main/res/layout/imag_layout_item_oppsite.xml
| @@ -19,8 +19,8 @@ | @@ -19,8 +19,8 @@ | ||
| 19 | 19 | ||
| 20 | <ImageView | 20 | <ImageView |
| 21 | android:id="@+id/img_content" | 21 | android:id="@+id/img_content" |
| 22 | - android:layout_width="wrap_content" | ||
| 23 | - android:layout_height="wrap_content" | 22 | + android:layout_width="40dp" |
| 23 | + android:layout_height="40dp" | ||
| 24 | android:layout_marginLeft="5dp" | 24 | android:layout_marginLeft="5dp" |
| 25 | android:layout_toRightOf="@+id/img_user_name" | 25 | android:layout_toRightOf="@+id/img_user_name" |
| 26 | android:src="@drawable/vod_detail_good_on" /> | 26 | android:src="@drawable/vod_detail_good_on" /> |
app/src/main/res/layout/imag_layout_item_user.xml
| @@ -20,8 +20,8 @@ | @@ -20,8 +20,8 @@ | ||
| 20 | android:layout_toLeftOf="@+id/img_user_name" | 20 | android:layout_toLeftOf="@+id/img_user_name" |
| 21 | android:layout_marginRight="5dp" | 21 | android:layout_marginRight="5dp" |
| 22 | android:id="@+id/img_content" | 22 | android:id="@+id/img_content" |
| 23 | - android:layout_width="wrap_content" | ||
| 24 | - android:layout_height="wrap_content" | 23 | + android:layout_width="40dp" |
| 24 | + android:layout_height="40dp" | ||
| 25 | android:src="@drawable/vod_detail_good_on"/> | 25 | android:src="@drawable/vod_detail_good_on"/> |
| 26 | 26 | ||
| 27 | </RelativeLayout> | 27 | </RelativeLayout> |