Browse Source

Card background layout fix

Report tiny change
pull/24/head
Ezerous 8 years ago
parent
commit
7eb659eb0d
  1. 4
      app/src/main/res/layout/fragment_recent_row.xml
  2. 1
      app/src/release/java/mthmmy.utils/Report.java

4
app/src/main/res/layout/fragment_recent_row.xml

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
@ -16,7 +17,8 @@
card_view:cardCornerRadius="0dp" card_view:cardCornerRadius="0dp"
card_view:cardElevation="2dp" card_view:cardElevation="2dp"
card_view:cardPreventCornerOverlap="true" card_view:cardPreventCornerOverlap="true"
card_view:cardUseCompatPadding="true"> card_view:cardUseCompatPadding="true"
card_view:cardBackgroundColor="?attr/cardBackgroundColor">
<RelativeLayout <RelativeLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"

1
app/src/release/java/mthmmy.utils/Report.java

@ -73,6 +73,7 @@ public class Report
private static void exception(String level, String TAG, String message, Throwable tr) private static void exception(String level, String TAG, String message, Throwable tr)
{ {
FirebaseCrash.log(level + "/" + TAG + ": " + message + ": " + tr.getMessage()); FirebaseCrash.log(level + "/" + TAG + ": " + message + ": " + tr.getMessage());
if(level.equals("E")) //report only serious exceptions
FirebaseCrash.report(tr); FirebaseCrash.report(tr);
} }

Loading…
Cancel
Save