Lets Start by making a simple alert dialog box . In main.xml I am defining a button on click of which we will launch alert dialog box .
First we will create a xml at res/drawable/goa.xml
For creating two buttons of equal width or two textviews of equal width in android there is a very neat and simple trick . We are going to use table layout and table row to achieve this . Normally adding two buttons in a table layout give you this :
HCL launched its new tablet X1 for Indian market which is powered by Android 2.3 Gingerbread OS and priced at Rs. 10,490 , targeting the budget tablet segment.
You may be someone, who is tired of using the touch screen keyboard of your phone and is looking for an alternative to connect your phone to your PC and handle all text messages and phone calls directly from it.
What we are trying to achieve here is pass data from one activity to another , the data has been supplied by user . We are using
I am putting a compilation of codes taken from different places .I will try my best to keep things short. I am also new to this so feel free to point out mistakes or give suggestions.