From c21a28bcadc2cd7a5f7e128d3346713dd1429853 Mon Sep 17 00:00:00 2001 From: lixiaojun <16167479@qq.com> Date: Fri, 22 Oct 2021 15:05:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=97=E7=AC=A6=E4=B8=B2=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/res/layout/_loading_layout_empty.xml | 2 +- .../src/main/res/layout/_loading_layout_error.xml | 2 +- statelayout-library/src/main/res/values/strings.xml | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 statelayout-library/src/main/res/values/strings.xml diff --git a/statelayout-library/src/main/res/layout/_loading_layout_empty.xml b/statelayout-library/src/main/res/layout/_loading_layout_empty.xml index 8526bd4..f0214dd 100644 --- a/statelayout-library/src/main/res/layout/_loading_layout_empty.xml +++ b/statelayout-library/src/main/res/layout/_loading_layout_empty.xml @@ -22,5 +22,5 @@ android:layout_gravity="center" android:textColor="#444" android:textSize="15sp" - android:text="暂无数据"/> + android:text="@string/nodata"/> \ No newline at end of file diff --git a/statelayout-library/src/main/res/layout/_loading_layout_error.xml b/statelayout-library/src/main/res/layout/_loading_layout_error.xml index 270a1b9..19f2369 100644 --- a/statelayout-library/src/main/res/layout/_loading_layout_error.xml +++ b/statelayout-library/src/main/res/layout/_loading_layout_error.xml @@ -20,7 +20,7 @@ android:paddingRight="14dp" android:textSize="12sp" android:layout_marginTop="15dp" - android:text="加载失败,点击重试" + android:text="@string/load_failed_try_again" android:textColor="#444"/> \ No newline at end of file diff --git a/statelayout-library/src/main/res/values/strings.xml b/statelayout-library/src/main/res/values/strings.xml new file mode 100644 index 0000000..40703b3 --- /dev/null +++ b/statelayout-library/src/main/res/values/strings.xml @@ -0,0 +1,5 @@ + + + 加载失败,点击重试 + 暂无数据 + \ No newline at end of file