[android-developers] Re: Custom listview shows rows but nothing else

2015-04-27 Thread Jim Graham
On Mon, Apr 27, 2015 at 09:50:59AM -0700, Vinay Yam wrote: write this code in getview of adapter holder.DescriptionTV.setText(detail.description ) holder.AmountTV .setText(detail.date) holder.DateTV .setText(detail.balance) holder.BalanceTV .setText(detail.amount) With a couple of

[android-developers] Re: custom listview delete the corresponding row

2012-09-12 Thread arun kumar
costobject value :000120 is changed to 000180 On Wed, Sep 12, 2012 at 5:23 PM, arun kumar arun.kata...@gmail.com wrote: Hello , am having acustom list view in that products are there .when i click on that products it will be saved in the *Arraylist that arraylist * are giving to the another

[android-developers] Re: Custom ListView with Checkbox

2012-05-10 Thread Bunty
any help on this please? On May 1, 12:49 pm, Bunty gautam.i...@gmail.com wrote: I  am creating a ListView using customized TextView, as shown below: list_item.xml file: ?xml version=1.0 encoding=utf-8? TextView xmlns:android=http://schemas.android.com/apk/res/android;

Re: [android-developers] Re: Custom ListView with Checkbox

2012-05-10 Thread Jason Teagle
I am creating a ListView using customized TextView, as shown below: Normally we use this code for multiple list item selection: setListAdapter(new ArrayAdapterString(this, android.R.layout.simple_list_item_multiple_choice, hometown)); But I have changed the 2nd

[android-developers] Re: Custom Listview in android?

2012-02-24 Thread moktarul anam
Hi Duygu, better u use custom adapter for listview. In getview() method create ur view Moktarul anam On Feb 23, 9:18 pm, Duygu Kahraman duygu.kahram...@gmail.com wrote: I have some problem about customlistview.How can i do this screen? First seem like all of them button but all line must be

[android-developers] Re: Custom Listview in android?

2012-02-24 Thread tofeeq ahmad
See this link..you will get idea http://androidtrainningcenter.blogspot.in/view/sidebar#!http://androidtrainningcenter.blogspot.com/2012/01/creating-listview-using-baseadapter.html -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Custom ListView Contain ImageView + TextView + CheckBox for selected Row

2010-10-12 Thread karteek
You first declare a special layout file with all your ImageView,TextView and checkbox. and use that layout file while setting array adapter On Oct 12, 3:41 pm, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: hi all , the first Question : --- i tried to make

[android-developers] Re: Custom ListView Contain ImageView + TextView + CheckBox for selected Row

2010-10-12 Thread Ahmed Shoeib
i made this and this is the pic http://www6.0zz0.com/2010/10/12/21/748629320.png but i can't make an action on the table this is the row.xml ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent

[android-developers] Re: Custom ListView complex item does not appear correctly

2010-07-08 Thread Tudor Tihan
Thanks Kostya, This worked well in all orientations and all the device sizes I tried! __ ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent

[android-developers] Re: Custom ListView complex item does not appear correctly

2010-07-07 Thread Tudor Tihan
That partly works. I made the inner layout a relative one and put the alignment of the image as suggested. If I fix the max width of the text item to 285dip then it will look nice in the portrait view. But that means I'd have to make a ton of adjustments for each screen aspect/size. Any way to

Re: [android-developers] Re: Custom ListView complex item does not appear correctly

2010-07-07 Thread Kostya Vasilyev
Tudor, You should try using a RelativeLayout as the only Layout tag in the list item. It's certainly powerful enough to arrange both text and image the way you intend. Off top of my head: For the TextView - layout_alignParentLeft=true layout_width=wrap_content and margins, if any For the

[android-developers] Re: Custom ListView With a lable on top

2009-09-02 Thread Jack Ha
This is because you set the layout_height to fill_parent for the textview above the listview. -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The views, opinions and statements in this email are those of the author solely in

[android-developers] Re: Custom ListView With a lable on top

2009-09-02 Thread Gulfam
Hi John, I am using a button on the Custom List instead of Text view and its working fine because i am using second parameter like this android:layout_height=wrap_content so you are filling the whole screen with your text view by using android:layout_height=fill_parent if you will change your

[android-developers] Re: Custom listview

2008-04-04 Thread NikB
On the ImageView question, this should work: ImageView image = (ImageView)findViewById(R.id.avatar); Bitmap bitmap = BitmapFactory.decodeFile(photoPath); //this is the full path in my case it is /sdcard/sample/foo.png image.setImageBitmap(bitmap); The setImageDrawable(int drawable) with a

[android-developers] Re: Custom listview

2008-04-03 Thread David Given
dreamer wrote: [...] How can I make a custom list view, such that each item has for e.g a scroll text, image and a label. Ive checked it several times but to no success. Also how to do this thru layout XML only( without coding) if its possible. The easiest way I found to do that is to