Play video based on orientation
im new one for android. im developing one application that application getting videos from sd card and display thumbn开发者_开发问答ail view. after user click any one video it will be play its working fine to me. but if that video file is taken from landscape means it will be play landscape, or that video file taken from portrait means it will play portrait view.so i search this long time but i could not find anything. so any one knows any idea share with me.
You can use different layout files for different orientations, place in /layout and /layout-land.
精彩评论