This commit is contained in:
Alexey Pelykh 2015-02-02 16:48:01 +02:00
parent 37bdf6802b
commit 855607fd28

View file

@ -1,50 +1,66 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:background="?attr/card_bg"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp">
<ImageView android:src="@drawable/ic_crashlog"
android:layout_marginLeft="@dimen/dashFavIconMargin"
android:layout_marginRight="@dimen/dashFavIconMargin"
android:layout_gravity="center_vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView android:id="@+id/error_header"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_marginBottom="@dimen/subHeaderPadding"
android:layout_marginTop="@dimen/subHeaderPadding"
android:textColor="@color/dashboard_black"
android:layout_gravity="center_horizontal"/>
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/card_bg"
android:orientation="vertical">
<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"
android:layout_gravity="top"
android:layout_marginLeft="@dimen/dashFavIconMargin"
android:layout_marginRight="@dimen/dashFavIconMargin"
android:src="@drawable/ic_crashlog"/>
<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"/>
</LinearLayout>
<View android:layout_width="match_parent"
android:background="?attr/dashboard_divider"
android:layout_height="1dp"/>
<LinearLayout android:layout_width="fill_parent"
android:orientation="horizontal"
android:layout_height="@dimen/dashHeaderHeight">
<Button android:id="@+id/error_btn"
android:layout_width="0dp"
android:layout_weight="1"
android:text="@string/send_report"
style="?attr/dashboardGeneralButtonStyle"/>
<View android:layout_width="1dp"
android:background="?attr/dashboard_divider"
android:layout_height="match_parent"/>
<Button android:id="@+id/error_cancel"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:text="@string/dismiss"
style="?attr/dashboardGeneralButtonStyle"/>
</LinearLayout>
<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/dashHeaderHeight"
android:orientation="horizontal">
<Button
android:id="@+id/error_btn"
style="?attr/dashboardGeneralButtonStyle"
android:layout_width="0dp"
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="?attr/dashboardGeneralButtonStyle"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/dismiss"/>
</LinearLayout>
</LinearLayout>