How to set width of LinearLayout (with 7 TextView Elements), which is a child of HorizontalScrollView, so that only 4 are visible at a time?

Using the layout_weight in a LinearLayout wrapped in a HorizontalScrollView will not go well for what you want. I suggest you do something like this.

You have to get the screen width at runtime and then set width for your textviews. I suppose that's the only way you can get it to work.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions