Reputation: 82938
When I run my application, buttons are not displaying(A little part is displaying, that makes feel that something is there), although I scroll down. How to solve my problem. Is there any way to set size of textboxes (Where size depends on screen size).
Upvotes: 0
Views: 256
Reputation: 15257
As you're using linear layouts, you can use android:layout_weight
. If you search, you'll find many examples.
Upvotes: 0
Reputation: 39604
As @100rabh already said you should really start reading about Android layouts.
Some very good articles by Romain Guy are here and of course on his blog.
There is also a very good series of articles on Mobiletuts+ called Android User Interface Design by Lauren Darcey and Shane Conder.
You should really check that out and then redesign your layout.
Upvotes: 0
Reputation: 6186
Pankaj did you checked the orientation of the root LinearLayout tag ??
All you need to do is change root LinearLayout's orientation to vertical & you will see every button in your layout
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
& please read more about layouts before implementing them.
Upvotes: 2