Added CPU ABI shower in AppErrorsDetailActivity

This commit is contained in:
2022-05-13 22:54:08 +08:00
parent f653dc01f5
commit 5d9cd8a239
11 changed files with 63 additions and 8 deletions

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#292929" />
<corners android:radius="5dp" />
</shape>

View File

@@ -7,7 +7,7 @@
android:background="@color/colorThemeBackground"
android:orientation="vertical"
tools:context=".ui.activity.AppErrorsDetailActivity"
tools:ignore="ContentDescription,UseCompoundDrawables">
tools:ignore="ContentDescription,UseCompoundDrawables,SmallSp">
<LinearLayout
android:layout_width="match_parent"
@@ -146,14 +146,37 @@
app:tint="#FFEF5350" />
</LinearLayout>
<TextView
android:id="@+id/app_version_text"
android:layout_width="wrap_content"
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:singleLine="true"
android:textColor="@color/colorTextDark"
android:textSize="12sp" />
android:gravity="center|start"
android:orientation="horizontal">
<TextView
android:id="@+id/app_abi_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="5dp"
android:background="@drawable/bg_black_round"
android:ellipsize="end"
android:paddingLeft="3dp"
android:paddingTop="0.5dp"
android:paddingRight="3dp"
android:paddingBottom="0.5dp"
android:singleLine="true"
android:text="@string/no_cpu_abi"
android:textColor="@color/white"
android:textSize="9sp" />
<TextView
android:id="@+id/app_version_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:singleLine="true"
android:textColor="@color/colorTextDark"
android:textSize="11sp" />
</LinearLayout>
</LinearLayout>
<ImageView

View File

@@ -42,4 +42,5 @@
<string name="view_detail">詳細を見る</string>
<string name="export_all_errors_success">すべてのエラーレコードがエクスポートされました</string>
<string name="export_all_errors_fail">すべてのエラーレコードのエクスポートに失敗しました</string>
<string name="no_cpu_abi">アビなし</string>
</resources>

View File

@@ -42,4 +42,5 @@
<string name="view_detail">查看详情</string>
<string name="export_all_errors_success">已导出全部异常记录</string>
<string name="export_all_errors_fail">导出全部异常记录失败</string>
<string name="no_cpu_abi">无原生库</string>
</resources>

View File

@@ -42,4 +42,5 @@
<string name="view_detail">查看詳情</string>
<string name="export_all_errors_success">已導出全部異常紀錄</string>
<string name="export_all_errors_fail">導出全部異常紀錄失敗</string>
<string name="no_cpu_abi">無原生庫</string>
</resources>

View File

@@ -42,4 +42,5 @@
<string name="view_detail">查看詳情</string>
<string name="export_all_errors_success">已導出全部異常紀錄</string>
<string name="export_all_errors_fail">導出全部異常紀錄失敗</string>
<string name="no_cpu_abi">無原生庫</string>
</resources>

View File

@@ -42,4 +42,5 @@
<string name="view_detail">查看詳情</string>
<string name="export_all_errors_success">已導出全部異常紀錄</string>
<string name="export_all_errors_fail">導出全部異常紀錄失敗</string>
<string name="no_cpu_abi">無原生庫</string>
</resources>

View File

@@ -41,4 +41,5 @@
<string name="view_detail">View detail</string>
<string name="export_all_errors_success">All errors record exported</string>
<string name="export_all_errors_fail">Failed to exported all errors record</string>
<string name="no_cpu_abi">No ABI</string>
</resources>