开发者

How to change activity presentation?

开发者 https://www.devze.com 2023-03-12 09:19 出处:网络
I want to set di开发者_如何学Pythonffrent slide presentation for each activity. Is this possible, and how can it be done?Do you mean a different orientation? If so, this is specified on your activity

I want to set di开发者_如何学Pythonffrent slide presentation for each activity.

Is this possible, and how can it be done?


Do you mean a different orientation? If so, this is specified on your activity in your manifest.

<activity android:name=".PhoneActivity"
    android:label="@string/app_name"
    android:screenOrientation="landscape">

You have you few options you can use when setting screenOrientation. See http://developer.android.com/guide/topics/manifest/activity-element.html#screen for all of them.

0

精彩评论

暂无评论...
验证码 换一张
取 消