Hi kumar bibek, thnx man ... it worked ..
btw where r u from.. -Pawan Nimje On Thu, May 6, 2010 at 12:24 AM, Kumar Bibek <[email protected]> wrote: > Set this property for the List view > > #colorCacheHint = #00000000 > > Thanks and Regards, > Kumar Bibek > > On May 5, 11:41 pm, pawan nimje <[email protected]> wrote: > > hi, > > > > the below given listview goes black[not permanently] on touch and scroll. > > > > plz help > > > > > > > > On Fri, Apr 30, 2010 at 11:40 PM, pawan nimje <[email protected]> > wrote: > > > hey thanks pal > > > > > it worked > > > > > On Fri, Apr 30, 2010 at 11:22 PM, Mark Murphy <[email protected] > >wrote: > > > > >> pawan nimje wrote: > > >> > Hi all, > > > > >> > I am adding listview programmatically. > > >> > My code is as follow. > > > > >> > <------- start > > > > >> > LinearLayout llIn2 = new LinearLayout(this); > > >> > llIn2.setOrientation(LinearLayout.VERTICAL); > > > > >> > llIn2.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, > > >> > LayoutParams.FILL_PARENT)); > > > > >> > ListView lv = new ListView(this); > > > > >> > lv.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, > > >> > LayoutParams.FILL_PARENT)); > > >> > lv.setAdapter(new ArrayAdapter<String>(getApplicationContext(), > > >> > android.R.layout.simple_list_item_1, alPlaces)); > > > > >> > llIn2.addView(lv); > > > > >> > this.setContentView(llIn2); > > > > >> > <------end > > > > >> > now i want to change the size and color of text. > > > > >> > [there is know method like lv.settextsize / lv.settextcolor ] > > > > >> You need to change the rows, not the ListView. Instead of using > > >> android.R.layout.simple_list_item_1, create your own row layout that > is > > >> styled the way you want it to be. > > > > >> Here is an excerpt from one of my books that covers this process: > > > > >>http://commonsware.com/Android/excerpt.pdf > > > > >> -- > > >> Mark Murphy (a Commons Guy) > > >>http://commonsware.com|http://twitter.com/commonsguy > > > > >> Android Training...At Your Office:http://commonsware.com/training > > > > >> -- > > >> You received this message because you are subscribed to the Google > > >> Groups "Android Developers" group. > > >> To post to this group, send email to > [email protected] > > >> To unsubscribe from this group, send email to > > >> [email protected]<android-developers%[email protected]> > <android-developers%[email protected]<android-developers%[email protected]> > > > > >> For more options, visit this group at > > >>http://groups.google.com/group/android-developers?hl=en > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<android-developers%[email protected]> > > For more options, visit this group athttp:// > groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

