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 |
On android services, onstart() and onbind() are the same?
How to prevent the data from reloading and resetting when the screen is rotated?
What is use of rxjava in android?
What are the multimedia features involved in making android popular?
What is drawable folder in android?
Can I upgrade my android os?
How do you avoid an anr?
What is lifecycle of an activity?
What is android 6 called?
Define activity application component.
What does adb stands for?
Can phonegap work with contacts data of mobile device?