Skip to content

Commit

Permalink
字符串配置
Browse files Browse the repository at this point in the history
  • Loading branch information
junixapp committed Oct 22, 2021
1 parent c800591 commit c21a28b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
android:layout_gravity="center"
android:textColor="#444"
android:textSize="15sp"
android:text="暂无数据"/>
android:text="@string/nodata"/>
</LinearLayout>
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>

</LinearLayout>
5 changes: 5 additions & 0 deletions statelayout-library/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="load_failed_try_again">加载失败,点击重试</string>
<string name="nodata">暂无数据</string>
</resources>

0 comments on commit c21a28b

Please sign in to comment.