[android-developers] List view and using a loader

2016-12-14 Thread Sebastian Prax
Hello, i have problem with using this code: developer.android.com/guide/topics/ui/layout/listview.html I used the code, everything same, but i had error at this part: getLoaderManager().initLoader(0, null, this); This is exception. It has problem with "this": (MainActivity looking like: public

[android-developers] List View View Replicated when scrolling down and movie the stroller towards to up.

2012-08-16 Thread Gourab Singha
List View View Replicated when scrolling down and movie the stroller towards to up. How i Solve this -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe

Re: [android-developers] list view doubt

2012-05-08 Thread Jim Graham
On Wed, May 09, 2012 at 07:49:41AM +0530, Jagadeesh wrote: > > in my list view i need to expand clicking on item need expand > > List > samsung-another page should populate ---here i need specify one hyperlink > philips -another page should populate here i need specify one > hyperlin

[android-developers] list view doubt

2012-05-08 Thread Jagadeesh
Hi in my list view i need to expand clicking on item need expand List samsung-another page should populate ---here i need specify one hyperlink philips -another page should populate here i need specify one hyperlink can any one give idea how i need to do /// here my code public c

Re: [android-developers] List view row background.

2012-04-09 Thread Put_tiMe
I have another issue that I'm facing. I have registered for a callback on item click. Whenever I click on a row, it remains selected. I want to clear the selection. How do I do it? I tried various functions, but none of them worked. On Monday, April 9, 2012 4:01:43 PM UTC+5:30, Put_tiMe wr

Re: [android-developers] List view row background.

2012-04-09 Thread Put_tiMe
Ok, I kind of got it together. For the row, I'm setting the background to my bitmap image. For selection, I'm setting the ListView attribute: android:listSelector="@drawable/xxx" It kind of works. But I can't see the selection. i.e. when a row is selected (or clicked) I don't see the color ch

Re: [android-developers] List view row background.

2012-04-09 Thread Put_tiMe
I also need to change the drawable when a listview item is selected. How can I achieve this? On Monday, April 9, 2012 2:19:39 PM UTC+5:30, bin yang wrote: > Define common list item layout file. > Using LayoutInflater to create view of Adpater. > > 在 2012年4月9日 下午4:30,Put_tiMe 写道: > >> I want t

Re: [android-developers] List view row background.

2012-04-09 Thread Farhan Tariq
In the getView method of the adapter, use the index of the row to set background to. Suppose every row is a textView, then textView.setBackgroundColor(Color.BLACK) would do the trick. For different indices, you could do this... public View getView(int index, View convertView, ViewGroup parent) {

Re: [android-developers] List view row background.

2012-04-09 Thread Bin Yang
Define common list item layout file. Using LayoutInflater to create view of Adpater. 在 2012年4月9日 下午4:30,Put_tiMe 写道: > I want to add a background image for each row of a list-view control. > I have written a custom adapter for the list view. > > What is the best way of doing it? > > > -- > You r

[android-developers] List view row background.

2012-04-09 Thread Put_tiMe
I want to add a background image for each row of a list-view control. I have written a custom adapter for the list view. What is the best way of doing it? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

[android-developers] List view is not perform selection

2012-02-15 Thread Sathya g
List view is not clikable when i am using cutombase adapter i.e using cutom view for list view. i mention in listview as android:focusable="true" its not perform even selection operation... please help me to achieve this selection -- You received this message because you are subscribed to the Goo

Re: [android-developers] List View with Check box multiselection

2012-01-10 Thread Chander mourya
Hello mukesh, thanks a lot, i will try the same procedure as you described Thanks On 1/11/12, Mukesh Srivastav wrote: > Hi Chander, > > I wish if i could help with the whole source. The problem is the design. > > let me tell you the real approach. > > 1. create a model class which holds the d

Re: [android-developers] List View with Check box multiselection

2012-01-10 Thread Mukesh Srivastav
Hi Chander, I wish if i could help with the whole source. The problem is the design. let me tell you the real approach. 1. create a model class which holds the data that is name and checkbox with setters and getters. below is the example /** Holds Music data. */ private static class Music { pri

[android-developers] List View with Check box multiselection

2012-01-10 Thread chander
Hi all, In my application, i created a custom file adapter and i am using ListView with checkboxes, upto this point everything working great. But now i have to take the values of Checked listView items in an Array list. In my list view, i am listing Files present on the SD card so i have to take F

Re: [android-developers] List View multiselection problem

2012-01-09 Thread Chander mourya
Thanks a lot mukesh, it worked On 1/10/12, Mukesh Srivastav wrote: > Mohan, I have done this before, where i am reading all the music files in > SDCard and able to show it in Listview with checkbox. > > Please follow the below points which will help you in resolving. > > 1. Create a class wh

Re: [android-developers] List View multiselection problem

2012-01-09 Thread Mukesh Srivastav
Mohan, I have done this before, where i am reading all the music files in SDCard and able to show it in Listview with checkbox. Please follow the below points which will help you in resolving. 1. Create a class which extends the ArrayAdapter 2.In the getView method of the Adapterclass have the f

[android-developers] List View multiselection problem

2012-01-09 Thread chander
hi all, I am creating an application in which i used a List view to list all files present in SD card, but for some purpose i need to make ListView checkable or selectable by user. i created my own Array adapter of Files, i tried getChoiceMode property as Multiselection but its not working. can so

[android-developers] List View Focus Problem!

2011-10-16 Thread abi
Hi, I have a list view and a bottom bar in a layout. I can't focus the bottom bar after focusing the list view. How to find focus lost from list view. At that time I need to focus that bottom bar. Please Suggest... Regards, Abi -- You received this message because you are subscribed to the Goo

[android-developers] List View based on Database Cursor Not Showing Full Screen and Scrolling

2011-07-27 Thread usafrmajor
I am having a problem getting my list view based on retrieved data from a database to show the full screen and scroll. For some reason neither the fill_parent or wrap_content values for my layout height setting is being recognized. Right now my view only shows about a quarter of the screen. Howev

Re: [android-developers] List View and Simple Cursor Adapter

2011-07-16 Thread Mark Murphy
getView() will be called many times, not necessarily only the number of times you might expect or in the order you expect. Please just make your getView() implementation be efficient and let Android call getView() as it sees fit. On Sat, Jul 16, 2011 at 3:56 AM, juliagrig wrote: > Hi all, > > I h

[android-developers] List View and Simple Cursor Adapter

2011-07-16 Thread juliagrig
Hi all, I have a listview in my app and a SimpleCursor Adapter in a different class. In getView method I tried to set properties fom the text view of each list item. It works fine, but I have a log.i(",") message in the end of the getView() method and I see that this method run 3 times. So , I s

[android-developers] List View and Simple Cursor Adapter

2011-07-16 Thread juliagrig
Hi all, I have a listview in my app and a SimpleCursor Adapter in a different class. In getView method I tried to set properties fom the text view of each list item. It works fine, but I have a log.i(",") message in the end of the getView() method and I see that this method run 3 times. So , I s

Re: [android-developers] list view with alpha transparency effect

2011-06-18 Thread Greg Donald
On Sat, Jun 18, 2011 at 5:49 PM, Romain Guy wrote: > You need to set the cache color hint to 0,0,0,0, not 80,0,0,0. And you > still set the background color of your items the way you want. Still black when scrolling, only becoming transparent after the scrolling ends. And a lot of the time I hav

Re: [android-developers] list view with alpha transparency effect

2011-06-18 Thread Romain Guy
You need to set the cache color hint to 0,0,0,0, not 80,0,0,0. And you still set the background color of your items the way you want. On Sat, Jun 18, 2011 at 2:59 PM, Greg Donald wrote: > On Sat, Jun 18, 2011 at 3:46 PM, Romain Guy wrote: >> You need to call setCacheColorHint() on the ListView i

Re: [android-developers] list view with alpha transparency effect

2011-06-18 Thread Greg Donald
On Sat, Jun 18, 2011 at 3:46 PM, Romain Guy wrote: > You need to call setCacheColorHint() on the ListView itself. You need > do this only once. Like this? list = (ListView) findViewById( R.id.list ); int color = Color.argb( 80, 0, 0, 0 ); list.setCacheColorHint( color ); If that's w

Re: [android-developers] list view with alpha transparency effect

2011-06-18 Thread Romain Guy
You need to call setCacheColorHint() on the ListView itself. You need do this only once. On Sat, Jun 18, 2011 at 1:10 PM, Greg Donald wrote: > On Sat, Jun 18, 2011 at 3:09 PM, Greg Donald wrote: >> The View passed to me in getView() in my CursorAdapter does not appear >> to have setCacheColorHin

Re: [android-developers] list view with alpha transparency effect

2011-06-18 Thread Greg Donald
On Sat, Jun 18, 2011 at 3:09 PM, Greg Donald wrote: > The View passed to me in getView() in my CursorAdapter does not appear > to have setCacheColorHint(). > > Looks like setCacheColorHint() exists for the list view itself but my > problem is with list items, not the list. I found something with

Re: [android-developers] list view with alpha transparency effect

2011-06-18 Thread Greg Donald
On Sat, Jun 18, 2011 at 1:48 PM, Dianne Hackborn wrote: > Use this: > http://developer.android.com/reference/android/widget/AbsListView.html#setCacheColorHint(int) > http://developer.android.com/reference/android/widget/AbsListView.html#attr_android:cacheColorHint > > Note that doing this means th

Re: [android-developers] list view with alpha transparency effect

2011-06-18 Thread Dianne Hackborn
Use this: http://developer.android.com/reference/android/widget/AbsListView.html#setCacheColorHint(int) http://developer.android.com/reference/android/widget/AbsListView.html#attr_android:cacheColorHint Note that doing this means that ListView can't use important drawing optimizations, so on man

[android-developers] list view with alpha transparency effect

2011-06-18 Thread Greg Donald
I have a list view using a layout that has a background color of #8000. When I scroll the list, the list item background color change to a solid color, in this case black. Seems it's ignoring the alpha transparency value on scroll. Is there a way to make it not do that? Thanks. -- Greg

Re: [android-developers] List view problem

2011-04-27 Thread Kostya Vasilyev
What works for me is something like this: res/layout/item_layout.xml etc. Now in getItem(), I change the background of R.id.item_root, not of R.id.item_top (which is left intact). -- Kostya 27.04.2011 22:59, Kumar Bibek пишет: I am a little confused here. I inflate a layout, which h

Re: [android-developers] List view problem

2011-04-27 Thread Kumar Bibek
I am a little confused here. I inflate a layout, which has a single TextView inside a LinearLayout. In the adapter, I use the convertView to recycle views, so, now I don't try to change the convertView's backgound, rather, I am now changing the LinearLayout's background. I also tried to change th

Re: [android-developers] List view problem

2011-04-27 Thread Kostya Vasilyev
27.04.2011 22:44, Kumar Bibek пишет: Hmm, I tried injecting a view group at the root of the items, but still it doesn't work. Weird. Did you adjust the code to change the background of this newly injected view group? And leave the root view group alone? When I put logs, correct view types ge

Re: [android-developers] List view problem

2011-04-27 Thread Kumar Bibek
Hmm, I tried injecting a view group at the root of the items, but still it doesn't work. Weird. When I put logs, correct view types get returned, and morever, the gravity stuff works fine, but the backgrounds just dont work. Damn!! I thought I knew list views very well. Kumar Bibek http://techdro

Re: [android-developers] List view problem

2011-04-27 Thread Kostya Vasilyev
27.04.2011 22:33, Mark Murphy пишет: On Wed, Apr 27, 2011 at 2:29 PM, Kostya Vasilyev wrote: It probably means it won't be called by itself. Precisely. Sometime after you call setAdapter(), then (and only then) will getViewTypeCount() be called. Right. I'm not quite sure why they are empha

Re: [android-developers] List view problem

2011-04-27 Thread Mark Murphy
On Wed, Apr 27, 2011 at 2:29 PM, Kostya Vasilyev wrote: > It probably means it won't be called by itself. Precisely. Sometime after you call setAdapter(), then (and only then) will getViewTypeCount() be called. I'm not quite sure why they are emphasizing the point. -- Mark Murphy (a Commons Gu

Re: [android-developers] List view problem

2011-04-27 Thread Kostya Vasilyev
It probably means it won't be called by itself. Re: background. A ListView changes its item's backgrounds at runtime to show selection state, so you should not be changing the background of the root view of your items. As a workaround, inject another view group inside the item's top level la

Re: [android-developers] List view problem

2011-04-27 Thread Kumar Bibek
Thanks Mark. I don't really understand what it means. I have a list view, and I attach the adapter through the setAdapter method of the ListView. Should I be doing something else? Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Apr 27, 2011 at 11:53 PM, Mark Murphy wrot

Re: [android-developers] List view problem

2011-04-27 Thread Mark Murphy
On Wed, Apr 27, 2011 at 2:17 PM, Kumar Bibek wrote: > getItemViewType(int position) - Overridden > getViewTypeCount() - Overridden (Always returns 3) > > I was going through the docs, and I found this. > > public int getViewTypeCount () > > Returns the number of types of Views that will be created

[android-developers] List view problem

2011-04-27 Thread Kumar Bibek
I have a list view which display multiple kinds of items (Basically 3). I have overridden all the methods, and it works almost fine. Basically, For those three types of views, I need to change the gravity to either left/right or center (Simple TextViews). This works. In addition to this, I also

[android-developers] List view focus is not working

2011-04-18 Thread prakrati
Hi, I have created an app with three theme red, white and black background and setting this theme in oncreate() activity public void onCreate(Bundle savedInstanceState) { switch (LaunchTheme.value) { case X: { setTheme(R.styl

[android-developers] List view focus is not working

2011-04-18 Thread prakrati
Hi, I have created an app with three theme red, white and black background and setting this theme in oncreate() activity public void onCreate(Bundle savedInstanceState) { switch (LaunchTheme.value) { case X: { setTheme(R.styl

[android-developers] List view focus is not working

2011-04-18 Thread prakrati
Hi, -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, vis

[android-developers] list view: scrolling resizes the items in a weird way

2011-03-24 Thread Erik
Hi, I have a problem with the list view and its items. When scrolling up/ down the listview I noticed that the items slightly resize(about one pixel) and in my application it looks like ^. The divider between two items should be one pixel high(used default android behavior), but when scrolling the

Re: [android-developers] List view from database

2011-03-18 Thread Mark Murphy
Query the database and put the results in a CursorAdapter of some form. Here is a sample project that does just that: https://github.com/commonsguy/cw-android/tree/master/Database/Constants On Fri, Mar 18, 2011 at 8:49 AM, Brad Stintson wrote: > I want to display two columns retrieved from data

[android-developers] List view from database

2011-03-18 Thread Brad Stintson
I want to display two columns retrieved from database in a list view, which can be clicked. How to do that? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscr

Re: [android-developers] List View with multiple columns

2011-02-22 Thread Ankit Kasliwal
Using Compound view. for showing multiple column in listview On Wed, Feb 23, 2011 at 12:29 AM, TreKing wrote: > On Thu, Feb 17, 2011 at 1:47 PM, Ganesh VK wrote: > >> i am trying to add multiple columns ... will please help me out >> for the code.. > > > http://developer.android.com

Re: [android-developers] List View with multiple columns

2011-02-22 Thread TreKing
On Thu, Feb 17, 2011 at 1:47 PM, Ganesh VK wrote: > i am trying to add multiple columns ... will please help me out for > the code.. http://developer.android.com/reference/android/widget/TableLayout.html

[android-developers] List View with multiple columns

2011-02-22 Thread Ganesh VK
i am trying to add multiple columns ... will please help me out for the code.. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group

Re: [android-developers] List view

2011-02-12 Thread TreKing
On Fri, Feb 11, 2011 at 11:25 PM, jubin wrote: > I want to create above type of view and want to dynamic this. Read the documentation and play with some samples. Creating simple, static layouts is Android 101.

[android-developers] List view

2011-02-11 Thread jubin
Hi, How can i create the quiz type of view on android using json ? I want to create question and answers type view for example : 1) Q.What us xyz ? 1. option1 2.option2 3. option3 4. option4 I want to create above type of view and want to dynamic this. Thanks, Jubin Mehta

Re: [android-developers] list view row number.

2011-01-06 Thread Mark Murphy
The position parameter to the onListItemClick() method is "the row number", insofar as such a concept exists. On Thu, Jan 6, 2011 at 7:51 AM, Amit Mangal wrote: > thank you i am trying to get row number using this code. > > > On Thu, Jan 6, 2011 at 4:44 AM, Kapil Lokhande wrote: > >> here is the

Re: [android-developers] list view row number.

2011-01-06 Thread Amit Mangal
thank you i am trying to get row number using this code. On Thu, Jan 6, 2011 at 4:44 AM, Kapil Lokhande wrote: > here is the snippet > > import android.app.ListActivity; > import android.os.Bundle; > import android.widget.ArrayAdapter; > > public class SimpleListView extends ListActivity > { >

Re: [android-developers] list view row number.

2011-01-06 Thread Kapil Lokhande
here is the snippet import android.app.ListActivity; import android.os.Bundle; import android.widget.ArrayAdapter; public class SimpleListView extends ListActivity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState)

Re: [android-developers] list view row number.

2011-01-06 Thread Amit Mangal
which function i need to call ? do you have some code snippet i am new to android and don know any thing. thank you On Thu, Jan 6, 2011 at 5:58 PM, Kapil Lokhande wrote: > Hi Amit, > > you have to override onListItemClick event in your activity extending > listactivity. > in that event you wull

Re: [android-developers] list view row number.

2011-01-06 Thread Kapil Lokhande
Hi Amit, you have to override onListItemClick event in your activity extending listactivity. in that event you wull get position or row number of list item. -- Thanks & Regards, Kapil Lokhande | Dexter Advisory Pvt. Ltd. | Android Developer [image: dexterlogo.jpg] On Thu,

[android-developers] list view row number.

2011-01-06 Thread Amit Mangal
Hi Any one, Is there any way to get row number in list view in which i clicked ? suppose that if i clicked on row 5 how can i get which number of roe i clicked ? thank you -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gro

Re: [android-developers] List View inside a Layout

2010-12-29 Thread Manoj Maurya
It will be done same way. I m working on similar thing. Exactly, where are you stuck? You have to get listview's id and use set adapter in same way as it is done for a normal listview. Thanks Manoj Kumar Maurya > Hi all.. > > What I want to do is: > > I have a layout with some textviews and button

[android-developers] List View inside a Layout

2010-12-28 Thread Sergio Luceno
Hi all.. What I want to do is: I have a layout with some textviews and buttons. I want to add to this layout a simple listView with a String, i mean. a simple ListView not a custom one. this is my layout more or less: So, I did a lot of google, but all the examples that i found is for an

Re: [android-developers] List view selector states

2010-12-17 Thread Kostya Vasilyev
If the resources provided with the SDK are any indication, they are: disabled focus longpress pressed ( look in android-sdk-windows\platforms\android-8\data\res\drawable-hdpi ) -- Kostya 17.12.2010 15:48, Roman Mazur пишет: Hi. Is there some place where possible states of list view selector a

[android-developers] List view selector states

2010-12-17 Thread Roman Mazur
Hi. Is there some place where possible states of list view selector and items are described? -- Best regards, Roman Mazur Tech Lead at Stanfy (http://stanfy.com.ua) Skype: roman.mazur.f LinkedIn: http://ua.linkedin.com/in/romanmazur Twitter: http://twitter.com/roman_mazur -- You received this

Re: [android-developers] list view two columns

2010-10-06 Thread TreKing
On Wed, Oct 6, 2010 at 12:55 PM, Varun Khanduja wrote: > I am trying to see if someone can help me with a simple list view I am > tying to make. I am specifically facing problem trying to introduce a new > column in this list view. Label 3 in xml code below is the new column I m > trying to make.

[android-developers] list view two columns

2010-10-06 Thread Varun Khanduja
Hello all, I am trying to see if someone can help me with a simple list view I am tying to make. I am specifically facing problem trying to introduce a new column in this list view. Label 3 in xml code below is the new column I m trying to make. Should I have a new linear layout and wrap two text

[android-developers] List view with clickable items and clickable buttons in the items

2010-08-18 Thread newobj
Hi, I'm trying to implement a list view where each item consists of some text, an image, and two buttons. Clicking on the buttons should perform one action (sharing in this case), and clicking "anywhere else" in the item should perform another action (in this case, start an activity to provide a m

[android-developers] List View : text on left and right not working

2010-06-29 Thread elubin
In a ListView, I am trying to display some text on the left and a number on the right. I got it working with a RelativeView, but if the text on the left is too long, my number doesn't appear? http://www.elubin.com/images/Capture.jpg Here is my layout: http://schemas.android.com/apk/res/android";

Re: [android-developers] List View Item Strange Behavior

2010-04-09 Thread Agus
You are using convertView object which is a recycled view. On Thu, Apr 8, 2010 at 2:42 AM, Binesy wrote: > Hi, > > I have been having some strange behavior when refreshing a listview > from a button in a list item. Say you have a list of 4 items, indexes > 0-3 and you click on item 4, and print

Re: [android-developers] List View Item Strange Behavior

2010-04-08 Thread ~ TreKing
On Thu, Apr 8, 2010 at 4:42 AM, Binesy wrote: > Why is this happening and how can I fix it? > The ListView will re-use views it uses, as you see by the convertView. These are not guaranteed to be in the same order as you scroll the list and items are cycled, AFAIK. My guess is your items are be

Re: [android-developers] List View Item Strange Behavior

2010-04-08 Thread ~ TreKing
On Thu, Apr 8, 2010 at 4:42 AM, Binesy wrote: > 3 is printed correctly, then i refresh the list. > Refresh the list how? Also, what's the point of the Container class? AFAICT, it's completely redundant and unnecessary.

[android-developers] List View Item Strange Behavior

2010-04-08 Thread Binesy
Hi, I have been having some strange behavior when refreshing a listview from a button in a list item. Say you have a list of 4 items, indexes 0-3 and you click on item 4, and print the index. 3 is printed correctly, then i refresh the list. I click on item 4 again, but this time index 0 is prin

Re: [android-developers] LIST VIEW

2010-02-08 Thread TreKing
On Fri, Feb 5, 2010 at 11:22 PM, warrior wrote: > Now my ques is can i display each item in the List differently? > I mean to say that for the first item in the list i need the details > and the other items i just need one text view. > how can i achieve this..? > I haven't used it but I thi

[android-developers] LIST VIEW

2010-02-08 Thread warrior
LIST VIEW 1) Consider i have 7 items in a list view (and each item in a list has in turn has many views like a image,and text views). 2) Now when i use setListadapter() all the items in the list are displayed in a same fashion. Now my ques is can i display each item in the List differen

[android-developers] List view with textviews and imageview, best practices

2009-12-10 Thread Patrick Plaatje
Hi All, i'm developing an application which has an listview. I'm currently creating the list item view dynamically from code (linearlayout, which includes 2 textviews and 1 imageview), but i'd like to use an XML resource for this. I read it isresource intensive when getting this view using findVie

[android-developers] List view problem

2009-11-10 Thread c.a.jeffer...@googlemail.com
Hi, I am using a list view and and the onListItemClick() method. The problem I am having is that when I press the back button and tap on another item on the list the position value stays the same. Has anyone else encountered this problem? thanks, Clive -- You received this message because y

[android-developers] List View

2009-11-05 Thread Sasikumar.S
Hi, When we r using list view. I got one problem. my list view items:- 1. apple 2. bannana 3. super 4. supply 5. water In that list if search is enabled, when i'm searching for a text started with 's' It will show only super supply when i click the super. I need the id of that. super id is 3

[android-developers] list view

2009-09-07 Thread Sasi Kumar
I have a list view with 2300 items. When i'm using settextfilterenabled=true. It is very slow to get the data. there is any way to get the data very fast.. any one can suggess some idea for this. thanks in andvance... --~--~-~--~~~---~--~~ You received th

[android-developers] List View multiple choice slow to update

2009-08-13 Thread kec6227
I am having trouble with a list aspect of my app. Essentially, it has a multiple choice listview(simple_list_item_multiple_choice) on the right and a text view on the left. When an item of the list view is checked off, I want to add it to the text view or remove it if it gets unchecked. This almo

[android-developers] List view scrolling while setPadding

2009-07-20 Thread Muthu Kumar K.
Hi All, I have an list view in my project. If the list view items are more than that page (screen size) means i am able to see the scroll bar in the right side. If i am restricting in to a default size using setPadding (reducing the height of the view). This time i am not getting the scroll bar. T

[android-developers] List View item ticker.

2009-07-15 Thread Muthu Kumar K.
Hi All, I have the list view with the length text values. So how can i ticker the test? Please give me your comments Thanks in Advance, Muthu Kumar K. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Devel

[android-developers] List View not properly updated from AsyncTask

2009-07-13 Thread pperotti
Hi Everyone, After digging with the APIs I still cannot figure out how the AsyncTask properly works and why some behavior occur. I'm trying to achieve one contact list that can be updated from a background async task very frequently. There are situations where invoking UI updates from the backg

[android-developers] List view scroll issue

2009-04-29 Thread Muthu Kumar K.
Hi All, I have developed an android application which is having list views. Here i have two different pages (list view), which is having 6 and 150 list items. Right now i am in second page. It is having the 150 items. Now i am scrolling the page, at the same time i am trying to navigate different

[android-developers] List View setTextFilterEnabled(true) and returned id

2009-03-16 Thread Ryan
Hi, Is there a way to use a List View with setTextFilterEnabled(true) and get the position into the unfiltered list returned to onItemClick? E.G. If I have a list:- - Zero - One - Two - Three And a user types "T" o filter the list to:- - Two - Three When a user clicks on "Two" in the

[android-developers] List View scrolling issue

2009-03-03 Thread Muthu Kumar K.
Hi All, I have problem with the List view scrolling. Here I have a list view contains more 50 items. I am setting the list view background as transparent. While scrolling the list view it is showing with black background. Can any one tell me how to remove this black portion? Thanks in Advance, Mu

[android-developers] list view

2009-01-20 Thread msmsmukesh
Hi all,I want listview for edit writing and picture please sent the coding. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegrou

[android-developers] List View

2009-01-04 Thread flashfreakmx
Right now I am extending Activity and populating 2 list views dynamically. How do I override the onListItemClick method for the lists if I am extending Activity? package com.thinknew.budget; import android.app.Activity; import android.content.Intent; import android.database.Cursor; import androi

[android-developers] List View + downloading image in a background thread

2008-12-12 Thread DanG
Hello - I'm trying to figure out the best design pattern to use here. I have a list view, for which each row consists of some text and an image. This content must be downloaded from the web. Currently, the list view is using a custom adapter, and I implemented the getView() method to dynamically

[android-developers] List View Issue

2008-10-12 Thread JavaAndroid
Hi All, I m a novice in Google Android.. Just started with couple of tutorials present in Google Android Documentation page. I have modified the NotePad application present there. I have four textfields namely, employeeName,employeeAge, employeeQualification, employeeDept. I could insert a new rec

[android-developers] List View- onClickListener?

2008-04-13 Thread SQLserver
Hello- Here's the code I'm connecting to a ListView with: String[] Strings = String.split(",", 100); KKList = (ListView) findViewById(R.id.theList); KKList.setAdapter(new ArrayAdapter(this, android.R.layout.simple_list_item_1, Strings)); How do I go