Hi, Guillaume and Frantz Thank you very much. I made a little mistake in my code. That is why some error occured when displaying the images. I have solved it. Thank you!
Pierre On 7月21日, 下午4时38分, Guillaume Perrot <[EMAIL PROTECTED]> wrote: > Ok Frantz but this doesn't answer me why Pierre's code doesn't work. > To understand Pierre's problem I have to see Pierre's code. > > On 21 juil, 15:41, Fräntz Miccoli <[EMAIL PROTECTED]> wrote: > > > > > Look at my codeGuillaume, this exactly what I've done. > > > On 21 juil, 11:15,GuillaumePerrot<[EMAIL PROTECTED]> wrote: > > > > Hi, Pierre. > > > It was not that layout file I was thinking of but rather the one you > > > may have used with an ArrayAdapter to render each list entry. > > > > On 21 juil, 10:50, Pierre <[EMAIL PROTECTED]> wrote: > > > > > Hi,GuillaumePerrot, > > > > > Thanks for you reply. > > > > Here is my layout for the ImageList: > > > > <?xml version="1.0" encoding="utf-8"?> > > > > > <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ > > > > android" > > > > android:orientation="vertical" > > > > android:layout_width="fill_parent" > > > > android:layout_height="fill_parent"> > > > > > <TextView > > > > android:layout_width="wrap_content" > > > > android:layout_height="wrap_content" > > > > android:text="@string/image"/> > > > > > <ListView android:id="@+id/android:list" > > > > android:layout_width="fill_parent" > > > > android:layout_height="fill_parent"/> > > > > > </LinearLayout> > > > > > Hope that you can help me more! > > > > > Pierre > > > > > On 7月20日, 上午11时39分,GuillaumePerrot<[EMAIL PROTECTED]> wrote: > > > > > > Could you send the layout file you use with your adapter ? > > > > > Do you override the ArrayAdapter class to use images in list view ? > > > > > I had no problem working with images in list view. > > > > > > On 18 juil, 16:28, Pierre <[EMAIL PROTECTED]> wrote: > > > > > > > Hi all, > > > > > > > I am making a listView withimagein it. But I run into a problem with > > > > > > controlling theimagesizein the list. > > > > > > The images in my list are always very small. I can not see the > > > > > > images > > > > > > because the images in my drawable file are big. > > > > > > Is it possible to customize theimagesizein the ListView? > > > > > > Can anyone tell me how to solve this problem? > > > > > > > Thanks! > > > > > > > Pierre- 隐藏被引用文字 - > > > > > > - 显示引用的文字 -- 隐藏被引用文字 - > > - 显示引用的文字 - --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---