Usage of GridView

by Miracle » Tue, 14 Apr 2009 14:58:21 GMT

Sponsored Links
 Hi there,
  I want to implement UI using GridView to fulfill this case:

 1. The items are all in one row and all of them have the same height
and width.
 2. When click one of the item, the selected item can move up/down

 The first is easy to do.
 My issue is about the second. Do you guys know how to implement ?

thank you very much.


Other Threads

1. xml file size issue

Hi guys, I am rather new to android. I have been searching the web at
least for two weeks now and I still have not been able to find an
answer for my problem.
avd 1.6
avd 2.0
res/xml/filename.xml has a size of 475KB

I am trying to use the
        Resources res = this.getResources();
        XmlResourceParser xpp = res.getXml(R.xml.file);
        int counter = 0;
        int eventType = xpp.getEventType();
        while (eventType != XmlPullParser.END_DOCUMENT) {
                if(eventType == XmlPullParser.START_TAG) {
                eventType =;

that is the code which I am trying to run, the log shows "Data exceeds
UNCOMPRES_DATA_MAX" message. Could anyone please tell me the solution
for this, I do not want to go for a database solution or a web app
service if I can stick with xml.

many thanks


2. copy file from sdcard to Android package filesystem (/data/data/packagename/files/) ??/


Is it possible to copy a file located on the sdcard to a package's
internal filesytem located at /data/data/packagename/files/ folder?




3. Bluetooth data transfer is very slow

4. Telset: profil AH

5. Clear Screen Guard dan Pull Leather case For Spic

6. Is ViewFlipper startFlipping() random?

7. Clear Screen Guard dan Pull Leather case For Spic