2017-01-08 09:24:02 +11:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-01-17 05:15:42 +11:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:id="@+id/activity_compose"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
2017-01-08 09:24:02 +11:00
|
|
|
|
2017-01-17 05:15:42 +11:00
|
|
|
<LinearLayout
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
app:srcCompat="@drawable/media_selector"
|
2017-02-13 16:18:17 +11:00
|
|
|
style="?attr/image_button_style"
|
2017-01-17 05:15:42 +11:00
|
|
|
android:id="@+id/compose_photo_pick"
|
|
|
|
android:layout_marginLeft="8dp" />
|
|
|
|
|
2017-02-04 11:53:33 +11:00
|
|
|
<ImageButton
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:id="@+id/compose_options"
|
|
|
|
app:srcCompat="@drawable/ic_options"
|
2017-02-13 16:18:17 +11:00
|
|
|
style="?attr/image_button_style"
|
2017-02-04 11:53:33 +11:00
|
|
|
android:layout_marginLeft="8dp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/compose_content_warning_bar"
|
|
|
|
android:background="@drawable/border_background"
|
|
|
|
android:layout_margin="8dp"
|
|
|
|
android:paddingLeft="8dp"
|
|
|
|
android:paddingRight="8dp">
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inputType="text"
|
|
|
|
android:ems="10"
|
2017-02-05 15:20:19 +11:00
|
|
|
android:id="@+id/field_content_warning"
|
|
|
|
android:hint="@string/hint_content_warning" />
|
2017-01-17 05:15:42 +11:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<RelativeLayout
|
2017-01-08 09:24:02 +11:00
|
|
|
android:layout_width="match_parent"
|
2017-01-17 05:15:42 +11:00
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:inputType="textMultiLine"
|
|
|
|
android:ems="10"
|
|
|
|
android:gravity="top|start"
|
|
|
|
android:id="@+id/field_status"
|
2017-02-05 15:20:19 +11:00
|
|
|
android:hint="@string/hint_compose" />
|
2017-01-17 05:15:42 +11:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:id="@+id/compose_media_preview_bar"
|
|
|
|
android:layout_alignBottom="@id/field_status">
|
|
|
|
|
|
|
|
<!--This is filled at runtime with ImageView's for each preview in the upload queue.-->
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
2017-01-08 09:24:02 +11:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/characters_left"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="500" />
|
|
|
|
|
|
|
|
<Button
|
2017-01-17 05:15:42 +11:00
|
|
|
android:text="@string/action_send"
|
2017-01-08 09:24:02 +11:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/button_send" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|