OsmAnd/OsmAnd/res/layout/quick_action_add_bug.xml

124 lines
5.1 KiB
XML
Raw Normal View History

2017-01-06 14:03:52 +01:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:osmand="http://schemas.android.com/apk/res-auto"
2020-03-04 15:12:06 +01:00
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
2017-01-06 14:03:52 +01:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/bg_color"
android:minHeight="56dp"
android:orientation="horizontal">
2017-01-06 14:03:52 +01:00
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-02-24 15:17:23 +01:00
android:padding="@dimen/content_padding"
2017-01-06 14:03:52 +01:00
android:layout_gravity="center"
2017-01-08 19:32:32 +01:00
android:text="@string/quick_action_interim_dialog"
2017-01-06 14:03:52 +01:00
android:textColor="?android:textColorPrimary"
android:textSize="@dimen/default_list_text_size"
android:layout_weight="1"
android:id="@+id/textView3" />
2020-03-04 15:12:06 +01:00
<androidx.appcompat.widget.SwitchCompat
2017-01-06 14:03:52 +01:00
android:id="@+id/dialogSwitch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
2020-02-24 15:17:23 +01:00
android:layout_marginRight="@dimen/content_padding"
android:layout_marginLeft="@dimen/content_padding"
android:layout_marginEnd="@dimen/content_padding"
android:layout_marginStart="@dimen/content_padding" />
2017-01-06 14:03:52 +01:00
</LinearLayout>
2020-05-15 09:58:37 +02:00
<androidx.appcompat.widget.AppCompatImageView
2017-01-06 14:03:52 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:scaleType="fitXY"
osmand:srcCompat="@drawable/bg_shadow_list_bottom" />
2017-01-06 14:03:52 +01:00
2020-05-15 09:58:37 +02:00
<androidx.appcompat.widget.AppCompatImageView
2017-01-06 14:03:52 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:scaleType="fitXY"
android:layout_marginTop="16dp"
osmand:srcCompat="@drawable/bg_shadow_list_top" />
2017-01-06 14:03:52 +01:00
<LinearLayout
android:id="@+id/title_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/bg_color"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-02-24 15:17:23 +01:00
android:layout_marginTop="@dimen/content_padding"
2017-01-06 14:03:52 +01:00
android:baselineAligned="false"
android:orientation="horizontal">
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:id="@+id/name_caption"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2020-02-24 15:17:23 +01:00
android:layout_marginLeft="@dimen/content_padding"
android:layout_marginRight="@dimen/content_padding"
2017-01-06 14:03:52 +01:00
android:text="@string/quick_action_bug_message"
android:textColor="?android:textColorSecondary"
2020-02-24 15:17:23 +01:00
android:textSize="@dimen/default_sub_text_size"
android:layout_marginEnd="@dimen/content_padding"
android:layout_marginStart="@dimen/content_padding" />
2017-01-06 14:03:52 +01:00
<EditText
android:id="@+id/message_edit"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2020-02-24 15:17:23 +01:00
android:layout_marginLeft="@dimen/content_padding_small"
android:layout_marginRight="@dimen/content_padding"
2017-01-06 14:03:52 +01:00
android:imeOptions="actionDone"
android:inputType="text"
android:textColor="?android:textColorPrimary"
2020-02-24 15:17:23 +01:00
android:textColorHint="?android:textColorSecondary"
android:layout_marginEnd="@dimen/content_padding"
android:layout_marginStart="@dimen/content_padding_small" />
2017-01-06 14:03:52 +01:00
</LinearLayout>
</LinearLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2020-02-24 15:17:23 +01:00
android:layout_marginLeft="@dimen/content_padding"
android:layout_marginRight="@dimen/content_padding"
2017-01-08 10:02:44 +01:00
android:text="@string/quick_action_bug_descr"
2017-01-06 14:03:52 +01:00
android:textColor="?android:textColorSecondary"
android:textSize="@dimen/default_sub_text_size"
2020-02-24 15:17:23 +01:00
android:layout_marginBottom="@dimen/content_padding"
android:layout_marginStart="@dimen/content_padding"
android:layout_marginEnd="@dimen/content_padding" />
2017-01-06 14:03:52 +01:00
</LinearLayout>
2020-05-15 09:58:37 +02:00
<androidx.appcompat.widget.AppCompatImageView
2017-01-06 14:03:52 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:scaleType="fitXY"
osmand:srcCompat="@drawable/bg_shadow_list_bottom" />
2017-01-06 14:03:52 +01:00
</LinearLayout>