|
You are here |
ryanharter.com | ||
| | | | |
wittchen.io
|
|
| | | | | When we work with Activities in Android, defining different layouts for different screen orientations is easy. The only thing we need to do, is to create two *.xml files with the same name for layouts in two separate directories (res/layout/ and res/layout-land/). In Fragments its not that easy. In such case, we need to perform additional operations in order to achieve our goal. Fragment in Android is not re-inflated on configuration change, but we can recreate layout and repopulate view manually. | |
| | | | |
staydecent.ca
|
|
| | | | | ||
| | | | |
zserge.com
|
|
| | | | | We love XMLs, but there might be a better way | |
| | | | |
initialcommit.com
|
|
| | | |||