123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?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" />
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@color/grey_light_light"
- android:padding="4dp"
- app:layout_constraintLeft_toLeftOf="@+id/new_tweet_content"
- android:layout_marginTop="10dp"
- app:layout_constraintTop_toBottomOf="@+id/new_tweet_content">
- <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>
|