Android GridView full screen -
I have This is my How can I solve my problem? I have set the project location /res/values/dimens.xml Default margin 0 and this works for me & lt; Resources & gt; & lt; / Resources & gt; GridView and I have to customize the
BaseAdapter Use text in my
GridView I have a problem, when I run my app, my 'Gridview' left, right, top and bottom margins. I do not need these margins.
xml source:
& lt; GridView xmlns: android = "http: // schemas.android.com/apk/res/android" android: id = "@ + id / strada_grid_view" Android: layout_width = "match_parent" Android: layout_height = "match_parent" Android: Background = "# D6d6d6" Android: Gravity = "Center" Android: Horizontal Location = "1 DP" Android: numColumns = "2" Android: verticalSpacing = "1dp" & gt; & Lt; / GridView & gt;
GridView adapter
XML code:
& lt; Dimen name = "activity_horizontal_margin" & gt; 0dp & lt; / Dimen & gt; & Lt; Dimen name = "activity_vertical_margin" & gt; 0dp & lt; / Dimen & gt;
Comments
Post a Comment