-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi everyone,
I have a layout which does almost what I want. There's just one bug regarding the button at the bottom. I should stay at the bottom at all times. But whenever I bring up the soft-keyboard the button will be displayed above the keyboard. This is not what I want but it should become covered…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've just created a prototype of interface for my android app and tried to run it. Unfortunately I get an error that my app has stopped unexpectedly (my reputation doesn't allow me to post images so follow my links):
screenshot of error message
This is layout mode of editing. Everything looks as…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I just updated my app and I am getting some odd complaints from people who update it. I am only getting complaints from people with non-stock android phones (phones that manufacturers have modified...HTC phones, cliq, pulse, etc), other phones like the Droid, Nexus work fine. My app (Photo Frame Deluxe)…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have problems getting some of my views aligned in a relative layout that I use inside a row of my listview.
Here is a screenshot from the layout builder in Eclipse, this is what I think it should look like:
The next image is from the emulator. Now the TestTestTest View is at the top and covers…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Whenever I use a RatingBar view in my layout, I suddenly get all kinds of compile errors. I'm using Android 2.0, but I've also tried 2.0.1, and 2.1, without joy. I also get a message: Shader 'android.graphics.BitmapShader' is not supported in Layout Editor, and an odd warning which may or maynot be…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a web service that returns a super simple list of objects
MyObject[] data = webServiceCall();
MyObject has 1 field i want to display, "Name" (i.e. data[0].Name )
How can i turn this into an activity that lists just the name of these objects in a scrollable listActivity in android. I am…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to implement paging in a custom ListAdapter. Right now I'm just making the request for the next page when the last item in the ListView becomes visible, by checking in getView() if position is >= the size of ListAdapter.getCount().
It works fine, but I'm wondering if there's a better…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
i have the following problem. I fill a ListView with a custom ArrayAdapter with data from a BD. However, in background, i'm updating those datas from the info provided by an API, so the idea is when the update finish, the adapter shows the updated data instead its "old version".
The problem…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi Everyone,
here's a problem that i've run into lately:
I have a listview with a custom adapter class, the adapter takes in a listview and populates the listview with elements from it. Now, i'd like to have a button on each row of a listview to remove the item from it. How should i approach this…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I made a custom list adapter extending the Base adapter. Each item in the list has an imagebutton, 2 textviews and a button. I tried to add the context menu to the list so as to display some options for an item in the list.
registerForContextMenu(getListView());
I used a MenuInflater object…
>>> More