Click here to Skip to main content
15,885,912 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi.
i am using ScrollView to design my User interface for an android application .
i have used "fill_parent" parameter for the both height and width , and it covers the device's screen complitly and also i have put a LinearLayout inside the ScrollView .its height and width are "100dp" . but unfortunately it doesn't show the LinearLayout .


HTML
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/SV"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:removed="@color/bcfbc8"    
    android:orientation="vertical">
     

    <LinearLayout
        android:layout_width="100dp"
        android:layout_height="100dp"
        android:removed="@color/Black"
        android:orientation="vertical"
        android:id="@+id/ll">     
    </LinearLayout>

</ScrollView >

please help me with your useful idea . thanks in advance
Posted
Updated 20-Mar-15 7:21am
v3

1 solution

Remove the following attribute:
android:removed

and you are fine.
Read more: Android UI Layouts and Controls[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900