android - Bottom part not display in linear layout using scrollview -
I have a linear layout but scrolling data and screen size are not displayed at the bottom.
Stretching bottom part, when using ScrollView inside linarlight, while scrolling to a higher height of device height If I have less If the data is then the vertical screen size then all the buttons below are visible properly. Public class testui liner layout (SV = new scrollview (reference); HSV = new horizontal ScrollView (reference); this.addView (topLinearHorizonal); hsv.addView (tableLayout); sv.addView (HSV); this.addView (sv); this.addView (fullbottomLinearHorizonal);} Edited: If you select Edit: The default orientation for the linear layout is horizontal also you should set it vertically on If you want the
Linear Line Full BottomManier Horizonal = New Linear Layout ( Context); fullbottomLinearHorizonal.setOrientation (full); fullbottomLinearHorizonal.addView (clearLinearHorizonal); fullbottomLinearHorizonal.addView (bottomLinearHorizonal);
You want to always show fullbottomLinearHorizonal below (visible) when you add a view to
TestGUI :
LinearLayout.LayoutParams svParams = New LinearLayout.LayoutParams (LayoutParam.MATCH_PARENT, 0, 1); This.addView (sv, svParams); LinearLayout.LayoutParams fullbottomParams = New linear layout. Layout prams (layout paramount. MATCH_PARENT, WRAP_CONTENT); This.addView (fullbottlelinehorizonal, fullbottom forms);
TestGUI :
this.setOrientation (VERTICAL);
fullbottomliner horizonal at the end of the scrolling material, then you have to add it inside the scrollview.
Comments
Post a Comment