I have a XML layout that works just fine on a landscape and portrait orientation with one exception - two buttons inside a LinearLayout need to be placed horizontally on landscape and vertically on portrait device orientation.
I was wondering if there is some easy way to just define a dynamic variable or a string that can be placed in the XML layout file, without having to have to make 2 identical copies of it in layout
and layout-land
folders.