开发者

How to port android application developed for 1.6 to 2.x to tablet 3.0?

开发者 https://www.devze.com 2023-03-23 05:58 出处:网络
How to port android application devel开发者_如何学运维oped for 1.6 to 2.x to tablet 3.0? I have made the changes in manifest file about the targetSDK but still the application doesn\'t utilizes the c

How to port android application devel开发者_如何学运维oped for 1.6 to 2.x to tablet 3.0?

I have made the changes in manifest file about the targetSDK but still the application doesn't utilizes the components or the theme of tablet. Why?


Take a look at a few pages in the doc:

http://developer.android.com/guide/topics/ui/themes.html - particularly the section "Select a theme based on platform version"

http://developer.android.com/guide/topics/ui/actionbar.html - see "Adding the action bar"

Are you adding a theme to your app that doesn't use one of the Holo themes?

(And closely related to your question: you also want to look at the compatibility library, for Honeycomb features in 2.X and 1.6 applications)

0

精彩评论

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