mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 21:33:53 +01:00
74 lines
3.3 KiB
XML
74 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="8dp"
|
|
android:layout_marginVertical="8dp"
|
|
app:elevation="6dp">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginHorizontal="20dp"
|
|
android:layout_marginVertical="20dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/btn_remove"
|
|
android:layout_width="24dp"
|
|
android:layout_height="wrap_content"
|
|
android:contentDescription="@string/remove"
|
|
android:visibility="visible"
|
|
app:layout_constraintBottom_toTopOf="@+id/caption_item_edit_text_input_layout"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:srcCompat="@drawable/ic_remove" />
|
|
|
|
<TextView
|
|
android:id="@+id/description_languages"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:clickable="true"
|
|
android:drawableRight="@drawable/ic_baseline_arrow_drop_down_24"
|
|
android:padding="@dimen/dimen_2"
|
|
android:textSize="18sp"
|
|
app:layout_constraintBottom_toTopOf="@+id/caption_item_edit_text_input_layout"
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/caption_item_edit_text_input_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:layout_constraintBottom_toTopOf="@id/description_item_edit_text_input_layout"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent">
|
|
|
|
<fr.free.nrw.commons.ui.PasteSensitiveTextInputEditText
|
|
android:id="@+id/caption_item_edit_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:hint="@string/share_caption_hint"
|
|
android:imeOptions="actionNext|flagNoExtractUi"
|
|
android:inputType="text"
|
|
app:allowFormatting="false" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/description_item_edit_text_input_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent">
|
|
|
|
<fr.free.nrw.commons.ui.PasteSensitiveTextInputEditText
|
|
android:id="@+id/description_item_edit_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:hint="@string/share_description_hint"
|
|
android:imeOptions="actionNext|flagNoExtractUi"
|
|
android:inputType="textMultiLine"
|
|
app:allowFormatting="false" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.cardview.widget.CardView>
|