remove title for media description #771

This commit is contained in:
Thomas 2023-01-31 17:21:01 +01:00
parent f8b0ed7f18
commit 93d5995ec1
4 changed files with 3 additions and 5 deletions

View file

@ -1112,7 +1112,7 @@ public class ComposeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder
}); });
composeAttachmentItemBinding.buttonDescription.setOnClickListener(v -> { composeAttachmentItemBinding.buttonDescription.setOnClickListener(v -> {
AlertDialog.Builder builderInner = new MaterialAlertDialogBuilder(context); AlertDialog.Builder builderInner = new MaterialAlertDialogBuilder(context);
builderInner.setTitle(R.string.upload_form_description); // builderInner.setTitle(R.string.upload_form_description);
PopupMediaDescriptionBinding popupMediaDescriptionBinding = PopupMediaDescriptionBinding.inflate(LayoutInflater.from(context), null, false); PopupMediaDescriptionBinding popupMediaDescriptionBinding = PopupMediaDescriptionBinding.inflate(LayoutInflater.from(context), null, false);
builderInner.setView(popupMediaDescriptionBinding.getRoot()); builderInner.setView(popupMediaDescriptionBinding.getRoot());

View file

@ -42,6 +42,7 @@
android:layout_alignBottom="@+id/media_picture" android:layout_alignBottom="@+id/media_picture"
android:layout_marginHorizontal="6dp" android:layout_marginHorizontal="6dp"
android:layout_marginTop="10dp" android:layout_marginTop="10dp"
android:textAlignment="textStart"
android:inputType="textMultiLine|textCapSentences" android:inputType="textMultiLine|textCapSentences"
android:minLines="3" android:minLines="3"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"

View file

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="otp_message">Two factor authentication token</string>
</resources>

View file

@ -2231,4 +2231,5 @@
<string name="compose_shortcut_short_label1">Compose</string> <string name="compose_shortcut_short_label1">Compose</string>
<string name="toast_error_peertube_not_supported">Your Peertube is too old and cannot be supported by the app.</string> <string name="toast_error_peertube_not_supported">Your Peertube is too old and cannot be supported by the app.</string>
<string name="otp_message">Two factor authentication token</string>
</resources> </resources>