11<?xml version =" 1.0" encoding =" utf-8" ?>
22<LinearLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3- android : layout_width =" match_parent"
4- android : layout_height =" match_parent"
5- android : background =" @color/divide"
6- android : orientation =" vertical" >
3+ xmlns : tools =" http://schemas.android.com/tools"
4+ android : layout_width =" match_parent"
5+ android : layout_height =" match_parent"
6+ android : background =" @color/divide"
7+ android : orientation =" vertical" >
78
89 <LinearLayout
9- android : layout_width =" match_parent"
10- android : id =" @+id/layoutManager"
11- android : layout_height =" wrap_content"
12- android : orientation =" vertical" >
10+ android : layout_width =" match_parent"
11+ android : id =" @+id/layoutManager"
12+ android : layout_height =" wrap_content"
13+ android : orientation =" vertical" >
1314
1415
1516 <LinearLayout
16- android : layout_width =" match_parent"
17- android : layout_height =" wrap_content"
18- android : background =" @color/stand_bg"
19- android : gravity =" center_vertical"
20- android : orientation =" horizontal"
21- android : padding =" 14dp" >
17+ android : layout_width =" match_parent"
18+ android : layout_height =" wrap_content"
19+ android : background =" @color/stand_bg"
20+ android : gravity =" center_vertical"
21+ android : orientation =" horizontal"
22+ android : padding =" 14dp" >
2223
2324 <FrameLayout
24- android : layout_width =" 60dp"
25- android : layout_height =" 60dp"
26- android : background =" @drawable/round_icon_path"
27- android : src =" @color/font_black" >
28-
29- <ImageView
30- android : id =" @+id/projectIcon"
3125 android : layout_width =" 60dp"
3226 android : layout_height =" 60dp"
3327 android : background =" @drawable/round_icon_path"
34- android : padding =" 1dp"
35- android : src =" @color/font_black" />
28+ android : src =" @color/font_black" >
3629
3730 <ImageView
38- android : layout_width =" 60dp"
39- android : layout_height =" 60dp"
40- android : background =" @drawable/round_icon_mask"
41- android : padding =" 1dp"
42- android : scaleType =" center"
43- android : src =" @drawable/ic_project_icon_edit" />
31+ android : id =" @+id/projectIcon"
32+ android : layout_width =" 60dp"
33+ android : layout_height =" 60dp"
34+ android : background =" @drawable/round_icon_path"
35+ android : padding =" 1dp"
36+ android : src =" @color/font_black" />
37+
38+ <ImageView
39+ android : layout_width =" 60dp"
40+ android : layout_height =" 60dp"
41+ android : background =" @drawable/round_icon_mask"
42+ android : padding =" 1dp"
43+ android : scaleType =" center"
44+ android : src =" @drawable/ic_project_icon_edit" />
4445
4546 </FrameLayout >
4647
4748 <View
48- android : id =" @+id/iconPrivate"
49- android : layout_width =" 18dp"
50- android : layout_height =" 18dp"
51- android : layout_marginLeft =" 14dp"
52- android : background =" @drawable/ic_project_private1"
53- android : visibility =" gone" />
49+ android : id =" @+id/iconPrivate"
50+ android : layout_width =" 18dp"
51+ android : layout_height =" 18dp"
52+ android : layout_marginLeft =" 14dp"
53+ tools : visibility =" visible"
54+ android : background =" @drawable/ic_share_project1"
55+ android : visibility =" gone" />
5456
5557 <TextView
56- android : id =" @+id/projectName"
57- android : layout_width =" wrap_content"
58- android : layout_height =" wrap_content"
59- android : layout_marginLeft =" 8dp"
60- android : lines =" 1"
61- android : text =" Medium Text"
62- android : textAppearance =" ?android:attr/textAppearanceMedium"
63- android : textColor =" @color/font_1"
64- android : textSize =" 18sp" />
58+ android : id =" @+id/projectName"
59+ android : layout_width =" wrap_content"
60+ android : layout_height =" wrap_content"
61+ android : layout_marginLeft =" 8dp"
62+ android : lines =" 1"
63+ android : text =" Medium Text"
64+ android : textAppearance =" ?android:attr/textAppearanceMedium"
65+ android : textColor =" @color/font_1"
66+ android : textSize =" 18sp" />
6567
6668 </LinearLayout >
6769
6870 <View
69- android : layout_width =" match_parent"
70- android : layout_height =" 1dp"
71- android : layout_marginLeft =" 14dp"
72- android : background =" @color/divide" />
71+ android : layout_width =" match_parent"
72+ android : layout_height =" 1dp"
73+ android : layout_marginLeft =" 14dp"
74+ android : background =" @color/divide" />
7375
7476 <EditText
75- android : id =" @+id/description"
76- android : layout_width =" match_parent"
77- android : layout_height =" wrap_content"
78- android : background =" @color/stand_bg"
79- android : gravity =" start"
80- android : hint =" 填写项目描述..."
81- android : lines =" 5"
82- android : maxLines =" 5"
83- android : padding =" 14dp"
84- android : textColor =" @color/font_1"
85- android : textSize =" 15sp" />
77+ android : id =" @+id/description"
78+ android : layout_width =" match_parent"
79+ android : layout_height =" wrap_content"
80+ android : background =" @color/stand_bg"
81+ android : gravity =" start"
82+ android : hint =" 填写项目描述..."
83+ android : lines =" 5"
84+ android : maxLines =" 5"
85+ android : padding =" 14dp"
86+ android : textColor =" @color/font_1"
87+ android : textSize =" 15sp" />
8688
8789 </LinearLayout >
8890
89- <include layout =" @layout/divide_middle_15" />
91+ <include layout =" @layout/divide_middle_15" />
9092
9193 <LinearLayout
92- android : id =" @+id/layoutOwner"
93- android : layout_width =" match_parent"
94- android : layout_height =" wrap_content"
95- android : orientation =" vertical" >
94+ android : id =" @+id/layoutOwner"
95+ android : layout_width =" match_parent"
96+ android : layout_height =" wrap_content"
97+ android : orientation =" vertical" >
9698
9799 <include
98- android : id =" @+id/itemTransfer"
99- android : visibility =" gone"
100- layout =" @layout/init_common_item" />
100+ android : id =" @+id/itemTransfer"
101+ android : visibility =" gone"
102+ layout =" @layout/init_common_item" />
101103
102104 <!-- <include layout="@layout/divideline_15" />-->
103105
104106 <include
105- android : id =" @+id/itemArchive"
106- android : visibility =" gone"
107- layout =" @layout/init_common_item" />
107+ android : id =" @+id/itemArchive"
108+ android : visibility =" gone"
109+ layout =" @layout/init_common_item" />
108110
109- <include layout =" @layout/divideline_15" />
111+ <include layout =" @layout/divideline_15" />
110112
111113 <include
112- android : id =" @+id/item"
113- layout =" @layout/init_common_item" />
114+ android : id =" @+id/item"
115+ layout =" @layout/init_common_item" />
114116
115117 </LinearLayout >
116118
117119
118120 <RelativeLayout
119- android : id =" @+id/layoutQuit"
120- android : layout_width =" match_parent"
121- android : layout_height =" @dimen/project_item_height"
122- android : background =" @drawable/list_item_selector"
123- android : clickable =" true"
124- android : paddingLeft =" 14dp"
125- android : paddingRight =" 14dp" >
121+ android : id =" @+id/layoutQuit"
122+ android : layout_width =" match_parent"
123+ android : layout_height =" @dimen/project_item_height"
124+ android : background =" @drawable/list_item_selector"
125+ android : clickable =" true"
126+ android : paddingLeft =" 14dp"
127+ android : paddingRight =" 14dp" >
126128
127129 <TextView
128- android : layout_width =" wrap_content"
129- android : layout_height =" wrap_content"
130- android : layout_centerHorizontal =" true"
131- android : layout_centerInParent =" true"
132- android : layout_centerVertical =" true"
133- android : text =" 退出项目"
134- android : textColor =" @color/font_red"
135- android : textSize =" @dimen/project_icon_text" />
130+ android : layout_width =" wrap_content"
131+ android : layout_height =" wrap_content"
132+ android : layout_centerHorizontal =" true"
133+ android : layout_centerInParent =" true"
134+ android : layout_centerVertical =" true"
135+ android : text =" 退出项目"
136+ android : textColor =" @color/font_red"
137+ android : textSize =" @dimen/project_icon_text" />
136138
137139 </RelativeLayout >
138140
139- <include layout =" @layout/divide_bottom_15" />
141+ <include layout =" @layout/divide_bottom_15" />
140142
141143</LinearLayout >
0 commit comments