0

I created android app its working find and view of that app is perfect with my emulator,but when I install it in different devices layout or view is not showing properly,can any one give good suggestion for that,so that app can work same in all devices..

  • 1
    Check my ans : http://stackoverflow.com/questions/27199591/different-layouts-for-multiple-screens/27199663#27199663 – Haresh Chhelana Dec 01 '14 at 10:27
  • 2
    http://developer.android.com/training/multiscreen/screensizes.html – Mojo Risin Dec 01 '14 at 10:27
  • @HareshChhelana can you check my this question?? http://stackoverflow.com/questions/27223915/how-to-get-alert-dialog-value-as-per-selection?noredirect=1#comment42926028_27223915 –  Dec 01 '14 at 10:29
  • @HareshChhelana i added as per your answer it shows error, Open quote is expected for attribute "{1}" associated with an element type "android:resizeable". –  Dec 01 '14 at 10:34
  • 1
    `is perfect with my emulator`. Check your app against **multiple emulators**, each featuring different screen sizes and densities (and possibly, different API Levels, too). – Phantômaxx Dec 01 '14 at 10:38
  • @DerGolem i added support screen as per haresh's answer in my manifest but it shows error –  Dec 01 '14 at 10:57
  • Did you add `["true" | "false"]`? – Phantômaxx Dec 01 '14 at 11:06
  • My advice remains to create several emulators, at least **ldpi** (Yes!! If it looks good on a small screen, you on the right path), **mdpi** (the reference), **hdpi** (probably, the most used), **xhdpi**, **xxhdpi**. **xxxhdpi** is still not so much used. – Phantômaxx Dec 01 '14 at 11:09
  • @DerGolem yeah –  Dec 01 '14 at 11:09
  • That's why it doesn't work... **ROFL**!! You have to **choose between** `"true"` and `"false"`! It's **not** `["true"| "false"]`. – Phantômaxx Dec 01 '14 at 11:10
  • i dint get you,can you paste code ? –  Dec 01 '14 at 11:17
  • when you produce your app you must check that with so many screens and devices. You have drawable-hdpi ,drawable-mdpi and ... inorder to make your layouts compatible with all screen sizes. – Milad Faridnia Dec 01 '14 at 11:22

1 Answers1

0

@Johnsan don't worry have not you ever set any property before?..here you can set either true or false...supports-screens android:resizeable="true" for more check this answer

Optimizing Android manifest file for largest number of supported devices

Community
  • 1
  • 1