等级,发布动态
This commit is contained in:
136
app/src/main/res/layout/fragment_dynamic_image_text.xml
Normal file
136
app/src/main/res/layout/fragment_dynamic_image_text.xml
Normal file
@@ -0,0 +1,136 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical" android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:background="@android:color/white">
|
||||
|
||||
<include layout="@layout/item_edit"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rl_add_topic"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="@dimen/dp20"
|
||||
android:layout_marginTop="@dimen/dp15"
|
||||
android:layout_marginBottom="@dimen/dp20"
|
||||
android:visibility="gone"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="@dimen/dp14"
|
||||
android:textColor="@color/black"
|
||||
android:textStyle="bold"
|
||||
android:text="选择话题"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_right"
|
||||
android:layout_width="@dimen/dp18"
|
||||
android:layout_height="@dimen/dp18"
|
||||
android:layout_alignParentRight="true"
|
||||
android:src="@mipmap/girlauth_right"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_topic_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#999999"
|
||||
android:textSize="@dimen/dp14"
|
||||
android:layout_toLeftOf="@+id/iv_right"
|
||||
android:text="添加话题"/>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dp14"
|
||||
android:layout_height="@dimen/dp14"
|
||||
android:layout_toLeftOf="@+id/tv_topic_content"
|
||||
android:layout_marginRight="@dimen/dp6"
|
||||
android:layout_centerVertical="true"
|
||||
android:src="@mipmap/ic_topic_small"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginTop="24dp"
|
||||
android:text="选择照片"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/dynamics_post_line_1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="12dp"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:weightSum="3">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/dynamics_post_video"
|
||||
android:layout_width="110.5dp"
|
||||
android:layout_height="110.5dp"
|
||||
android:background="@color/background"
|
||||
android:layout_marginLeft="6dp"
|
||||
android:visibility="gone"
|
||||
android:gravity="center">
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_dynamic_video"/>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/dynamics_post_line_2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="6dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:weightSum="3">
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/dynamics_post_line_3"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginTop="6dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:weightSum="3">
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:text="选择照片(最多可选择9张)"
|
||||
android:textColor="@color/three_text"
|
||||
android:textSize="12sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_publish"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:layout_marginLeft="44dp"
|
||||
android:layout_marginRight="44dp"
|
||||
android:layout_marginBottom="24dp"
|
||||
android:text="发布" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user