[android-developers] Re: how to insert image in text view

2012-03-28 Thread Ali Chousein
Use LinearLayout to put a TextView and an ImageView next to each other. - Ali Chousein http://socialnav.blogspot.com | http://twitter.com/socialnav1 http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy http://www.codeproject.com/KB/and

[android-developers] Re: how to insert image into listview and text also in list view

2011-10-14 Thread Jeremy Dagorn
Hi, Look at this : http://developer.android.com/reference/android/widget/ListView.html So the process is simple, create a layout containing your list view element. Create another layout called listview_raw for example, which will contain an imageView and a textView. You have to create an Adapter

[android-developers] Re: how to insert image background of button

2011-09-05 Thread Jeremy Dagorn
Hi, What about myButton.setBackgroundResource(R.drawable.myimage); with your picture stored in the drawable project directory? Best On Sep 5, 9:17 am, Duygu Kahraman wrote: > What does it mean? Do you want to insert image to background and then insert > button? > > 2011/9/5 Shital Suryawanshi

[android-developers] Re: How to insert image?

2008-04-21 Thread Pierre
Thank you, Gibson! I'll go to see the demo. On 4月21日, 上午11时09分, Gibson <[EMAIL PROTECTED]> wrote: > Well. Maybe you can using ImageView i think. There are lots of demo in > ApiDemo application. You can try it. Good luck. > > On Apr 21, 4:54 pm, Pierre <[EMAIL PROTECTED]> wrote: > > > > > Hi, all

[android-developers] Re: How to insert image?

2008-04-21 Thread Gibson
Well. Maybe you can using ImageView i think. There are lots of demo in ApiDemo application. You can try it. Good luck. On Apr 21, 4:54 pm, Pierre <[EMAIL PROTECTED]> wrote: > Hi, all > > I want to design an interface which can input text and insert image. > But I don't know how to insert an exist