初始代码
This commit is contained in:
BIN
Binary file not shown.
|
After Width: | Height: | Size: 638 B |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 827 B |
BIN
Binary file not shown.
|
After Width: | Height: | Size: 469 B |
+27
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
<ImageView
|
||||
android:id="@+id/convert_loading_iv"
|
||||
android:layout_width="15dp"
|
||||
android:layout_height="15dp"
|
||||
android:layout_margin="10dp"
|
||||
android:background="@drawable/voice_to_text_loading"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/convert_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:lineHeight="20.16sp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="15.5sp"
|
||||
tools:text="test" />
|
||||
</RelativeLayout>
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="convert_to_text">تحويل النص</string>
|
||||
<string name="convert_to_text_failed_tips">فشل تحويل</string>
|
||||
<string name="copy_action">نسخ</string>
|
||||
<string name="forward_action">إعادة توجيه</string>
|
||||
<string name="hide_action">إخفاء</string>
|
||||
<string name="copy_success_tip">تم النسخ بنجاح</string>
|
||||
<string name="convert_to_text_risk_content_failed_tip">يحتوي على محتوى حساس، فشل تحويل النص</string>
|
||||
</resources>
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="convert_to_text">轉文字</string>
|
||||
<string name="convert_to_text_failed_tips">轉換失敗</string>
|
||||
<string name="copy_action">複製</string>
|
||||
<string name="forward_action">轉發</string>
|
||||
<string name="hide_action">隱藏</string>
|
||||
<string name="copy_success_tip">複製成功</string>
|
||||
<string name="convert_to_text_risk_content_failed_tip">涉及敏感內容,轉文字失敗</string>
|
||||
</resources>
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="convert_to_text">转文字</string>
|
||||
<string name="convert_to_text_failed_tips">转换失败</string>
|
||||
<string name="copy_action">复制</string>
|
||||
<string name="forward_action">转发</string>
|
||||
<string name="hide_action">隐藏</string>
|
||||
<string name="copy_success_tip">复制成功</string>
|
||||
<string name="convert_to_text_risk_content_failed_tip">涉及敏感内容,转文字失败</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="convert_to_text_risk_tip_color">#DA2222</color>
|
||||
</resources>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
</resources>
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="convert_to_text">Convert to text</string>
|
||||
<string name="convert_to_text_failed_tips">Convert failed</string>
|
||||
<string name="copy_action">Copy</string>
|
||||
<string name="forward_action">Forward</string>
|
||||
<string name="hide_action">Hide</string>
|
||||
<string name="copy_success_tip">Copy Success</string>
|
||||
<string name="convert_to_text_risk_content_failed_tip">Contains sensitive content, text conversion failed</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user