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.
36 lines
6.2 KiB
36 lines
6.2 KiB
<?xml version="1.0" encoding="utf-8"?> |
|
<LinearLayout android:orientation="vertical" android:id="@id/user_center_layout" android:layout_width="fill_parent" android:layout_height="wrap_content" |
|
xmlns:android="http://schemas.android.com/apk/res/android"> |
|
<RelativeLayout android:background="@color/page_item_back" android:layout_width="fill_parent" android:layout_height="wrap_content"> |
|
<de.hdodenhof.circleimageview.CircleImageView android:id="@id/community_user_center_item_circleimg" android:layout_width="30.0dip" android:layout_height="30.0dip" android:layout_marginLeft="10.0dip" android:layout_marginTop="6.0dip" android:layout_marginRight="10.0dip" android:layout_marginBottom="6.0dip" android:src="@drawable/me_normal" android:scaleType="centerCrop" android:layout_centerVertical="true" /> |
|
<TextView android:textSize="12.0sp" android:textColor="@color/font_public_time" android:id="@id/community_user_center_item_publictime" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="12.0dip" android:layout_alignParentRight="true" android:layout_centerVertical="true" /> |
|
<LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="3.0dip" android:layout_marginTop="3.0dip" android:layout_marginBottom="3.0dip" android:layout_toLeftOf="@id/community_user_center_item_publictime" android:layout_toRightOf="@id/community_user_center_item_circleimg" android:layout_centerVertical="true"> |
|
<TextView android:textSize="14.0sp" android:textColor="@color/font_user_name" android:id="@id/community_user_center_item_username" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="username" android:singleLine="true" /> |
|
<TextView android:textSize="12.0sp" android:textColor="@color/font_user_location" android:id="@id/community_user_center_item_location" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" /> |
|
</LinearLayout> |
|
</RelativeLayout> |
|
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content"> |
|
<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent"> |
|
<ImageView android:id="@id/community_user_center_item_iv" android:layout_width="fill_parent" android:layout_height="200.0dip" android:scaleType="fitXY" /> |
|
<ImageView android:id="@id/community_user_center_item_type" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/video" android:scaleType="fitXY" android:layout_centerInParent="true" /> |
|
</RelativeLayout> |
|
<TextView android:textSize="14.0sp" android:textColor="@color/font_normal" android:ellipsize="end" android:id="@id/community_user_center_item_tv_intro" android:background="@color/page_main_back" android:paddingLeft="10.0dip" android:paddingTop="5.0dip" android:paddingRight="10.0dip" android:paddingBottom="5.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:maxLines="1" /> |
|
</LinearLayout> |
|
<RelativeLayout android:background="@color/page_item_back" android:layout_width="fill_parent" android:layout_height="wrap_content"> |
|
<LinearLayout android:orientation="horizontal" android:id="@id/layout_community_user_center_item_comment" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:layout_marginTop="3.0dip" android:layout_marginBottom="3.0dip" android:layout_centerVertical="true"> |
|
<ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/community_comment_selector" /> |
|
<TextView android:textSize="14.0sp" android:textColor="@color/font_normal" android:id="@id/tv_community_user_center_item_comment" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:text="0" /> |
|
</LinearLayout> |
|
<LinearLayout android:orientation="horizontal" android:id="@id/layout_community_user_center_item_like" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="12.0dip" android:layout_marginTop="3.0dip" android:layout_marginBottom="3.0dip" android:layout_toRightOf="@id/layout_community_user_center_item_comment" android:layout_centerVertical="true"> |
|
<ImageView android:id="@id/iv_community_user_center_item_like" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/community_like_selector" /> |
|
<TextView android:textSize="14.0sp" android:textColor="@color/font_normal" android:id="@id/tv_community_user_center_item_like" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:text="0" /> |
|
</LinearLayout> |
|
<LinearLayout android:orientation="horizontal" android:id="@id/layout_community_user_center_item_share" android:visibility="gone" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="12.0dip" android:layout_marginTop="3.0dip" android:layout_marginBottom="3.0dip" android:layout_toRightOf="@id/layout_community_user_center_item_like" android:layout_centerVertical="true"> |
|
<ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/community_share_selector" /> |
|
</LinearLayout> |
|
<LinearLayout android:orientation="horizontal" android:id="@id/layout_community_user_center_item_else" android:visibility="gone" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="12.0dip" android:layout_alignParentRight="true" android:layout_centerVertical="true"> |
|
<ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/actionbar_more_selector" /> |
|
</LinearLayout> |
|
</RelativeLayout> |
|
<View android:background="@color/black" android:layout_width="fill_parent" android:layout_height="2.0dip" /> |
|
</LinearLayout> |