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"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:id="@+id/compose_photo_pick"
|
|
|
|
android:layout_marginLeft="8dp" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_margin="@dimen/compose_mark_sensitive_margin"
|
|
|
|
android:id="@+id/compose_mark_sensitive"
|
|
|
|
android:text="@string/action_mark_sensitive" />
|
|
|
|
|
|
|
|
</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"
|
|
|
|
android:contentDescription="@string/description_compose" />
|
|
|
|
|
|
|
|
<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">
|
|
|
|
|
|
|
|
<RadioGroup
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:id="@+id/radio_visibility"
|
|
|
|
android:checkedButton="@+id/radio_public">
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:text="@string/visibility_public"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:id="@+id/radio_public"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:text="@string/visibility_unlisted"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:id="@+id/radio_unlisted"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:text="@string/visibility_private"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:id="@+id/radio_private"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
</RadioGroup>
|
|
|
|
|
|
|
|
<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>
|