The examples you ask for are in the tutorial at, for example: http://developer.android.com/resources/tutorials/views/index.html
These examples in this tutorial are a great way to familiarize yourself with views and how to modify the XML file to get what you want out of the views. On Jan 21, 1:56 am, umar <mr_muskura...@yahoo.com> wrote: > actually i am new to android.. > > on button click i want to go to text detail > > and button should be dispalyed beside that text.. could you please > explain it?? > > do you have any example of that > > On Jan 21, 2:49 pm, Antti Karhu <antti.iisa...@gmail.com> wrote:> HI. > > > Just like with other views, put it in the layout xml: > > > <?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"> > > > <Button android:id="@+id/selection" android:layout_width="fill_parent" > > android:layout_height="wrap_content" android:text="a button" /> > > > <ListView android:id="@android:id/list" > > android:layout_width="fill_parent" > > android:layout_height="fill_parent" > > android:drawSelectorOnTop="false" /> > > > </LinearLayout> > > > -- Antti > > > On Thu, Jan 21, 2010 at 11:38 AM, umar <mr_muskura...@yahoo.com> wrote: > > > hi, > > > > can any one guide me how can i put > > > > Text Button > > > > in list activity??? > > > > any help would be appriciated. > > > > -- > > > You received this message because you are subscribed to the Google > > > Groups "Android Beginners" group. > > > > NEW! Try asking and tagging your question on Stack Overflow at > > >http://stackoverflow.com/questions/tagged/android > > > > To unsubscribe from this group, send email to > > > android-beginners+unsubscr...@googlegroups.com<android-beginners%2Bunsubscr > > > ...@googlegroups.com> > > > For more options, visit this group at > > >http://groups.google.com/group/android-beginners?hl=en-Hide quoted text - > > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en