Ability to report non-fatal exceptions
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ Copyright 2018 Google LLC
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@@ -22,15 +21,17 @@
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/snackbar_layout"
|
||||
style="?attr/snackbarStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="@dimen/margin_small"
|
||||
android:background="@drawable/fading_snackbar_background"
|
||||
android:theme="@style/ThemeOverlay.Kotatsu"
|
||||
android:background="@drawable/design_snackbar_background"
|
||||
android:elevation="8dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/snackbar_text"
|
||||
style="?attr/snackbarTextViewStyle"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical|start"
|
||||
@@ -39,22 +40,22 @@
|
||||
android:maxLines="4"
|
||||
android:padding="@dimen/margin_normal"
|
||||
android:textAlignment="viewStart"
|
||||
android:textColor="@android:color/white"
|
||||
android:textAppearance="@style/TextAppearance.Design.Snackbar.Message"
|
||||
android:textColor="@android:color/white"
|
||||
tools:text="Look at all the wonderful snack bar text..." />
|
||||
|
||||
<Button
|
||||
android:id="@+id/snackbar_action"
|
||||
style="?borderlessButtonStyle"
|
||||
style="?attr/snackbarButtonStyle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_vertical|end"
|
||||
android:paddingEnd="@dimen/margin_normal"
|
||||
android:paddingStart="@dimen/margin_normal"
|
||||
android:paddingEnd="@dimen/margin_normal"
|
||||
android:visibility="gone"
|
||||
tools:targetApi="o"
|
||||
tools:text="Action"
|
||||
tools:visibility="visible"
|
||||
tools:targetApi="o" />
|
||||
tools:visibility="visible" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user