mirror of
https://github.com/KitsunePie/AppErrorsTracking.git
synced 2025-09-08 12:04:05 +08:00
811 lines
36 KiB
XML
811 lines
36 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
xmlns:tools="http://schemas.android.com/tools"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="match_parent"
|
||
android:background="@color/colorThemeBackground"
|
||
android:orientation="vertical"
|
||
tools:context=".ui.activity.main.MainActivity"
|
||
tools:ignore="UseCompoundDrawables,ContentDescription,SmallSp,UnusedAttribute">
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:elevation="0dp"
|
||
android:gravity="center|start"
|
||
android:paddingLeft="15dp"
|
||
android:paddingTop="13dp"
|
||
android:paddingRight="15dp"
|
||
android:paddingBottom="5dp">
|
||
|
||
<TextView
|
||
android:layout_width="0dp"
|
||
android:layout_height="wrap_content"
|
||
android:layout_weight="1"
|
||
android:singleLine="true"
|
||
android:text="@string/app_name"
|
||
android:textColor="@color/colorTextGray"
|
||
android:textSize="25sp"
|
||
android:textStyle="bold" />
|
||
|
||
<androidx.constraintlayout.utils.widget.ImageFilterView
|
||
android:id="@+id/title_logger_icon"
|
||
style="?android:attr/selectableItemBackgroundBorderless"
|
||
android:layout_width="25dp"
|
||
android:layout_height="25dp"
|
||
android:layout_marginEnd="15dp"
|
||
android:alpha="0.85"
|
||
android:padding="0.5dp"
|
||
android:src="@drawable/ic_debug"
|
||
android:tint="@color/colorTextGray"
|
||
android:tooltipText="@string/debug_logs" />
|
||
|
||
<androidx.constraintlayout.utils.widget.ImageFilterView
|
||
android:id="@+id/title_restart_icon"
|
||
style="?android:attr/selectableItemBackgroundBorderless"
|
||
android:layout_width="26dp"
|
||
android:layout_height="26dp"
|
||
android:layout_marginEnd="15dp"
|
||
android:alpha="0.85"
|
||
android:src="@drawable/ic_restart"
|
||
android:tint="@color/colorTextGray"
|
||
android:tooltipText="@string/restart_system" />
|
||
|
||
<androidx.constraintlayout.utils.widget.ImageFilterView
|
||
android:id="@+id/title_github_icon"
|
||
style="?android:attr/selectableItemBackgroundBorderless"
|
||
android:layout_width="27dp"
|
||
android:layout_height="27dp"
|
||
android:layout_marginEnd="5dp"
|
||
android:alpha="0.85"
|
||
android:src="@drawable/ic_github"
|
||
android:tint="@color/colorTextGray"
|
||
android:tooltipText="@string/project_address" />
|
||
</LinearLayout>
|
||
|
||
<LinearLayout
|
||
android:id="@+id/main_lin_status"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginTop="10dp"
|
||
android:layout_marginRight="15dp"
|
||
android:layout_marginBottom="5dp"
|
||
android:background="@drawable/bg_dark_round"
|
||
android:elevation="0dp"
|
||
android:gravity="center">
|
||
|
||
<androidx.constraintlayout.utils.widget.ImageFilterView
|
||
android:id="@+id/main_img_status"
|
||
android:layout_width="25dp"
|
||
android:layout_height="25dp"
|
||
android:layout_marginStart="25dp"
|
||
android:layout_marginEnd="5dp"
|
||
android:src="@drawable/ic_warn"
|
||
android:tint="@color/white" />
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:orientation="vertical"
|
||
android:paddingLeft="20dp"
|
||
android:paddingTop="10dp"
|
||
android:paddingRight="20dp"
|
||
android:paddingBottom="10dp">
|
||
|
||
<TextView
|
||
android:id="@+id/main_text_status"
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginBottom="5dp"
|
||
android:ellipsize="end"
|
||
android:singleLine="true"
|
||
android:text="@string/module_not_activated"
|
||
android:textColor="@color/white"
|
||
android:textSize="18sp" />
|
||
|
||
<LinearLayout
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginBottom="5dp"
|
||
android:gravity="center|start"
|
||
android:orientation="horizontal">
|
||
|
||
<TextView
|
||
android:id="@+id/main_text_version"
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:alpha="0.8"
|
||
android:ellipsize="end"
|
||
android:singleLine="true"
|
||
android:text="@string/module_version"
|
||
android:textColor="@color/white"
|
||
android:textSize="13sp" />
|
||
|
||
<TextView
|
||
android:id="@+id/main_text_release_version"
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginStart="5dp"
|
||
android:background="@drawable/bg_orange_round"
|
||
android:ellipsize="end"
|
||
android:paddingLeft="5dp"
|
||
android:paddingTop="2dp"
|
||
android:paddingRight="5dp"
|
||
android:paddingBottom="2dp"
|
||
android:singleLine="true"
|
||
android:textColor="@color/white"
|
||
android:textSize="11sp"
|
||
android:visibility="gone" />
|
||
</LinearLayout>
|
||
|
||
<TextView
|
||
android:id="@+id/main_text_system_version"
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:alpha="0.8"
|
||
android:ellipsize="end"
|
||
android:singleLine="true"
|
||
android:text="@string/system_version"
|
||
android:textColor="@color/white"
|
||
android:textSize="13sp" />
|
||
|
||
<TextView
|
||
android:id="@+id/main_text_api_way"
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginTop="5dp"
|
||
android:alpha="0.6"
|
||
android:ellipsize="end"
|
||
android:singleLine="true"
|
||
android:textColor="@color/white"
|
||
android:textSize="11sp"
|
||
android:visibility="gone" />
|
||
</LinearLayout>
|
||
</LinearLayout>
|
||
|
||
<androidx.core.widget.NestedScrollView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="match_parent"
|
||
android:layout_marginTop="10dp"
|
||
android:layout_marginBottom="10dp"
|
||
android:fadingEdgeLength="10dp"
|
||
android:fillViewport="true"
|
||
android:requiresFadingEdge="vertical">
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:animateLayoutChanges="true"
|
||
android:orientation="vertical">
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginRight="15dp"
|
||
android:animateLayoutChanges="true"
|
||
android:background="@drawable/bg_permotion_round"
|
||
android:elevation="0dp"
|
||
android:gravity="center"
|
||
android:orientation="vertical"
|
||
android:paddingTop="15dp">
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginRight="15dp"
|
||
android:layout_marginBottom="10dp"
|
||
android:gravity="center|start">
|
||
|
||
<androidx.cardview.widget.CardView
|
||
android:layout_width="15dp"
|
||
android:layout_height="15dp"
|
||
android:layout_marginEnd="10dp"
|
||
app:cardBackgroundColor="#009688"
|
||
app:cardCornerRadius="50dp"
|
||
app:cardElevation="0dp">
|
||
|
||
<ImageView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="match_parent"
|
||
android:layout_gravity="center"
|
||
android:padding="2.5dp"
|
||
android:src="@drawable/ic_preference" />
|
||
</androidx.cardview.widget.CardView>
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:alpha="0.85"
|
||
android:singleLine="true"
|
||
android:text="@string/preference_settings"
|
||
android:textColor="@color/colorTextGray"
|
||
android:textSize="12sp" />
|
||
</LinearLayout>
|
||
|
||
<com.fankes.apperrorstracking.ui.widget.MaterialSwitch
|
||
android:id="@+id/only_show_errors_in_front_switch"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="30dp"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginRight="15dp"
|
||
android:layout_marginBottom="5dp"
|
||
android:text="@string/only_show_errors_in_front"
|
||
android:textAllCaps="false"
|
||
android:textColor="@color/colorTextGray"
|
||
android:textSize="15sp" />
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginRight="15dp"
|
||
android:layout_marginBottom="10dp"
|
||
android:alpha="0.6"
|
||
android:lineSpacingExtra="6dp"
|
||
android:text="@string/only_show_errors_in_front_tip"
|
||
android:textColor="@color/colorTextDark"
|
||
android:textSize="12sp" />
|
||
|
||
<com.fankes.apperrorstracking.ui.widget.MaterialSwitch
|
||
android:id="@+id/only_show_errors_in_main_process_switch"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="30dp"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginRight="15dp"
|
||
android:layout_marginBottom="5dp"
|
||
android:text="@string/only_show_errors_in_main_process"
|
||
android:textAllCaps="false"
|
||
android:textColor="@color/colorTextGray"
|
||
android:textSize="15sp" />
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginRight="15dp"
|
||
android:layout_marginBottom="10dp"
|
||
android:alpha="0.6"
|
||
android:lineSpacingExtra="6dp"
|
||
android:text="@string/only_show_errors_in_main_process_tip"
|
||
android:textColor="@color/colorTextDark"
|
||
android:textSize="12sp" />
|
||
|
||
<com.fankes.apperrorstracking.ui.widget.MaterialSwitch
|
||
android:id="@+id/always_shows_reopen_app_options_switch"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="30dp"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginRight="15dp"
|
||
android:layout_marginBottom="5dp"
|
||
android:text="@string/errors_dialog_always_show_reopen"
|
||
android:textAllCaps="false"
|
||
android:textColor="@color/colorTextGray"
|
||
android:textSize="15sp" />
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginRight="15dp"
|
||
android:layout_marginBottom="10dp"
|
||
android:alpha="0.6"
|
||
android:lineSpacingExtra="6dp"
|
||
android:text="@string/errors_dialog_always_show_reopen_tip"
|
||
android:textColor="@color/colorTextDark"
|
||
android:textSize="12sp" />
|
||
|
||
<com.fankes.apperrorstracking.ui.widget.MaterialSwitch
|
||
android:id="@+id/share_with_file"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="30dp"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginRight="15dp"
|
||
android:layout_marginBottom="5dp"
|
||
android:text="@string/share_with_file"
|
||
android:textAllCaps="false"
|
||
android:textColor="@color/colorTextGray"
|
||
android:textSize="15sp" />
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginRight="15dp"
|
||
android:layout_marginBottom="10dp"
|
||
android:alpha="0.6"
|
||
android:lineSpacingExtra="6dp"
|
||
android:text="@string/share_with_file_tip"
|
||
android:textColor="@color/colorTextDark"
|
||
android:textSize="12sp" />
|
||
|
||
<com.fankes.apperrorstracking.ui.widget.MaterialSwitch
|
||
android:id="@+id/enable_apps_configs_template_switch"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="30dp"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginRight="15dp"
|
||
android:text="@string/enable_apps_config_template"
|
||
android:textAllCaps="false"
|
||
android:textColor="@color/colorTextGray"
|
||
android:textSize="15sp" />
|
||
|
||
<TextView
|
||
android:id="@+id/mgr_apps_configs_template_button"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="13dp"
|
||
android:layout_marginTop="10dp"
|
||
android:layout_marginRight="13dp"
|
||
android:layout_marginBottom="5dp"
|
||
android:background="@drawable/bg_button_round"
|
||
android:gravity="center"
|
||
android:padding="10dp"
|
||
android:singleLine="true"
|
||
android:text="@string/mgr_apps_config_template"
|
||
android:textColor="@color/colorTextGray"
|
||
android:textSize="15sp"
|
||
android:visibility="gone" />
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginTop="5dp"
|
||
android:layout_marginRight="15dp"
|
||
android:layout_marginBottom="10dp"
|
||
android:alpha="0.6"
|
||
android:lineSpacingExtra="6dp"
|
||
android:text="@string/apps_config_template_tip"
|
||
android:textColor="@color/colorTextDark"
|
||
android:textSize="12sp" />
|
||
|
||
<com.fankes.apperrorstracking.ui.widget.MaterialSwitch
|
||
android:id="@+id/errors_dialog_prevent_misoperation_switch"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="30dp"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginRight="15dp"
|
||
android:layout_marginBottom="5dp"
|
||
android:text="@string/errors_dialog_prevent_misoperation"
|
||
android:textAllCaps="false"
|
||
android:textColor="@color/colorTextGray"
|
||
android:textSize="15sp" />
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginRight="15dp"
|
||
android:layout_marginBottom="10dp"
|
||
android:alpha="0.6"
|
||
android:lineSpacingExtra="6dp"
|
||
android:text="@string/errors_dialog_prevent_misoperation_tip"
|
||
android:textColor="@color/colorTextDark"
|
||
android:textSize="12sp" />
|
||
</LinearLayout>
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginTop="15dp"
|
||
android:layout_marginRight="15dp"
|
||
android:background="@drawable/bg_permotion_round"
|
||
android:elevation="0dp"
|
||
android:gravity="center"
|
||
android:orientation="vertical"
|
||
android:paddingLeft="15dp"
|
||
android:paddingTop="15dp"
|
||
android:paddingRight="15dp">
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:gravity="center|start">
|
||
|
||
<androidx.cardview.widget.CardView
|
||
android:layout_width="15dp"
|
||
android:layout_height="15dp"
|
||
android:layout_marginEnd="10dp"
|
||
app:cardBackgroundColor="#BA68C8"
|
||
app:cardCornerRadius="50dp"
|
||
app:cardElevation="0dp">
|
||
|
||
<ImageView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="match_parent"
|
||
android:layout_gravity="center"
|
||
android:padding="2.5dp"
|
||
android:src="@drawable/ic_theme" />
|
||
</androidx.cardview.widget.CardView>
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:alpha="0.85"
|
||
android:singleLine="true"
|
||
android:text="@string/theme_settings"
|
||
android:textColor="@color/colorTextGray"
|
||
android:textSize="12sp" />
|
||
</LinearLayout>
|
||
|
||
<com.fankes.apperrorstracking.ui.widget.MaterialSwitch
|
||
android:id="@+id/enable_material3_app_errors_dialog_switch"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:text="@string/enable_md3_app_errors_dialog"
|
||
android:textAllCaps="false"
|
||
android:textColor="@color/colorTextGray"
|
||
android:textSize="15sp" />
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginBottom="10dp"
|
||
android:alpha="0.6"
|
||
android:lineSpacingExtra="6dp"
|
||
android:text="@string/enable_md3_app_errors_dialog_tip"
|
||
android:textColor="@color/colorTextDark"
|
||
android:textSize="12sp" />
|
||
</LinearLayout>
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginTop="15dp"
|
||
android:layout_marginRight="15dp"
|
||
android:background="@drawable/bg_permotion_round"
|
||
android:elevation="0dp"
|
||
android:gravity="center"
|
||
android:orientation="vertical"
|
||
android:paddingTop="15dp">
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginRight="15dp"
|
||
android:layout_marginBottom="15dp"
|
||
android:gravity="center|start">
|
||
|
||
<androidx.cardview.widget.CardView
|
||
android:layout_width="15dp"
|
||
android:layout_height="15dp"
|
||
android:layout_marginEnd="10dp"
|
||
app:cardBackgroundColor="#2196F3"
|
||
app:cardCornerRadius="50dp"
|
||
app:cardElevation="0dp">
|
||
|
||
<ImageView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="match_parent"
|
||
android:layout_gravity="center"
|
||
android:padding="2.5dp"
|
||
android:src="@drawable/ic_function" />
|
||
</androidx.cardview.widget.CardView>
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:alpha="0.85"
|
||
android:singleLine="true"
|
||
android:text="@string/function_mgr"
|
||
android:textColor="@color/colorTextGray"
|
||
android:textSize="12sp" />
|
||
</LinearLayout>
|
||
|
||
<TextView
|
||
android:id="@+id/view_errors_record_button"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="13dp"
|
||
android:layout_marginRight="13dp"
|
||
android:layout_marginBottom="10dp"
|
||
android:background="@drawable/bg_button_round"
|
||
android:gravity="center"
|
||
android:padding="10dp"
|
||
android:singleLine="true"
|
||
android:text="@string/view_errors_record"
|
||
android:textColor="@color/colorTextGray"
|
||
android:textSize="15sp" />
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginRight="15dp"
|
||
android:layout_marginBottom="10dp"
|
||
android:alpha="0.6"
|
||
android:lineSpacingExtra="6dp"
|
||
android:text="@string/view_errors_record_tip"
|
||
android:textColor="@color/colorTextDark"
|
||
android:textSize="12sp" />
|
||
|
||
<TextView
|
||
android:id="@+id/view_muted_errors_apps_button"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="13dp"
|
||
android:layout_marginRight="13dp"
|
||
android:layout_marginBottom="10dp"
|
||
android:background="@drawable/bg_button_round"
|
||
android:gravity="center"
|
||
android:padding="10dp"
|
||
android:singleLine="true"
|
||
android:text="@string/view_muted_errors_apps"
|
||
android:textColor="@color/colorTextGray"
|
||
android:textSize="15sp" />
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginRight="15dp"
|
||
android:layout_marginBottom="10dp"
|
||
android:alpha="0.6"
|
||
android:lineSpacingExtra="6dp"
|
||
android:text="@string/view_muted_errors_apps_tip"
|
||
android:textColor="@color/colorTextDark"
|
||
android:textSize="12sp" />
|
||
</LinearLayout>
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginTop="15dp"
|
||
android:layout_marginRight="15dp"
|
||
android:background="@drawable/bg_permotion_round"
|
||
android:elevation="0dp"
|
||
android:gravity="center"
|
||
android:orientation="vertical"
|
||
android:paddingLeft="15dp"
|
||
android:paddingTop="15dp"
|
||
android:paddingRight="15dp">
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:gravity="center|start">
|
||
|
||
<androidx.cardview.widget.CardView
|
||
android:layout_width="15dp"
|
||
android:layout_height="15dp"
|
||
android:layout_marginEnd="10dp"
|
||
app:cardBackgroundColor="#FFFF9800"
|
||
app:cardCornerRadius="50dp"
|
||
app:cardElevation="0dp">
|
||
|
||
<ImageView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="match_parent"
|
||
android:layout_gravity="center"
|
||
android:padding="2.5dp"
|
||
android:src="@drawable/ic_home" />
|
||
</androidx.cardview.widget.CardView>
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:alpha="0.85"
|
||
android:singleLine="true"
|
||
android:text="@string/display_settings"
|
||
android:textColor="@color/colorTextGray"
|
||
android:textSize="12sp" />
|
||
</LinearLayout>
|
||
|
||
<com.fankes.apperrorstracking.ui.widget.MaterialSwitch
|
||
android:id="@+id/hide_icon_in_launcher_switch"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:text="@string/hide_app_icon_on_launcher"
|
||
android:textAllCaps="false"
|
||
android:textColor="@color/colorTextGray"
|
||
android:textSize="15sp" />
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginBottom="10dp"
|
||
android:alpha="0.6"
|
||
android:lineSpacingExtra="6dp"
|
||
android:text="@string/hide_app_icon_on_launcher_tip"
|
||
android:textColor="@color/colorTextDark"
|
||
android:textSize="12sp" />
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginBottom="10dp"
|
||
android:alpha="0.6"
|
||
android:lineSpacingExtra="6dp"
|
||
android:text="@string/hide_app_icon_on_launcher_notice"
|
||
android:textColor="#FF5722"
|
||
android:textSize="12sp" />
|
||
</LinearLayout>
|
||
|
||
<LinearLayout
|
||
android:id="@+id/app_analytics_config_item"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginTop="15dp"
|
||
android:layout_marginRight="15dp"
|
||
android:background="@drawable/bg_permotion_round"
|
||
android:elevation="0dp"
|
||
android:gravity="center"
|
||
android:orientation="vertical"
|
||
android:paddingLeft="15dp"
|
||
android:paddingTop="15dp"
|
||
android:paddingRight="15dp">
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:gravity="center|start">
|
||
|
||
<androidx.cardview.widget.CardView
|
||
android:layout_width="15dp"
|
||
android:layout_height="15dp"
|
||
android:layout_marginEnd="10dp"
|
||
app:cardBackgroundColor="#FFCB2E62"
|
||
app:cardCornerRadius="50dp"
|
||
app:cardElevation="0dp">
|
||
|
||
<ImageView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="match_parent"
|
||
android:layout_gravity="center"
|
||
android:padding="2dp"
|
||
android:src="@drawable/ic_appcenter" />
|
||
</androidx.cardview.widget.CardView>
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:alpha="0.85"
|
||
android:singleLine="true"
|
||
android:text="@string/microsoft_app_center"
|
||
android:textColor="@color/colorTextGray"
|
||
android:textSize="12sp" />
|
||
</LinearLayout>
|
||
|
||
<com.fankes.apperrorstracking.ui.widget.MaterialSwitch
|
||
android:id="@+id/enable_anonymous_statistics_switch"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:text="@string/enable_anonymous_statistics"
|
||
android:textAllCaps="false"
|
||
android:textColor="@color/colorTextGray"
|
||
android:textSize="15sp" />
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginBottom="10dp"
|
||
android:alpha="0.6"
|
||
android:lineSpacingExtra="6dp"
|
||
android:text="@string/enable_anonymous_statistics_tip"
|
||
android:textColor="@color/colorTextDark"
|
||
android:textSize="12sp" />
|
||
</LinearLayout>
|
||
|
||
<LinearLayout
|
||
android:id="@+id/payment_following_zh_cn_item"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginTop="15dp"
|
||
android:layout_marginRight="15dp"
|
||
android:background="@drawable/bg_permotion_round"
|
||
android:elevation="0dp"
|
||
android:gravity="center"
|
||
android:orientation="vertical"
|
||
android:paddingLeft="15dp"
|
||
android:paddingRight="15dp"
|
||
tools:ignore="HardcodedText">
|
||
|
||
<TextView
|
||
android:id="@+id/link_with_follow_me"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginTop="10dp"
|
||
android:layout_marginBottom="10dp"
|
||
android:gravity="center"
|
||
android:lineSpacingExtra="6dp"
|
||
android:text="恰饭时间\n点击前往酷安关注我,获取我的更多应用"
|
||
android:textColor="@color/colorTextGray"
|
||
android:textSize="16sp" />
|
||
|
||
<androidx.cardview.widget.CardView
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginBottom="10dp"
|
||
app:cardCornerRadius="15dp"
|
||
app:cardElevation="0dp">
|
||
|
||
<ImageView
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:adjustViewBounds="true"
|
||
android:src="@mipmap/bg_payment_code" />
|
||
</androidx.cardview.widget.CardView>
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginBottom="10dp"
|
||
android:gravity="center"
|
||
android:lineSpacingExtra="6dp"
|
||
android:text="开发者 酷安 @星夜不荟\n未经允许不得转载、修改复制我的劳动成果"
|
||
android:textColor="@color/colorTextGray"
|
||
android:textSize="16sp" />
|
||
</LinearLayout>
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginTop="15dp"
|
||
android:layout_marginRight="15dp"
|
||
android:layout_marginBottom="10dp"
|
||
android:background="@drawable/bg_permotion_round"
|
||
android:gravity="center|start"
|
||
android:orientation="horizontal"
|
||
android:padding="10dp">
|
||
|
||
<ImageView
|
||
android:layout_width="35dp"
|
||
android:layout_height="35dp"
|
||
android:layout_marginEnd="10dp"
|
||
android:src="@mipmap/ic_yukihookapi" />
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:autoLink="web"
|
||
android:ellipsize="end"
|
||
android:lineSpacingExtra="6dp"
|
||
android:maxLines="2"
|
||
android:text="@string/about_module"
|
||
android:textColor="@color/colorTextGray"
|
||
android:textSize="11sp" />
|
||
</LinearLayout>
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="15dp"
|
||
android:layout_marginRight="15dp"
|
||
android:layout_marginBottom="10dp"
|
||
android:background="@drawable/bg_permotion_round"
|
||
android:gravity="center|start"
|
||
android:orientation="horizontal"
|
||
android:padding="10dp">
|
||
|
||
<ImageView
|
||
android:layout_width="35dp"
|
||
android:layout_height="35dp"
|
||
android:layout_marginEnd="10dp"
|
||
android:src="@mipmap/ic_kavaref" />
|
||
|
||
<TextView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:autoLink="web"
|
||
android:ellipsize="end"
|
||
android:lineSpacingExtra="6dp"
|
||
android:maxLines="2"
|
||
android:text="@string/about_module_extension"
|
||
android:textColor="@color/colorTextGray"
|
||
android:textSize="11sp" />
|
||
</LinearLayout>
|
||
</LinearLayout>
|
||
</androidx.core.widget.NestedScrollView>
|
||
</LinearLayout>
|