OsmAnd/OsmAnd/res/layout/dash_error_fragment.xml

75 lines
2.3 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2015-02-02 15:50:56 +01:00
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2015-05-03 23:42:50 +02:00
android:background="?attr/bg_card"
2015-04-14 16:33:17 +02:00
android:layout_marginTop="@dimen/dash_margin"
android:layout_marginBottom="@dimen/dash_margin"
android:layout_marginLeft="@dimen/dash_margin_h"
android:layout_marginRight="@dimen/dash_margin_h"
2015-02-02 15:50:56 +01:00
android:orientation="vertical">
2015-02-02 15:48:01 +01:00
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:layout_marginTop="10dp"
android:orientation="horizontal">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2015-03-30 01:09:49 +02:00
android:layout_gravity="center"
android:id="@+id/error_icon"
android:scaleType="center"
2015-02-02 15:48:01 +01:00
android:layout_marginLeft="@dimen/dashFavIconMargin"
android:layout_marginRight="@dimen/dashFavIconMargin"
2015-03-30 01:09:49 +02:00
android:src="@drawable/ic_action_remove_dark"/>
2015-02-02 15:48:01 +01:00
<TextView
android:id="@+id/error_header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="@dimen/subHeaderPadding"
android:layout_marginTop="@dimen/subHeaderPadding"
android:textColor="?android:textColorPrimary"
tools:text="@string/lorem_ipsum"/>
2014-12-23 17:58:28 +01:00
</LinearLayout>
2015-02-02 15:48:01 +01:00
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?attr/dashboard_divider"/>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="@dimen/list_header_height"
2015-02-02 15:48:01 +01:00
android:orientation="horizontal">
<Button
android:id="@+id/error_btn"
style="@style/DashboardGeneralButton"
2015-02-02 15:48:01 +01:00
android:layout_width="0dp"
2015-04-15 10:01:27 +02:00
android:gravity="center"
2015-02-02 15:48:01 +01:00
android:layout_weight="1"
android:text="@string/send_report"/>
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:background="?attr/dashboard_divider"/>
<Button
android:id="@+id/error_cancel"
style="@style/DashboardGeneralButton"
2015-02-02 15:48:01 +01:00
android:layout_width="0dp"
2015-04-15 10:01:27 +02:00
android:gravity="center"
2015-02-02 15:48:01 +01:00
android:layout_height="wrap_content"
android:layout_weight="1"
2015-03-08 00:40:15 +01:00
android:text="@string/shared_string_dismiss"/>
2015-02-02 15:48:01 +01:00
</LinearLayout>
</LinearLayout>