Xamarin Scroll View does not work

Asked

Viewed 129 times

-3

I put a scrollview and my main Linearlayout inside it. I did this because when I type, some fields disappear behind the Keyboard.

Well, what happens is that scrollView does not feature scroll and part of my form is hidden behind the keyboard.. :(

What could be wrong?

  • Sorry I’ll post a code snippet I think it looks better...

  • 1

    Post the code here to help you.

1 answer

2

I discovered the problem, besides using the scroll I have to put this property in the attributes of Activity

WindowSoftInputMode = SoftInput.AdjustResize,

[Activity (Label = "CadastroActivity", WindowSoftInputMode = SoftInput.AdjustResize, Theme = "@android:style/Theme.Holo.Light.NoActionBar")]    

Ai worked :D

Browser other questions tagged

You are not signed in. Login or sign up in order to post.