OsmAnd/OsmAnd/res/layout/context_menu_card_add_mapillary_images.xml

45 lines
1.7 KiB
XML
Raw Normal View History

2017-05-02 11:09:11 +02:00
<?xml version="1.0" encoding="utf-8"?>
2017-05-05 17:58:10 +02:00
<FrameLayout
2017-05-02 11:09:11 +02:00
xmlns:android="http://schemas.android.com/apk/res/android"
2017-05-04 22:48:07 +02:00
android:layout_width="@dimen/context_img_card_width"
android:layout_height="@dimen/context_img_card_height"
2017-05-10 14:29:23 +02:00
xmlns:app="http://schemas.android.com/apk/res-auto"
2017-05-05 17:58:10 +02:00
android:background="?attr/bg_color"
2017-05-02 11:09:11 +02:00
android:orientation="vertical">
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
2017-05-05 17:58:10 +02:00
android:layout_height="104dp"
2017-05-02 11:09:11 +02:00
android:paddingLeft="24dp"
android:paddingRight="24dp"
2017-05-05 17:58:10 +02:00
android:paddingTop="2dp"
2017-05-02 11:09:11 +02:00
android:maxLines="4"
android:gravity="center"
android:ellipsize="end"
android:textColor="?android:textColorPrimary"
android:textSize="@dimen/default_list_text_size"
android:text="@string/mapillary_action_descr"/>
2017-05-10 14:29:23 +02:00
<android.support.v7.widget.AppCompatButton
2017-05-02 11:09:11 +02:00
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="40dp"
2017-05-10 14:29:23 +02:00
android:background="@drawable/blue_button_drawable"
app:backgroundTint="@color/mapillary_color"
2017-05-02 11:09:11 +02:00
android:layout_gravity="bottom|center_horizontal"
android:drawableLeft="@drawable/ic_action_mapillary"
android:drawableStart="@drawable/ic_action_mapillary"
android:drawablePadding="8dp"
android:paddingLeft="10dp"
android:paddingRight="14dp"
2017-05-05 17:58:10 +02:00
android:layout_marginBottom="16dp"
2017-05-02 11:09:11 +02:00
android:textColor="@color/color_white"
android:text="@string/shared_string_add_photos"/>
2017-05-05 17:58:10 +02:00
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/context_menu_card"/>
</FrameLayout>