OsmAnd/OsmAnd/res/layout/quick_action_add_dialog.xml

45 lines
1.7 KiB
XML
Raw Normal View History

2016-12-22 16:43:47 +01:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/bg_color"
2016-12-22 16:43:47 +01:00
android:paddingTop="24dp">
<TextView
2019-07-27 08:57:31 +02:00
android:id="@+id/tvTitle"
2016-12-22 16:43:47 +01:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/dialog_add_action_title"
2016-12-23 14:35:37 +01:00
android:layout_marginLeft="24dp"
2016-12-22 16:43:47 +01:00
android:layout_marginRight="24dp"
android:textSize="@dimen/dialog_header_text_size"
android:textColor="?android:textColorPrimary"
2020-02-24 15:17:23 +01:00
android:layout_marginBottom="8dp"
android:layout_marginEnd="24dp"
android:layout_marginStart="24dp" />
2016-12-22 16:43:47 +01:00
2020-03-04 15:12:06 +01:00
<androidx.recyclerview.widget.RecyclerView
2016-12-22 16:43:47 +01:00
android:id="@+id/recycler_view"
android:layout_weight="1"
app:layoutManager="LinearLayoutManager"
android:layout_width="match_parent"
2017-01-04 09:53:30 +01:00
android:scrollbars="vertical"
2016-12-22 16:43:47 +01:00
android:layout_height="wrap_content"/>
<Button
android:id="@+id/btnDismiss"
2016-12-23 14:35:37 +01:00
android:layout_marginTop="8dp"
2016-12-22 16:43:47 +01:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="8dp"
android:layout_marginBottom="8dp"
2017-01-08 08:18:05 +01:00
android:text="@string/shared_string_dismiss"
2020-02-24 15:17:23 +01:00
android:layout_gravity="end"
2017-02-08 16:05:32 +01:00
android:background="?attr/selectableItemBackground"
2019-07-27 08:57:31 +02:00
android:textColor="?attr/color_dialog_buttons"
2020-02-24 15:17:23 +01:00
android:textAllCaps="true"
android:layout_marginEnd="8dp" />
2016-12-22 16:43:47 +01:00
</LinearLayout>