mirror of
https://github.com/Joker-x-dev/AndroidProject-Compose.git
synced 2025-12-28 08:07:11 +00:00
初步实现脚手架
This commit is contained in:
21
app/src/main/res/drawable/ic_empty_data.xml
Normal file
21
app/src/main/res/drawable/ic_empty_data.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="1024"
|
||||
android:viewportHeight="1024">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M807.9,641.5c-80.9,0 -146.9,66 -146.9,146.9s66,146.9 146.9,146.9 146.9,-66 146.9,-146.9 -65.5,-146.9 -146.9,-146.9zM807.9,882.7c-51.7,0 -94.2,-42 -94.2,-94.2 0,-51.7 42,-94.2 94.2,-94.2 51.7,0 94.2,42 94.2,94.2s-42,94.2 -94.2,94.2z" />
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M858.6,762.4h-101.4c-14.3,0 -26.6,12.3 -26.6,26.6s12.3,26.6 26.6,26.6h101.4c14.3,0 26.6,-12.3 26.6,-26.6 0,-14.8 -11.8,-26.6 -26.6,-26.6z" />
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M301.1,400.4c-17.9,0 -32.3,14.3 -32.3,32.3v213.5c0,17.9 14.3,32.3 32.3,32.3s32.3,-14.3 32.3,-32.3V432.1c-0.5,-17.4 -14.8,-31.7 -32.3,-31.7zM621.1,442.9c-17.9,0 -32.3,14.3 -32.3,32.3v170.5c0,17.9 14.3,32.3 32.3,32.3s32.3,-14.3 32.3,-32.3V475.1c-0.5,-17.9 -14.8,-32.3 -32.3,-32.3z" />
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M202.8,821.2c-29.7,0 -53.2,-24.1 -53.2,-53.2V256c0,-29.7 24.1,-53.2 53.2,-53.2h618.5c29.7,0 53.2,24.1 53.2,53.2v288.3c0,17.9 14.3,31.7 32.3,31.7s32.3,-14.3 32.3,-31.7V256c0,-65 -52.7,-117.2 -117.2,-117.2H202.8c-65,0 -117.2,52.7 -117.2,117.2v512c0,65 52.7,117.2 117.2,117.2h362.5c17.9,0 31.7,-14.3 31.7,-32.3s-14.3,-32.3 -31.7,-32.3H202.8z" />
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M460.8,314.9c-17.9,0 -32.3,14.3 -32.3,32.3v298.5c0,17.9 14.3,32.3 32.3,32.3s32.3,-14.3 32.3,-32.3V347.1c0,-17.9 -14.3,-32.3 -32.3,-32.3z" />
|
||||
</vector>
|
||||
12
app/src/main/res/drawable/ic_empty_error.xml
Normal file
12
app/src/main/res/drawable/ic_empty_error.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="1024"
|
||||
android:viewportHeight="1024">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M645.6,64c16.9,0 33.3,6.7 45.1,18.9l186.4,186.4c11.8,11.8 18.9,28.2 18.9,45.1v517.6c0,70.7 -57.3,128 -128,128L256,960c-70.7,0 -128,-57.3 -128,-128v-640c0,-70.7 57.3,-128 128,-128h389.6zM642,128L256,128c-32.3,0 -59.9,24.1 -63.5,56.3l-0.5,7.7v640c0,32.3 24.1,59.9 56.3,63.5l7.7,0.5h512c32.3,0 59.9,-24.1 63.5,-56.3l0.5,-7.7v-512h-62c-67.1,0 -122.4,-51.7 -127.5,-118.3l-0.5,-9.7L642,128zM706,188.4v3.6c0,32.3 24.1,59.9 56.3,63.5l7.7,0.5h3.6l-67.6,-67.6z" />
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M647.2,433.7H547.8c-13.3,0 -23.6,-8.7 -25.1,-21.5 -1.5,-12.3 5.6,-24.1 17.4,-27.6 3.6,-1 7.7,-1 11.8,-1h145.9c4.6,0 9.7,-0.5 14.3,0 10.2,2 17.4,7.7 20.5,17.9 3.1,9.7 0,18.4 -7.2,25.6l-112.6,112.6c-1,1 -2,2.6 -3.6,3.6 2.6,1.5 5.1,1 7.2,1h92.2c12.8,0 23,8.7 24.6,21 2,11.8 -5.6,23.6 -16.9,27.6 -4.1,1.5 -8.7,1.5 -12.8,1.5h-145.9c-5.1,0 -9.7,0.5 -14.8,-0.5 -18.4,-3.6 -26.6,-25.1 -15.4,-39.9 1.5,-2 3.6,-4.1 5.6,-5.6l111.6,-112.1c0.5,0 1,-0.5 2.6,-2.6zM440.8,780.8c18.4,0 35.3,-0.5 51.7,0 20.5,0.5 33.3,20.5 23.6,37.9 -4.6,9.2 -12.8,13.8 -23,13.8H377.9c-11.3,0 -20.5,-5.6 -24.1,-15.9 -4.1,-10.8 -2,-20.5 6.1,-28.7L425,722.9c1.5,-1.5 3.1,-3.6 5.1,-5.1 -2,-1.5 -4.1,-1 -5.6,-1H378.9c-14.8,0 -26.1,-10.8 -26.6,-24.6 -0.5,-14.3 9.2,-25.1 24.1,-27.1 2.6,-0.5 5.1,-0.5 7.7,-0.5 35.8,0 72.2,0 108,-0.5 11.8,0 21.5,6.1 25.6,15.9 4.1,10.2 1.5,21.5 -6.7,30.2l-66,66c-1,1.5 -2,2.6 -4.1,4.6zM366.1,560.1h39.9c15.9,0.5 25.6,15.9 18.4,29.7 -3.6,7.2 -9.7,10.8 -17.9,10.8H317.4c-8.7,0 -15.9,-4.6 -18.9,-12.3 -3.1,-8.2 -1.5,-15.9 4.6,-22l50.2,-50.2 4.1,-4.1c-1.5,-1.5 -3.1,-1 -4.6,-1h-34.8c-11.3,0 -20,-8.2 -20.5,-18.9 -0.5,-10.8 7.2,-19.5 18.4,-21 2,0 4.1,-0.5 6.1,-0.5h83.5c9.2,0 16.9,4.6 20,12.3 3.6,7.7 1.5,16.9 -5.1,23 -16.9,16.9 -33.8,33.8 -51.2,50.7 -1,1 -1.5,2 -3.1,3.6z" />
|
||||
</vector>
|
||||
15
app/src/main/res/drawable/ic_empty_network.xml
Normal file
15
app/src/main/res/drawable/ic_empty_network.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="1024"
|
||||
android:viewportHeight="1024">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M912.4,273.4c-84.5,-124.9 -224.8,-199.7 -375.3,-199.7 -249.3,0 -452.6,202.8 -452.6,452.6 0,186.4 117.2,356.4 291.3,422.9 3.6,1.5 7.7,2 11.3,2 13.3,0 25.1,-8.2 29.7,-20.5 6.1,-16.4 -2,-34.8 -18.4,-41.5 -67.6,-25.6 -126,-70.1 -170.5,-128h114.2c13.8,27.1 29.7,53.2 47.6,77.3 6.1,8.2 15.9,13.3 25.6,13.3 6.7,0 13.3,-2 18.9,-6.1 14.3,-10.8 16.9,-30.7 6.7,-44.5 -9.2,-12.8 -18.4,-26.1 -26.1,-39.4h8.2c16.4,0 30.7,-11.8 32.8,-27.6 2.6,-19.5 -12.8,-36.4 -31.7,-36.4h-41c-17.9,-44.5 -28.7,-92.2 -31.7,-140.3h39.4c17.9,0 31.7,-14.3 31.7,-31.7 0,-17.9 -14.3,-31.7 -31.7,-31.7h-39.4c3.6,-47.6 13.8,-94.2 31.7,-138.8h340c16.9,0 32.3,-12.8 33.3,-29.7 1,-16.4 -10.2,-30.7 -26.1,-33.8 -25.6,-54.3 -60.9,-102.4 -103.9,-143.4 95.2,22 177.7,78.8 233,160.3 9.2,13.3 26.6,18.9 41,11.8 17.4,-9.2 23,-31.2 12.3,-47.1zM188.9,697.3c-22,-44.5 -34.8,-91.6 -38.9,-140.3h138.2c2.6,48.1 12.3,95.2 27.6,140.3L188.9,697.3zM288.3,493.1h-138.2c4.1,-48.6 17.4,-95.2 38.9,-138.8h127c-15.4,45.1 -24.6,91.6 -27.6,138.8zM342.5,290.3L228.9,290.3c54.3,-71.2 131.1,-120.8 217.1,-141.3 -42,41 -76.8,88.6 -103.4,141.3zM657.9,290.3L415.7,290.3c31.2,-52.7 71.7,-97.8 120.3,-134.7 48.6,36.4 90.6,82.4 121.9,134.7z" />
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M921.6,545.8c3.1,-29.2 -5.6,-58.4 -24.6,-81.4 -18.9,-23 -45.1,-37.4 -74.8,-39.9 -28.7,-3.1 -57.9,6.1 -80.4,24.6l-66.6,56.3c-11.3,9.7 -12.8,26.6 -3.6,38.4 9.7,11.8 26.6,13.3 38.4,3.6l66.6,-55.3 4.1,-3.1c10.8,-7.2 23.6,-10.8 36.4,-9.2 14.3,2 27.1,9.2 36.4,20.5 18.9,23.6 16.4,57.9 -6.1,78.3l-62.5,52.7c-12.8,10.8 -14.8,30.2 -4.1,43 2.6,3.1 -0.5,7.7 -4.6,6.1 -15.4,-6.1 -33.3,1.5 -39.4,16.9l-31.7,78.3 -2,4.6c-5.6,11.8 -15.4,21 -27.6,25.6 -13.8,5.6 -28.7,6.1 -42.5,0.5 -13.8,-5.6 -24.6,-16.4 -30.2,-29.7 -5.6,-13.8 -5.6,-29.2 0,-43l32.3,-81.4c5.6,-13.8 -1,-29.7 -14.8,-35.3 -13.8,-5.6 -29.7,1 -35.3,15.4l-32.3,81.4 -2,6.1c-17.9,54.8 9.7,114.7 63,136.7 0.5,0 0.5,0 1,0.5 23,9.2 48.6,10.2 72.2,3.1 4.1,-1 7.7,-2 11.8,-3.6 26.6,-11.3 48.1,-33.3 58.4,-60.4l40.4,-104.4c0,-0.5 0.5,-1 1,-1.5l84.5,-71.2 4.6,-4.1c19.5,-18.4 31.7,-43 34.3,-69.1z" />
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M807.4,536.6c-9.7,-11.8 -27.1,-13.3 -38.4,-3.6l-26.6,22c-11.8,9.7 -13.3,26.6 -3.6,38.4 9.7,11.8 26.6,13.3 38.4,3.6l26.6,-22c11.3,-9.7 12.8,-26.6 3.6,-38.4zM664.1,735.2c13.8,5.6 29.7,-1 35.3,-14.8l12.8,-32.3c5.6,-13.8 -1,-29.7 -15.4,-35.3 -13.8,-5.6 -29.7,1 -35.3,15.4l-12.8,32.3c-5.6,13.8 1.5,29.2 15.4,34.8z" />
|
||||
</vector>
|
||||
26
app/src/main/res/drawable/ic_error.xml
Normal file
26
app/src/main/res/drawable/ic_error.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="48"
|
||||
android:viewportHeight="48">
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M24,44C35.046,44 44,35.046 44,24C44,12.954 35.046,4 24,4C12.954,4 4,12.954 4,24C4,35.046 12.954,44 24,44Z"
|
||||
android:strokeWidth="4"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeLineJoin="round" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M29.657,18.343L18.343,29.657"
|
||||
android:strokeWidth="4"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeLineCap="round"
|
||||
android:strokeLineJoin="round" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M18.343,18.343L29.657,29.657"
|
||||
android:strokeWidth="4"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeLineCap="round"
|
||||
android:strokeLineJoin="round" />
|
||||
</vector>
|
||||
19
app/src/main/res/drawable/ic_success.xml
Normal file
19
app/src/main/res/drawable/ic_success.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="48"
|
||||
android:viewportHeight="48">
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M24,44C29.523,44 34.523,41.761 38.142,38.142C41.761,34.523 44,29.523 44,24C44,18.477 41.761,13.477 38.142,9.858C34.523,6.239 29.523,4 24,4C18.477,4 13.477,6.239 9.858,9.858C6.239,13.477 4,18.477 4,24C4,29.523 6.239,34.523 9.858,38.142C13.477,41.761 18.477,44 24,44Z"
|
||||
android:strokeWidth="4"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeLineJoin="round" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M16,24L22,30L34,18"
|
||||
android:strokeWidth="4"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeLineCap="round"
|
||||
android:strokeLineJoin="round" />
|
||||
</vector>
|
||||
23
app/src/main/res/drawable/ic_warning.xml
Normal file
23
app/src/main/res/drawable/ic_warning.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="48"
|
||||
android:viewportHeight="48">
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M24,44C29.523,44 34.523,41.761 38.142,38.142C41.761,34.523 44,29.523 44,24C44,18.477 41.761,13.477 38.142,9.858C34.523,6.239 29.523,4 24,4C18.477,4 13.477,6.239 9.858,9.858C6.239,13.477 4,18.477 4,24C4,29.523 6.239,34.523 9.858,38.142C13.477,41.761 18.477,44 24,44Z"
|
||||
android:strokeWidth="4"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeLineJoin="round" />
|
||||
<path
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M24,37C25.381,37 26.5,35.881 26.5,34.5C26.5,33.119 25.381,32 24,32C22.619,32 21.5,33.119 21.5,34.5C21.5,35.881 22.619,37 24,37Z" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M24,12V28"
|
||||
android:strokeWidth="4"
|
||||
android:strokeColor="#FFFFFF"
|
||||
android:strokeLineCap="round"
|
||||
android:strokeLineJoin="round" />
|
||||
</vector>
|
||||
5
app/src/main/res/drawable/toast_error_bg.xml
Normal file
5
app/src/main/res/drawable/toast_error_bg.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="#FF2B2B" />
|
||||
<corners android:radius="8dp" />
|
||||
</shape>
|
||||
5
app/src/main/res/drawable/toast_success_bg.xml
Normal file
5
app/src/main/res/drawable/toast_success_bg.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="#09BE4F" />
|
||||
<corners android:radius="8dp" />
|
||||
</shape>
|
||||
5
app/src/main/res/drawable/toast_warn_bg.xml
Normal file
5
app/src/main/res/drawable/toast_warn_bg.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="#FFB703" />
|
||||
<corners android:radius="8dp" />
|
||||
</shape>
|
||||
30
app/src/main/res/layout/toast_error.xml
Normal file
30
app/src/main/res/layout/toast_error.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout 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"
|
||||
android:background="@drawable/toast_error_bg"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingStart="20dp"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingEnd="20dp"
|
||||
android:paddingBottom="12dp">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:src="@drawable/ic_error" />
|
||||
|
||||
<TextView
|
||||
android:id="@android:id/message"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:lineSpacingExtra="5dp"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="15sp"
|
||||
tools:text="我是 Toast 文本" />
|
||||
|
||||
</LinearLayout>
|
||||
30
app/src/main/res/layout/toast_success.xml
Normal file
30
app/src/main/res/layout/toast_success.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout 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"
|
||||
android:background="@drawable/toast_success_bg"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingStart="20dp"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingEnd="20dp"
|
||||
android:paddingBottom="12dp">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:src="@drawable/ic_success" />
|
||||
|
||||
<TextView
|
||||
android:id="@android:id/message"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:lineSpacingExtra="5dp"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="15sp"
|
||||
tools:text="我是 Toast 文本" />
|
||||
|
||||
</LinearLayout>
|
||||
30
app/src/main/res/layout/toast_warn.xml
Normal file
30
app/src/main/res/layout/toast_warn.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout 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"
|
||||
android:background="@drawable/toast_warn_bg"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingStart="20dp"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingEnd="20dp"
|
||||
android:paddingBottom="12dp">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:src="@drawable/ic_warning" />
|
||||
|
||||
<TextView
|
||||
android:id="@android:id/message"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:lineSpacingExtra="5dp"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="15sp"
|
||||
tools:text="我是 Toast 文本" />
|
||||
|
||||
</LinearLayout>
|
||||
27
app/src/main/res/values-en/strings.xml
Normal file
27
app/src/main/res/values-en/strings.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<resources>
|
||||
<string name="app_name">AndroidProject-Compose</string>
|
||||
|
||||
<!-- Empty States -->
|
||||
<string name="empty_cart_btn">Go Shopping</string>
|
||||
<string name="empty_data">No Data</string>
|
||||
<string name="empty_data_subtitle">No content available</string>
|
||||
<string name="empty_error">Load Failed</string>
|
||||
<string name="empty_error_subtitle">Something went wrong</string>
|
||||
<string name="empty_network">Network Error</string>
|
||||
<string name="empty_network_subtitle">Please check your connection</string>
|
||||
<string name="click_retry">Retry</string>
|
||||
|
||||
<!-- Loading States -->
|
||||
<string name="loading">Loading…</string>
|
||||
<string name="load_more_pull">Pull to Load More</string>
|
||||
<string name="load_more_loading">Loading…</string>
|
||||
<string name="load_more_success">Load Success</string>
|
||||
<string name="load_more_error">Load Failed</string>
|
||||
<string name="load_more_error_retry">Load Failed, Click to Retry</string>
|
||||
<string name="load_more_no_more">No More Data</string>
|
||||
<string name="refresh_pull_down">Pull to Refresh</string>
|
||||
<string name="refresh_release">Release to Refresh</string>
|
||||
<string name="refresh_refreshing">Refreshing…</string>
|
||||
<string name="refresh_complete">Refresh Complete</string>
|
||||
</resources>
|
||||
|
||||
@@ -1,3 +1,26 @@
|
||||
<resources>
|
||||
<string name="app_name">AndroidProject-Compose</string>
|
||||
|
||||
<!-- Empty States -->
|
||||
<string name="empty_cart_btn">去逛逛</string>
|
||||
<string name="empty_data">暂无数据</string>
|
||||
<string name="empty_data_subtitle">暂时没有相关内容</string>
|
||||
<string name="empty_error">加载失败</string>
|
||||
<string name="empty_error_subtitle">页面加载出现了问题</string>
|
||||
<string name="empty_network">网络连接失败</string>
|
||||
<string name="empty_network_subtitle">请检查网络连接后重试</string>
|
||||
<string name="click_retry">重新加载</string>
|
||||
|
||||
<!-- Loading States -->
|
||||
<string name="loading">加载中…</string>
|
||||
<string name="load_more_pull">上拉加载更多</string>
|
||||
<string name="load_more_loading">正在加载…</string>
|
||||
<string name="load_more_success">加载成功</string>
|
||||
<string name="load_more_error">加载失败</string>
|
||||
<string name="load_more_error_retry">加载失败,点击重试</string>
|
||||
<string name="load_more_no_more">没有更多了</string>
|
||||
<string name="refresh_pull_down">下拉刷新</string>
|
||||
<string name="refresh_release">松开刷新</string>
|
||||
<string name="refresh_refreshing">刷新中…</string>
|
||||
<string name="refresh_complete">刷新完成</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user