Files
comaps/android/app/src/main/res/layout/edit_bookmark_common.xml
Konstantin Pastbin e3e4a1985a Organic Maps sources as of 02.04.2025 (fad26bbf22ac3da75e01e62aa01e5c8e11861005)
To expand with full Organic Maps and Maps.ME commits history run:
  git remote add om-historic [om-historic.git repo url]
  git fetch --tags om-historic
  git replace squashed-history historic-commits
2025-05-08 21:10:51 +07:00

103 lines
4.3 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"
style="?fontBody1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColorHint="?android:textColorSecondary"
app:endIconMode="custom"
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:hint="@string/name"
android:padding="@dimen/margin_half_double_plus"
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">
<TextView
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:text="@string/list"
android:textAppearance="@style/MwmTextAppearance.Body3" />
<TextView
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="?attr/selectableItemBackground"
android:clickable="true"
android:paddingTop="@dimen/margin_quarter_plus"
android:paddingBottom="@dimen/margin_half_plus"
android:padding="@dimen/margin_half_double_plus"
android:textAppearance="@style/MwmTextAppearance.Body1"
app:drawableEndCompat="@drawable/ic_arrow_down" />
<View
android:id="@+id/divideerrr"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignBottom="@id/tv__bookmark_set"
android:layout_marginEnd="@dimen/margin_quadruple"
android:background="@color/divider" />
<ImageView
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:padding="@dimen/margin_half"
tools:src="@drawable/ic_bookmark_none" />
</RelativeLayout>
<com.google.android.material.textfield.TextInputLayout
style="?fontBody1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/rl__bookmark_set"
android:layout_margin="@dimen/margin_half"
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:hint="@string/placepage_personal_notes_hint"
android:inputType="textMultiLine" />
</com.google.android.material.textfield.TextInputLayout>
</RelativeLayout>