Scrollview - How To Scroll Down While Designing Layout In Eclipse?
Solution 1:
You can change screen size to custom.. try this.. click on current screen button, and select "Add Custom", then scroll down and select Custom and click "New" in right top corner.. Then write your custom size for screen and click "OK", then again "OK".. Afterward again click on your current screen button and select your custom size.. Done! Hope helped!
Be sure that this buttons is selected..

Solution 2:
Try temporarily setting android:scrollY on the ScrollView. I haven't tried this but it should, in theory, work. Just remember to remove the attribute when publishing the app.
Solution 3:
As of Android API 19 this solution has changed. Here's what worked for me.
Go to your Android Virtual Device Manager (in Eclipse this is in Window > Android Virtual Device Manager), once there go to the Device Definitions tab and create a New Device. Name it something memorable like "Long Scroller".

In the Edit/Create Device screen set the vertical dimensions to however long you think your scroll view will be (7000px was more than enough for my uses). You can also tweak it later.
Restart Eclipse, open your long scrollview layout, and your long scroller will appear among your preview layouts.
Solution 4:
Add android:scrollY="300dp" to your layout. Tt will scroll the content 300dp up.
before adding the android:scrollY="300dp" to layout
<RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"tools:context="com.javamad.user_profile"
>you can see no space for design
After adding the android:scrollY="300dp" to layout
<RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"tools:context="com.javamad.user_profile"android:scrollY="300dp"
>you see the space for design.
Solution 5:
Add something like android:layout_marginTop="-300dp" attribute to immediate ScrollView child.
Post a Comment for "Scrollview - How To Scroll Down While Designing Layout In Eclipse?"