hello plusminus,
how can i make exactley the menu you are showing in the screenshot? (the screenshot and example you sent are not the same..)
A Grid View for me is something like a (dynamic) table -> i want each icon i add, to be positioned the same as in your screenshot. But which funtciton is responsible for this?
each iconText needs the full screen-line-space.. i can senter them, or align them to left, but i only have for each row one view object.
hm..
i got a sollution but i am not really happy about it:
Using xml Syntax Highlighting
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<GridView id="@+id/myGrid"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:numColumns="3"
/>
</LinearLayout>
Parsed in 0.007 seconds, using
GeSHi 1.0.8.4
android:numColumns="3" -> works, but i would prefer auto_fit like
Using xml Syntax Highlighting
android:numColumns="auto_fit"
Parsed in 0.000 seconds, using
GeSHi 1.0.8.4
but then, i have a division by null error (?)