File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
AndroidCustomGridView/res/layout Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 15
15
android : numColumns =" auto_fit"
16
16
android : verticalSpacing =" 5dp"
17
17
android : drawSelectorOnTop =" true"
18
- android : stretchMode =" columnWidth" >
18
+ android : stretchMode =" columnWidth" >
19
19
</GridView >
20
20
21
21
</RelativeLayout >
Original file line number Diff line number Diff line change 7
7
android : padding =" 5dp"
8
8
android : clickable =" false"
9
9
android : background =" @drawable/grid_color_selector"
10
- android:focusable=" false"
11
- >
10
+ android:focusable=" false" >
12
11
13
12
<ImageView
14
13
android : id =" @+id/image"
15
14
android : layout_width =" 100dp"
16
- android : layout_height =" 100dp"
17
- >
15
+ android : layout_height =" 100dp" >
18
16
</ImageView >
19
17
20
18
<TextView
23
21
android : layout_height =" wrap_content"
24
22
android : layout_marginTop =" 5dp"
25
23
android : gravity =" center"
26
- android : textSize =" 12sp"
27
- >
24
+ android : textSize =" 12sp" >
28
25
</TextView >
29
26
30
27
</LinearLayout >
You can’t perform that action at this time.
0 commit comments