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:background="@color/black" android:layout_width="fill_parent" android:layout_height="fill_parent" |
|
xmlns:android="http://schemas.android.com/apk/res/android"> |
|
<RelativeLayout android:background="@color/page_main_back" android:layout_width="fill_parent" android:layout_height="wrap_content"> |
|
<de.hdodenhof.circleimageview.CircleImageView android:id="@id/photo_detail_head_circleimg" android:layout_width="40.0dip" android:layout_height="40.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:layout_centerVertical="true" /> |
|
<TextView android:textSize="14.0sp" android:textColor="@color/font_public_time" android:id="@id/photo_detail_head_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/photo_detail_head_publictime" android:layout_toRightOf="@id/photo_detail_head_circleimg" android:layout_centerVertical="true"> |
|
<TextView android:textSize="15.0sp" android:textColor="@color/font_user_name" android:id="@id/photo_detail_head_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/photo_detail_head_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"> |
|
<ImageView android:id="@id/photo_detail_head_iv" android:layout_width="fill_parent" android:layout_height="200.0dip" android:scaleType="centerCrop" /> |
|
<TextView android:textSize="14.0sp" android:textColor="@color/font_normal" android:id="@id/photo_detail_head_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" /> |
|
</LinearLayout> |
|
<View android:background="@color/community_item_gap" android:layout_width="fill_parent" android:layout_height="1.0dip" /> |
|
<RelativeLayout android:background="@color/page_main_back" android:layout_width="fill_parent" android:layout_height="wrap_content"> |
|
<LinearLayout android:orientation="horizontal" android:id="@id/layout_photo_detail_head_comment" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:layout_marginTop="6.0dip" android:layout_marginBottom="6.0dip" android:layout_centerVertical="true"> |
|
<ImageView android:id="@id/iv_photo_detail_head_comment" 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_photo_detail_head_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_photo_detail_head_like" android:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="12.0dip" android:layout_marginTop="6.0dip" android:layout_marginBottom="6.0dip" android:layout_toRightOf="@id/layout_photo_detail_head_comment" android:layout_centerVertical="true"> |
|
<ImageView android:id="@id/iv_photo_detail_head_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_photo_detail_head_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:clickable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="12.0dip" android:layout_marginTop="6.0dip" android:layout_marginBottom="6.0dip" android:layout_toRightOf="@id/layout_photo_detail_head_like" android:layout_centerVertical="true"> |
|
<ImageView android:id="@id/iv_photo_detail_head_share" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/community_share_selector" /> |
|
</LinearLayout> |
|
<LinearLayout android:orientation="horizontal" 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:id="@id/iv_photo_detail_head_else" 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="5.0dip" /> |
|
<TextView android:textSize="14.0sp" android:textColor="@color/font_normal" android:background="@color/page_main_back" android:paddingLeft="10.0dip" android:paddingTop="6.0dip" android:paddingBottom="6.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/photo_detail_all_comments" /> |
|
<View android:background="@color/community_item_gap" android:layout_width="fill_parent" android:layout_height="1.0dip" /> |
|
</LinearLayout> |