1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <com.sheishuo.app.common.views.BaseToolbar
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- style="@style/fullToolbarStyle"
- app:title="发布"
- app:left_text="返回"
- app:right_text="确定"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- android:id="@+id/new_tweet_toolbar" />
- <EditText
- android:id="@+id/new_tweet_content"
- android:layout_width="0dp"
- android:layout_height="256dp"
- android:ems="10"
- android:inputType="textPersonName"
- android:layout_marginRight="8dp"
- app:layout_constraintRight_toRightOf="@+id/new_tweet_toolbar"
- android:layout_marginLeft="8dp"
- app:layout_constraintLeft_toLeftOf="@+id/new_tweet_toolbar"
- android:layout_marginTop="20dp"
- app:layout_constraintTop_toBottomOf="@+id/new_tweet_toolbar"
- android:gravity="start"
- android:hint="您想说点什么..."
- app:layout_constraintHorizontal_bias="0.0"
- android:layout_marginStart="8dp"
- android:layout_marginEnd="8dp" />
- <HorizontalScrollView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:layout_marginTop="8dp"
- app:layout_constraintTop_toBottomOf="@+id/linearLayout2"
- app:layout_constraintLeft_toLeftOf="@+id/new_tweet_content"
- android:scrollbarAlwaysDrawHorizontalTrack="true">
- <LinearLayout
- android:id="@+id/new_tweet_img_layout"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <ImageView
- android:id="@+id/new_tweet_add_imgs"
- android:layout_width="128dp"
- android:layout_height="128dp"
- android:src="@drawable/circle_new_tweet_img"/>
- </LinearLayout>
- </HorizontalScrollView>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@color/grey_light_light"
- android:padding="4dp"
- android:layout_marginLeft="8dp"
- app:layout_constraintLeft_toLeftOf="@+id/new_tweet_content"
- android:layout_marginTop="8dp"
- app:layout_constraintTop_toBottomOf="@+id/new_tweet_content"
- android:id="@+id/linearLayout2"
- android:layout_marginStart="8dp">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/location"/>
- <TextView
- android:id="@+id/new_tweet_location_tv"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="未定位"
- android:textColor="@color/grey_light"/>
- </LinearLayout>
- </android.support.constraint.ConstraintLayout>
|