ScrollView cuts off the top and leaves space at the bottom

后端 未结 8 887
谎友^
谎友^ 2021-02-03 19:41

When I launch the emulator and enter the screen which uses this code it shows most of the text information but cuts off the top of the screen (cant scroll up) but leaves a bit o

8条回答
  •  庸人自扰
    2021-02-03 19:46

    In my case the problem was requestFocus of EditText.

    In your case their is no EditText so the problem is something other. For those who are having problem of scrollview cuts top edges, Try to remove all requestFocus from all EditText.

提交回复
热议问题