You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
4.8 KiB
28 lines
4.8 KiB
<?xml version="1.0" encoding="utf-8"?> |
|
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" |
|
xmlns:android="http://schemas.android.com/apk/res/android"> |
|
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="130.0dip" android:baselineAligned="false"> |
|
<RelativeLayout android:id="@id/layout_community_recommend_item_left" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0"> |
|
<ImageView android:id="@id/iv_community_recommend_item_left" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scaleType="centerCrop" /> |
|
<RelativeLayout android:id="@id/layout_community_recommend_item_left_comment" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:layout_marginBottom="5.0dip" android:layout_alignParentLeft="true" android:layout_alignParentBottom="true"> |
|
<ImageView android:id="@id/iv_community_recommend_item_left_comment" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/community_comment_selector" android:layout_centerVertical="true" /> |
|
<TextView android:textSize="14.0sp" android:textColor="@color/white" android:id="@id/tv_community_recommend_item_left_comment" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toRightOf="@id/iv_community_recommend_item_left_comment" android:layout_centerVertical="true" /> |
|
</RelativeLayout> |
|
<LinearLayout android:orientation="horizontal" android:id="@id/layout_community_recommend_item_left_like" android:background="@drawable/bg_praise" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="10.0dip" android:layout_marginBottom="5.0dip" android:layout_alignParentRight="true" android:layout_alignParentBottom="true"> |
|
<ImageView android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="2.0dip" android:src="@drawable/community_like_selector" /> |
|
<TextView android:textSize="14.0sp" android:textColor="@color/white" android:id="@id/tv_community_recommend_item_left_like" android:paddingRight="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" /> |
|
</LinearLayout> |
|
</RelativeLayout> |
|
<RelativeLayout android:id="@id/layout_community_recommend_item_right" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_marginLeft="3.0dip" android:layout_weight="1.0"> |
|
<ImageView android:id="@id/iv_community_recommend_item_right" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scaleType="centerCrop" /> |
|
<RelativeLayout android:id="@id/layout_community_recommend_item_right_comment" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:layout_marginBottom="5.0dip" android:layout_alignParentLeft="true" android:layout_alignParentBottom="true"> |
|
<ImageView android:id="@id/iv_community_recommend_item_right_comment" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/community_comment_selector" android:layout_centerVertical="true" /> |
|
<TextView android:textSize="14.0sp" android:textColor="@color/white" android:id="@id/tv_community_recommend_item_right_comment" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toRightOf="@id/iv_community_recommend_item_right_comment" android:layout_centerVertical="true" /> |
|
</RelativeLayout> |
|
<LinearLayout android:orientation="horizontal" android:id="@id/layout_community_recommend_item_right_like" android:background="@drawable/bg_praise" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="10.0dip" android:layout_marginBottom="5.0dip" android:layout_alignParentRight="true" android:layout_alignParentBottom="true"> |
|
<ImageView android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="2.0dip" android:src="@drawable/community_like_selector" /> |
|
<TextView android:textSize="14.0sp" android:textColor="@color/white" android:id="@id/tv_community_recommend_item_right_like" android:paddingRight="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" /> |
|
</LinearLayout> |
|
</RelativeLayout> |
|
</LinearLayout> |
|
</FrameLayout> |