mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-27 16:33:38 +00:00
108 lines
4.8 KiB
XML
108 lines
4.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/rl__bookmark_details"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?cardBackground"
|
|
android:padding="@dimen/margin_half">
|
|
<LinearLayout
|
|
android:id="@+id/ll__bookmark_name"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/margin_half"
|
|
android:layout_marginEnd="@dimen/margin_half"
|
|
android:orientation="vertical">
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/edit_bookmark_name_input"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/name"
|
|
android:textColorHint="?android:textColorSecondary"
|
|
app:endIconMode="custom"
|
|
app:endIconCheckable="false"
|
|
app:endIconContentDescription="@string/clear"
|
|
app:endIconDrawable="@drawable/ic_clear_rounded"
|
|
app:endIconTint="?android:textColorSecondary">
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/et__bookmark_name"
|
|
style="@style/MwmWidget.Editor.CustomTextInput"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="@dimen/margin_half_double_plus"
|
|
android:textAlignment="viewStart"
|
|
android:inputType="textCapSentences"
|
|
android:singleLine="true" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
</LinearLayout>
|
|
<RelativeLayout
|
|
android:id="@+id/rl__bookmark_set"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/ll__bookmark_name"
|
|
android:layout_marginStart="@dimen/margin_half"
|
|
android:layout_marginEnd="@dimen/margin_half">
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/tv__bookmark_set_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/margin_base"
|
|
android:layout_marginEnd="@dimen/margin_quadruple"
|
|
android:layout_marginStart="@dimen/margin_half_plus"
|
|
android:text="@string/list"
|
|
android:textAppearance="@style/MwmTextAppearance.Body4" />
|
|
<com.google.android.material.textview.MaterialTextView
|
|
android:id="@+id/tv__bookmark_set"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/tv__bookmark_set_title"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginEnd="@dimen/margin_quadruple"
|
|
android:background="?selectableItemBackground"
|
|
android:clickable="true"
|
|
android:paddingTop="@dimen/margin_quarter_plus"
|
|
android:paddingBottom="@dimen/margin_half_plus"
|
|
android:padding="@dimen/margin_half_double_plus"
|
|
android:textAlignment="viewStart"
|
|
android:textAppearance="@style/MwmTextAppearance.Body1"
|
|
app:drawableEndCompat="@drawable/ic_arrow_down" />
|
|
<com.google.android.material.divider.MaterialDivider
|
|
android:id="@+id/divideerrr"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/divider_height"
|
|
android:layout_alignBottom="@id/tv__bookmark_set"
|
|
android:layout_marginEnd="@dimen/margin_quadruple" />
|
|
<com.google.android.material.imageview.ShapeableImageView
|
|
android:id="@+id/iv__bookmark_color"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_alignEnd="@id/divideerrr"
|
|
android:background="?clickableBackground"
|
|
android:contentDescription="@string/bookmark_color"
|
|
android:padding="@dimen/margin_half"
|
|
tools:src="@drawable/ic_bookmark_none" />
|
|
</RelativeLayout>
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="@dimen/margin_half"
|
|
android:layout_marginStart="@dimen/margin_half"
|
|
android:layout_below="@id/rl__bookmark_set"
|
|
android:hint="@string/placepage_personal_notes_hint"
|
|
android:textColorHint="?android:textColorSecondary">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/et__description"
|
|
style="@style/MwmWidget.Editor.CustomTextInput"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="@dimen/margin_half_double_plus"
|
|
android:inputType="textMultiLine"
|
|
android:textAlignment="viewStart" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
</RelativeLayout>
|