File tree Expand file tree Collapse file tree 5 files changed +10
-4
lines changed
java/com/kcode/bottomlib/utils Expand file tree Collapse file tree 5 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 5
5
import android .view .animation .TranslateAnimation ;
6
6
7
7
/**
8
- * 动画工具类
8
+ * Animations util
9
9
* Created by caik on 16/9/22.
10
10
*/
11
11
Original file line number Diff line number Diff line change 7
7
<TextView
8
8
android : id =" @+id/item"
9
9
android : textSize =" 18sp"
10
- android : textColor =" #333333 "
10
+ android : textColor =" @color/bottom_lib_item_text_color "
11
11
android : gravity =" center"
12
12
android : background =" @drawable/seletcor_bottom_lib_button"
13
13
android : layout_width =" match_parent"
Original file line number Diff line number Diff line change 2
2
<LinearLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3
3
android : layout_width =" match_parent"
4
4
android : layout_height =" wrap_content"
5
- android : background =" #00000000 "
5
+ android : background =" @color/bottom_lib_transport "
6
6
android : orientation =" vertical"
7
7
android : padding =" 12dp" >
8
8
40
40
android : layout_height =" 46dp"
41
41
android : layout_marginTop =" 20dp"
42
42
android : background =" @drawable/seletcor_bottom_lib_button"
43
- android : text =" 取消 "
43
+ android : text =" @string/cancel "
44
44
android : textSize =" 18sp" />
45
45
46
46
</LinearLayout >
Original file line number Diff line number Diff line change
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 >
Original file line number Diff line number Diff line change 1
1
<resources >
2
2
<string name =" app_name" >BottomLib</string >
3
+ <string name =" cancel" >取消</string >
3
4
</resources >
You can’t perform that action at this time.
0 commit comments