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.
35 lines
6.0 KiB
35 lines
6.0 KiB
2 years ago
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<LinearLayout android:orientation="vertical" android:id="@id/community_new_layout" android:background="@color/black" android:layout_width="fill_parent" android:layout_height="wrap_content"
|
||
|
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/community_new_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:scaleType="centerCrop" android:layout_centerVertical="true" />
|
||
|
<TextView android:textSize="12.0sp" android:textColor="@color/font_public_time" android:id="@id/community_new_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_new_publictime" android:layout_toRightOf="@id/community_new_circleimg" android:layout_centerVertical="true">
|
||
|
<TextView android:textSize="14.0sp" android:textColor="@color/font_user_name" android:id="@id/community_new_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_new_location" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
|
||
|
</LinearLayout>
|
||
|
</RelativeLayout>
|
||
|
<RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||
|
<ImageView android:id="@id/community_new_iv" android:layout_width="fill_parent" android:layout_height="200.0dip" android:scaleType="fitXY" android:layout_centerInParent="true" />
|
||
|
<ImageView android:id="@id/community_new_type" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/video" android:scaleType="fitXY" android:layout_centerInParent="true" />
|
||
|
</RelativeLayout>
|
||
|
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
|
||
|
<TextView android:textSize="14.0sp" android:textColor="@color/font_normal" android:ellipsize="end" android:id="@id/community_new_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" />
|
||
|
<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_community_new_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:id="@id/iv_community_new_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_community_new_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_new_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_new_comment" android:layout_centerVertical="true">
|
||
|
<ImageView android:id="@id/iv_community_new_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_new_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="3.0dip" android:layout_marginBottom="3.0dip" android:layout_toRightOf="@id/layout_community_new_like" android:layout_centerVertical="true">
|
||
|
<ImageView android:id="@id/iv_community_new_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_community_new_else" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/actionbar_more_selector" />
|
||
|
</LinearLayout>
|
||
|
</RelativeLayout>
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|