mirror of
https://codeberg.org/gitnex/GitNex.git
synced 2023-12-13 20:50:18 +01:00
0c6c596208
Disable minify to get proper logs Enable it by default Integrate crash reporting Reviewed-on: https://gitea.com/gitnex/GitNex/pulls/418 Reviewed-by: 6543 <6543@noreply.gitea.io>
52 lines
1.9 KiB
XML
52 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/layoutReportingView"
|
|
android:orientation="vertical"
|
|
android:layout_below="@+id/crashReportsDivider"
|
|
android:background="?attr/primaryBackgroundColor">
|
|
|
|
<TextView
|
|
android:id="@+id/reportViewAppearance"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="14sp"
|
|
android:drawableStart="@drawable/ic_bug_report"
|
|
android:drawablePadding="20dp"
|
|
android:text="@string/reportViewerHeader"
|
|
android:textStyle="bold"
|
|
android:textColor="@color/colorDarkGreen"/>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/enableSendReports"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="20dp"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/enableReportsHeader"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="16sp"
|
|
android:layout_marginStart="44dp"
|
|
android:layout_marginEnd="4dp"
|
|
android:text="@string/settingsEnableReportsText"
|
|
android:textColor="?attr/primaryTextColor"/>
|
|
|
|
<Switch
|
|
android:id="@+id/crashReportsSwitch"
|
|
android:layout_toEndOf="@+id/enableReportsHeader"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:switchMinWidth="56dp"
|
|
android:layout_alignParentEnd="true"
|
|
android:gravity="end"
|
|
android:layout_gravity="end"
|
|
android:layout_marginBottom="30dp" />
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout> |