File tree Expand file tree Collapse file tree
APIJSON(Android)/APIJSON(ADT)/APIJSONApp/APIJSONApp
src/apijson/demo/client/view Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 android : padding =" 10dp" >
1212
1313 <RelativeLayout
14- android : id =" @+id/rlWorkShowItemHead "
15- android : layout_width =" @dimen/work_view_head_width "
16- android : layout_height =" @dimen/work_view_head_height "
17- android : paddingRight =" @dimen/work_view_head_padding_right " >
14+ android : id =" @+id/rlMomentViewItemHead "
15+ android : layout_width =" @dimen/moment_view_head_width "
16+ android : layout_height =" @dimen/moment_view_head_height "
17+ android : paddingRight =" @dimen/moment_view_head_padding_right " >
1818
1919 <ImageView
2020 android : id =" @+id/ivMomentViewHead"
2525
2626 <LinearLayout
2727 style =" @style/ll_vertical_match_wrap"
28- android : layout_below =" @+id/rlWorkShowItemHead "
29- android : layout_toRightOf =" @+id/rlWorkShowItemHead "
28+ android : layout_below =" @+id/rlMomentViewItemHead "
29+ android : layout_toRightOf =" @+id/rlMomentViewItemHead "
3030 android : gravity =" left" >
3131
3232 <LinearLayout
Original file line number Diff line number Diff line change 22<resources >
33
44 <dimen name =" qrcode_size" >200dp</dimen >
5- <dimen name =" show_view_head_size" >60dp</dimen >
6- <dimen name =" show_view_head_padding_right" >15dp</dimen >
7- <dimen name =" work_view_head_width" >60dp</dimen >
8- <dimen name =" work_view_head_height" >50dp</dimen >
9- <dimen name =" work_view_head_padding_right" >10dp</dimen >
5+ <dimen name =" moment_view_head_width" >60dp</dimen >
6+ <dimen name =" moment_view_head_height" >50dp</dimen >
7+ <dimen name =" moment_view_head_padding_right" >10dp</dimen >
108
119</resources >
Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ private void setPicture(List<String> pictureList) {
281281
282282 final int gridViewHeight = (int ) (ScreenUtil .getScreenSize (context )[0 ]
283283 - convertView .getPaddingLeft () - convertView .getPaddingRight ()
284- - getDimension (R .dimen .work_view_head_width ));
284+ - getDimension (R .dimen .moment_view_head_width ));
285285 try {
286286 if (pictureNum >= 7 ) {
287287 gvMomentView .setLayoutParams (new LayoutParams (LayoutParams .WRAP_CONTENT , gridViewHeight ));
You can’t perform that action at this time.
0 commit comments