GridView Issue

by Landy » Sat, 03 Jul 2010 15:06:20 GMT


Sponsored Links
 I am trying to show a textview below the gridview but it doesnt seem
to work.
The textview never appears.
Below is the code i am using. Please suggest me how to use a TextView
below the GridView.

<LinearLayout xmlns:android=" http://schemas.android.com/apk/res/ 
android"
android:orientation="vertical"
android:background="@drawable/blue"
android:layout_width="fill_parent"
android:layout_height="wrap_content">

<LinearLayout
android:orientation="vertical"
android:background="@drawable/red"
android:layout_width="fill_parent"
android:layout_height="wrap_content">

<GridView

android:id="@+id/myGrid"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="10dp"
android:verticalSpacing="10dp"

android:horizontalSpacing="10dp"
android:numColumns="auto_fit"
android:columnWidth="60dp"
android:stretchMode="columnWidth"

android:gravity="center"
/>
</LinearLayout>

<TextView
android:background="@drawable/box"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/linear_layout_1_top"/>

</LinearLayout>

Thanks,
Lardy

--



Other Threads

1. OOT : Congrat to Boss willy senjaya.

Just open today (Eceran shop:)
JL : surya sumantri 54. 
Sebrang kampus maranatha.
Bandung.

Sukses boss :)
Tio.Ping5:53p || 5/3/2010. 

es-bile.: 021-33111998
: sa...@yes-mobile.net

-- 
"Indonesian Android Community [id-android]" 

2. Incredible scratch test

buat yg tega liat test ini silahkan diliat yah...hehe...

http://bit.ly/cVATch

*btw itu emang tanpa screen protector khusus apa yah??

-- 
"Indonesian Android Community [id-android]" 

3. How to get thumbnail picture from HTC Hero

4. Button to act as scrollbar

5. how to address the error by stack info

6. Perbandingan antara cursorsense 32A1.2.4 dan Super Eclair 2.1 JitHack2_32ANRv09

7. Perbandingan antara cursorsense 32A1.2.4 dan Super Eclair 2.1 JitHack2_32ANRv09