Skip to content Skip to sidebar Skip to footer

Which Layout Is Used For Galaxy Nexus

Which Layout Can I used for Nexus 4 and Galaxy Nexus? There is conflict between Nexus 7(800 x 1280) and Galaxy Nexus(720 x 1280) as attached in screenshot : Nexus S Galaxy Nexus

Solution 1:

TabHost is deprecated and it is recommended you use Fragments instead.

Try out ActionBarSherlock.

ActionBarSherlock is an extension of the support library designed to facilitate the use of the action bar design pattern across all versions of Android with a single API.

The library will automatically use the native action bar when appropriate or will automatically wrap a custom implementation around your layouts. This allows you to easily develop an application with an action bar for every version of Android from 2.x and up.

Tutorials:

tutorial 1 , tutorial 2 , tutorial 3

If you really want to use TabHost, maybe someone else can help. I don't have much experience with that. Good luck!

Post a Comment for "Which Layout Is Used For Galaxy Nexus"