-
Notifications
You must be signed in to change notification settings - Fork 501
09 屏幕方向设置
桓谭生 edited this page Dec 29, 2017
·
2 revisions
EasyPhotos默认强制竖屏,如果你需要强制横屏或允许用户横竖屏切换,请按照你的需求在你App的manifests
文件里添加:
<activity
android:name="com.huantansheng.easyphotos.ui.EasyPhotosActivity"
android:screenOrientation="你需要的方式"
tools:replace="android:screenOrientation"/>
<activity
android:name="com.huantansheng.easyphotos.ui.PreviewActivity"
android:screenOrientation="你需要的方式"
tools:replace="android:screenOrientation"/>
<activity
android:name="com.huantansheng.easyphotos.ui.PuzzleActivity"
android:screenOrientation="你需要的方式"
tools:replace="android:screenOrientation" />
<activity
android:name="com.huantansheng.easyphotos.ui.PuzzleSelectorActivity"
android:screenOrientation="你需要的方式"
tools:replace="android:screenOrientation" />