Is it possible to somehow disable Scroll in LayoutInflater?
In my application, this greatly hinders, because in the layout, I implement ScrollView and they have a conflict (terrible display of information that hurts the eyes).
- 2How do you imagine that? Inflate - parsing (conversion) of markup xml-code into Java-objects. Your question is absolutely not understandable, and in the current sense, somewhat absurd. - pavlofff
- I didn’t find anything in Google about this, I decided to ask the community a question, maybe someone came across this ... I read what inflaet is, but when they give a task to remake a fragment that uses inflait, and that the whole country would have cracked it remains option to ask experienced people. Thank you very much for your wonderful response. - GuardFromUA
- @pavlofff Then another question: Is it possible to inflate in LinearLayout? - GuardFromUA
- 2just forget about the inflite, it’s nothing to do with it anyway - Maxim Kuznetsov
- oneI can advise you to get rid of scrolling nested elements, it is impossible to advise more of the information in your question - pavlofff
|
1 answer
LayoutInflater is a class that can create a View from the contents of a layout file (layout file). Inflate is just a method that does this — converts data from an xml file to a View . LayoutInflater nothing to do with scrolling, scrolling is provided either by ScrollView or TextView , or by other View elements.
Therefore, the answer to the question "Is it possible to somehow disable Scroll in LayoutInflater?" it will be "impossible, since there is no Scroll in LayoutInflater".
And if you do not need scrolling and you want to get rid of it - just do not use ScrollView , or replace ScrollView with LinearLayout .
|