12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="wrap_content"
- android:layout_gravity="center"
- android:layout_height="wrap_content"
- xmlns:tools="http://schemas.android.com/tools"
- >
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="@dimen/tools_dialog_layout_width"
- android:paddingHorizontal="16dp"
- android:paddingTop="16dp"
- android:paddingBottom="8dp"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- android:layout_height="wrap_content">
- <androidx.appcompat.widget.AppCompatEditText
- android:id="@+id/et_bookmark"
- android:layout_width="match_parent"
- android:maxLines="1"
- android:minHeight="45dp"
- android:hint="@string/tools_bookmark_title"
- android:gravity="center_vertical"
- android:paddingStart="8dp"
- android:layout_height="wrap_content"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="end"
- android:layout_marginTop="16dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toBottomOf="@id/et_bookmark"
- android:orientation="horizontal">
- <Button
- android:id="@+id/btn_cancel"
- style="@style/tools_dialog_button_style"
- tools:textColor="@android:color/black"
- android:foreground="?android:attr/selectableItemBackground"
- android:text="@string/tools_common_cancel" />
- <Button
- android:id="@+id/btn_add"
- style="@style/tools_dialog_button_style"
- tools:textColor="@android:color/black"
- android:foreground="?android:attr/selectableItemBackground"
- android:text="@string/tools_common_okay" />
- </LinearLayout>
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.constraintlayout.widget.ConstraintLayout>
|