Browse Source

Card background layout fix

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

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

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

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

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

Loading…
Cancel
Save