1
vote
1answer
156 views

how to retrieve information from checkBox(multiple answer) and radioButton(single answer) in a ListView

I am new to android and this is my first application ,I have custom listview with checkbox(multiple) and RadioButton(single),for now i just implement it like checkbox(q1,q3) and RadioButton(q2,q4). ...
0
votes
1answer
50 views

Custom cell of a ListView won't match parent width in API9

The problem is somehow related to API. In API 9+ the cells look perfectly which is like this: However on Android 2.3 it looks like this: I can't find reason of that. Here is my cell layout: ...
0
votes
0answers
45 views

How to make a custom item layout for simple_list_item_multiple_choice?

My question is can I make a custom layout for each simple_list_item_multiple_choice item in the list (where the android.R.id.text1 is)? If I can then what do I need to have in the xml layout for it to ...
1
vote
4answers
134 views

Android custom Row Item for ListView

I have a ListView that should have the following layout in its rows: HEADER Text HEADER should be static but the Text changes every few seconds. I implemented it by populating a String[] array, ...
0
votes
2answers
90 views

android how to set arrayAdapter layout that prepared programmatically

I am trying to use custom listview with an arrayadapter. I have a layout for this adapter.But I want to create layout of this adapter programmatically.Arrayadapter pass the id of this layout to its ...
0
votes
3answers
97 views

Can't access R.layout.mylayoutname in my custom ArrayAdapter

I'm trying to create a custom adapter for my Categories list. For some reason I can't access my category_item layout when I'm trying to inflate it. Here's my code: public class CategoryAdapter ...
1
vote
3answers
96 views

Android use 2 listview linked together

I'm pretty new on android, i'm currently reading a lot of documentation to understand how to start. I've tried to search before asking here but i'm not able to find relevant information. My problem ...
0
votes
2answers
94 views

ArrayIndexOutOfBoundsException occurs

I am using BaseAdapter: public class MyAdapter extends BaseAdapter{ private final LayoutInflater mInflater; private final String[] mItems; private final String[] mClasses; private final Drawable[] ...
0
votes
0answers
28 views

cant see footer when using Arrayadapter

I am trying to use footer but still cant see it on my list. My xml looks like that: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout ...
0
votes
2answers
295 views

Search in listview using custom arrayadapter

I am new to android, can any one post the code for the below scenario. I have set of data like first name, last name, date and id from arraylist to the listview to display, i need to filter it ...
0
votes
1answer
100 views

ArrayAdapter - Resource$notfound

I have an arrayadapter which populates 4 textfields. In the getView method when it tries to populated the textfields with the values. I get the error android.content.res.Resources$NotFoundException: ...
0
votes
2answers
179 views

Inserting Seperator in ListView using Array Adapter

Scenario : I have n number of tabs each tab is having its own listview. I am using a Array adapter to generate a listview. The array which is passed to arrayadaper is having array of objects. Each ...
0
votes
1answer
225 views

How to add textfield in Layout when i use Custom ArrayAdapter?

I am creating a chat app. I have to create a field for Send Sms.. But when i insert textField, It comes like this, here is my layout file <?xml version="1.0" encoding="utf-8"?> ...
0
votes
3answers
45 views

Listener button inside a listener in Android

I have the following code... and this list is basically "listening" for an item to be clicked and once clicked, it opens a Dialog box with a button inside. I am not able to make the button listen ... ...
0
votes
1answer
223 views

Android :: Custom Array Adapter not calling getView and not causing any exception

All I want is a list of records each with three string fields in a list view. More records get generated with use of the app and this activity displays the records as a log. Data gets logged to and ...

1 2 3
15 30 50 per page