开发者

Should i make apps for tablets and phones separately?

开发者 https://www.devze.com 2023-04-04 19:31 出处:网络
I am c开发者_运维技巧urrently developing an android app for phones and for tablets.I need to know whether i should make a separate app for a phone and a tablet.Is there anyway of making a single app f

I am c开发者_运维技巧urrently developing an android app for phones and for tablets.I need to know whether i should make a separate app for a phone and a tablet.Is there anyway of making a single app for both?

Thanks


You should create a single app for tablet and phone unless you have a very pressing reason not to.

Since 1.5/1.6, Android has given resources to manage several different screen sizes. All programming logic should be unaffected by the size of the screen. Everything should be defined in layout files.

That said, if you're programming an openGL game with drastically different phone and tablet behavior, you may want to consider it. Otherwise, stick with one app.

0

精彩评论

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

关注公众号