circle_new_tweeting.xml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. android:orientation="vertical"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent">
  8. <com.sheishuo.app.common.views.BaseToolbar
  9. android:layout_width="0dp"
  10. android:layout_height="wrap_content"
  11. style="@style/fullToolbarStyle"
  12. app:title="发布"
  13. app:left_text="返回"
  14. app:right_text="确定"
  15. app:layout_constraintRight_toRightOf="parent"
  16. app:layout_constraintLeft_toLeftOf="parent"
  17. app:layout_constraintTop_toTopOf="parent"
  18. android:id="@+id/new_tweet_toolbar" />
  19. <EditText
  20. android:id="@+id/new_tweet_content"
  21. android:layout_width="0dp"
  22. android:layout_height="256dp"
  23. android:ems="10"
  24. android:inputType="textPersonName"
  25. android:layout_marginRight="8dp"
  26. app:layout_constraintRight_toRightOf="@+id/new_tweet_toolbar"
  27. android:layout_marginLeft="8dp"
  28. app:layout_constraintLeft_toLeftOf="@+id/new_tweet_toolbar"
  29. android:layout_marginTop="20dp"
  30. app:layout_constraintTop_toBottomOf="@+id/new_tweet_toolbar"
  31. android:gravity="start"
  32. android:hint="您想说点什么..."
  33. app:layout_constraintHorizontal_bias="0.0"
  34. android:layout_marginStart="8dp"
  35. android:layout_marginEnd="8dp" />
  36. <LinearLayout
  37. android:layout_width="wrap_content"
  38. android:layout_height="wrap_content"
  39. android:background="@color/grey_light_light"
  40. android:padding="4dp"
  41. app:layout_constraintLeft_toLeftOf="@+id/new_tweet_content"
  42. android:layout_marginTop="10dp"
  43. app:layout_constraintTop_toBottomOf="@+id/new_tweet_content">
  44. <ImageView
  45. android:layout_width="wrap_content"
  46. android:layout_height="wrap_content"
  47. android:src="@drawable/location"/>
  48. <TextView
  49. android:id="@+id/new_tweet_location_tv"
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. android:text="未定位"
  53. android:textColor="@color/grey_light"/>
  54. </LinearLayout>
  55. </android.support.constraint.ConstraintLayout>