Hi, Im working in a project, where very often I have to use a button containing two images and a text between them. The images and text are ment to be set only from xml. How to design my own component so that usage would look like this:
<MyOwnButton imageLeftSrc = "@drawable/arow1" imageRightSrc = "@drawable/arow2" text = "some text" /> Normally i just create an RelativeLayout with these elements and make it clickable, but im shure theres a way to specify only the parameters i want. regards Luke -- 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, visit this group at http://groups.google.com/group/android-developers?hl=en