1. Are you ready for the Galaxy S20? Here is everything we know so far!

scroll design

Discussion in 'Android Development' started by andoleg, Feb 12, 2020.

  1. andoleg

    andoleg Lurker
    Thread Starter

    In android studio I did scroll.
    <Relative Layout
    <Scroll view
    <Relative Layout




    it turns out a long scroll. I make a copy , pastes in the design window of textView and automatically throws me to the top of the layout.
    The question is how to make sure that when working in the studio, the scroll does not throw me upstairs? It is terribly uncomfortable then to go down to the desired area.
    Thanks in advance.

  2. Milo Willamson

    Milo Willamson Android Expert

    html,body {
    font-size: 100%;
    min-height: 100%;
    background-image: url(../img/bg-pattern.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;

    Take out the height=100% it should solve the problem.

Share This Page