now whats happening is the TextView of my layout does not adjust to higher AVDs like 10.1 or more.. now i want my TextView to auto adjust on every screen i.e. to run on every AVD..
please guide me how to do this
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent" android:weightSum="1">
<TextView
android:text="this is my First screen"
android:layout_height="38dp" android:layout_weight="0.05" android:layout_width="fill_parent"/>
<Button androi开发者_JAVA技巧d:text="NEXT" android:id="@+id/next" android:layout_width="264dp" android:layout_height="34dp"></Button>
</LinearLayout>
simply replace this
android:layout_height="38dp"
with
wrap_content,
精彩评论