Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to scroll a view which is not in scrollview?
    primarykey
    data
    text
    <p>I designed a headerlayout(background is transparent) which is not in the scrollview and a scrollview which is in below of that header,in that scrollview have a layout with fixed height 1000dp and in the scrollview i added the views dynamically upto this its fine for me..But my problem is when i scroll the scrollview the background image also moving(background image height is 1550px) at the same time i want to change the background for the header as it is in scrollview background..... i am not able to implement this please anyone help me in this designing..Below is my designing code..</p> <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" &gt; &lt;LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/navbar" android:background="@drawable/navbar_blooptransprant64" /&gt; &lt;ScrollView android:layout_below="@+id/navbar" android:id="@+id/scrollView1" android:layout_width="match_parent" android:layout_height="wrap_content" &gt; &lt;LinearLayout android:layout_width="match_parent" android:layout_height="1000dp" android:background="@drawable/new_bg" android:orientation="vertical" &gt; &lt;LinearLayout android:id="@+id/outer" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" &gt; &lt;/LinearLayout&gt; &lt;/LinearLayout&gt; &lt;/ScrollView&gt; </code></pre> <p> <img src="https://i.stack.imgur.com/x6j5c.png" alt="Designed UI"></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload