How will you Write an Application which Fits both for Mobiles and Tablets in Android?



How will you Write an Application which Fits both for Mobiles and Tablets in Android?..

Answer / Sambedna

To write an application that fits both mobiles and tablets, you can utilize layout resource folders with different qualifiers. Here are some popular ones:n
1. res/layout (for phones in portrait mode).n
2. res/layout-land (for phones in landscape mode).n
3. res/layout-sw600dp (for tablets and large screens ≥ 600 dp wide).n
4. res/layout-xlarge (for very large screens, typically tablets or TVs).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Android OS Interview Questions

On android services, onstart() and onbind() are the same?

1 Answers  


How to prevent the data from reloading and resetting when the screen is rotated?

1 Answers  


What is use of rxjava in android?

1 Answers  


What are the multimedia features involved in making android popular?

1 Answers  


What is drawable folder in android?

1 Answers  


Can I upgrade my android os?

1 Answers  


How do you avoid an anr?

1 Answers  


What is lifecycle of an activity?

1 Answers  


What is android 6 called?

1 Answers  


Define activity application component.

1 Answers  


What does adb stands for?

1 Answers  


Can phonegap work with contacts data of mobile device?

1 Answers  


Categories