|
|
@ -18,32 +18,6 @@ |
|
|
|
android:background="@android:color/transparent" |
|
|
|
android:background="@android:color/transparent" |
|
|
|
android:elevation="4dp" /> |
|
|
|
android:elevation="4dp" /> |
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
|
|
|
android:id="@+id/compose_content_warning_bar" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:orientation="vertical" |
|
|
|
|
|
|
|
android:layout_marginBottom="8dp"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<EditText |
|
|
|
|
|
|
|
android:id="@+id/field_content_warning" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:background="@android:color/transparent" |
|
|
|
|
|
|
|
android:ems="10" |
|
|
|
|
|
|
|
android:maxLines="1" |
|
|
|
|
|
|
|
android:paddingLeft="16dp" |
|
|
|
|
|
|
|
android:paddingRight="16dp" |
|
|
|
|
|
|
|
android:hint="@string/hint_content_warning" |
|
|
|
|
|
|
|
android:inputType="text|textCapSentences" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<View |
|
|
|
|
|
|
|
android:layout_marginTop="8dp" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="1dp" |
|
|
|
|
|
|
|
android:background="?android:attr/listDivider"/> |
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
<RelativeLayout |
|
|
|
android:id="@+id/compose_edit_area" |
|
|
|
android:id="@+id/compose_edit_area" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
@ -57,9 +31,10 @@ |
|
|
|
* anonymous class to support image/GIF picking from the soft keyboard.--> |
|
|
|
* anonymous class to support image/GIF picking from the soft keyboard.--> |
|
|
|
|
|
|
|
|
|
|
|
<HorizontalScrollView |
|
|
|
<HorizontalScrollView |
|
|
|
android:layout_alignParentBottom="true" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:layout_alignParentBottom="true"> |
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
<LinearLayout |
|
|
|
android:id="@+id/compose_media_preview_bar" |
|
|
|
android:id="@+id/compose_media_preview_bar" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_width="wrap_content" |
|
|
@ -71,8 +46,41 @@ |
|
|
|
</LinearLayout> |
|
|
|
</LinearLayout> |
|
|
|
</HorizontalScrollView> |
|
|
|
</HorizontalScrollView> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ProgressBar |
|
|
|
|
|
|
|
android:id="@+id/postProgress" |
|
|
|
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:layout_centerHorizontal="true" |
|
|
|
|
|
|
|
android:layout_centerVertical="true" /> |
|
|
|
|
|
|
|
|
|
|
|
</RelativeLayout> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
|
|
|
android:id="@+id/compose_content_warning_bar" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:orientation="vertical" |
|
|
|
|
|
|
|
android:layout_marginBottom="8dp"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<EditText |
|
|
|
|
|
|
|
android:id="@+id/field_content_warning" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:background="@android:color/transparent" |
|
|
|
|
|
|
|
android:ems="10" |
|
|
|
|
|
|
|
android:maxLines="1" |
|
|
|
|
|
|
|
android:paddingLeft="16dp" |
|
|
|
|
|
|
|
android:paddingRight="16dp" |
|
|
|
|
|
|
|
android:hint="@string/hint_content_warning" |
|
|
|
|
|
|
|
android:inputType="text|textCapSentences" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<View |
|
|
|
|
|
|
|
android:layout_marginTop="8dp" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="1dp" |
|
|
|
|
|
|
|
android:background="?android:attr/listDivider"/> |
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
@ -124,8 +132,9 @@ |
|
|
|
|
|
|
|
|
|
|
|
<Button |
|
|
|
<Button |
|
|
|
android:id="@+id/floating_btn" |
|
|
|
android:id="@+id/floating_btn" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:background="@drawable/compose_button_colors" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_width="80dp" |
|
|
|
|
|
|
|
android:layout_height="35dp" |
|
|
|
android:layout_marginLeft="10dp" |
|
|
|
android:layout_marginLeft="10dp" |
|
|
|
android:text="@string/action_send" |
|
|
|
android:text="@string/action_send" |
|
|
|
android:textColor="@android:color/white" /> |
|
|
|
android:textColor="@android:color/white" /> |
|
|
|