I want my TextView to be scrollable in landscape but shown in full height in portrait orientation. 
If I change the height of TextView I will get the scrollbar but I will get it in both landscape and portrait orientations, see screenshot:
[![enter image description here](https://i.stack.imgur.com/ghpdB.png)](https://i.stack.imgur.com/ghpdB.png)

In portrait there is enough space to stretch the TextView to the full height.

But if I stretch the TextView in portrait orientation to its full height (that the whole content is shown) the text will be overlaping other elements (see Situation 2) in landscape orientation or if I move it, it will be out of sight and there will not be any scrollbar that makes the text scrollable (see Situation 3).

[![enter image description here](https://i.stack.imgur.com/3uPAK.png)](https://i.stack.imgur.com/3uPAK.png)

[![enter image description here](https://i.stack.imgur.com/rUZ3a.png)](https://i.stack.imgur.com/rUZ3a.png)

What I want achive is that TextView in landscape orientation is like in Situation 1 (with scroll) and in portrait orientation like in Situation 2 (full content).

Is it possible to achive it without using java code? Or should I use if/else statemants?