Skip to content

Commit 7d34e98

Browse files
committed
fix Localization error
1 parent a8e31d2 commit 7d34e98

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

bottomlib/src/main/java/com/kcode/bottomlib/utils/AnimationUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import android.view.animation.TranslateAnimation;
66

77
/**
8-
* 动画工具类
8+
* Animations util
99
* Created by caik on 16/9/22.
1010
*/
1111

bottomlib/src/main/res/layout/bottom_lib_item.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<TextView
88
android:id="@+id/item"
99
android:textSize="18sp"
10-
android:textColor="#333333"
10+
android:textColor="@color/bottom_lib_item_text_color"
1111
android:gravity="center"
1212
android:background="@drawable/seletcor_bottom_lib_button"
1313
android:layout_width="match_parent"

bottomlib/src/main/res/layout/bottom_lib_layout.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
33
android:layout_width="match_parent"
44
android:layout_height="wrap_content"
5-
android:background="#00000000"
5+
android:background="@color/bottom_lib_transport"
66
android:orientation="vertical"
77
android:padding="12dp">
88

@@ -40,7 +40,7 @@
4040
android:layout_height="46dp"
4141
android:layout_marginTop="20dp"
4242
android:background="@drawable/seletcor_bottom_lib_button"
43-
android:text="取消"
43+
android:text="@string/cancel"
4444
android:textSize="18sp"/>
4545

4646
</LinearLayout>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<color name="bottom_lib_transport">#00000000</color>
4+
<color name="bottom_lib_item_text_color">#333333</color>
5+
</resources>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
<resources>
22
<string name="app_name">BottomLib</string>
3+
<string name="cancel">取消</string>
34
</resources>

0 commit comments

Comments
 (0)