I am developing an Android application that contains a chat space and I want to made the chat layout unable to be in landscape orientation if the the device has small or normal size (other layouts must have the two options, portrait and landscape, for every device, but my chat doesn't fit in small or normal devices with landscape orientation). My resources distribution is this:
res
- layout
- chat fragment
- other fragments...
- values
- chat_dimens
- chat_dimens
- chat_dimens (large)
- chat_dimens (large-land)
- chat_dimens (small)
- chat_dimens (xlarge)
- chat_dimens (xlarge-land)
- other fragment dimens...
- chat_dimens
Can anyone help me? Thanks