I am developing an android app. My client has got Motorola Atrix. I designed the ui in eclipse based on screen size 3.7in WVGA (Nexus One). Which works fine in almost all devices like HTC desire, galaxys2... but on Motorola Atrix (540 x 960 pixels) its showing some blank space on bottom.
How can I target an UI for that device?
I have already read in android developer tutorials but didnt get an idea.
Here is the current layout
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/ScrollView01"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:background="#FFFFFF" android:layout_height="525dp">
</Rela开发者_运维百科tiveLayout>
how can I do this properly? Thanks
I solved the issue by adding option android:fillViewport="true"
in scrollview properties.
Thanks all.
精彩评论