I was reading the following article about updating an app to take full advantage of devices like the Galaxy S8 or LG G6
https://android-developers.googleblog.com/2017/03/update-your-app-to-take-advantage-of.html
And what I want to do is to test the app in an emulator of these screens and test it before and after adding the line of code the article suggests:
<meta-data android:name="android.max_aspect" android:value="2.1" />
I have tried creating an AVD inside of Android Studio with a screen size of 5.8 and a resolution of 2960x1440 (Galaxy S8 screen resolution), and my app runs fine without any black bars, even though it's a portrait-only app, and due to that it'd be expected to show black bars, so I think I'm not configuring the emulator appropiately.
Any ideas?
Thank you.
I have been looking for similar thing to test my app and found that Samsung provides online test lab like firebase.
You can go http://developer.samsung.com/rtlLanding.do and check it out. They give 5 minutes free if you don't have developer account.
As per samsung you can get following
- 20 credits are provided to each Samsung Developer user every day.
- With 1 credit, users can use the Remote Test Lab service for 15 minutes.
- Minimum reservation: 30 minutes (2 credits)
- Maximum reservation: 10 hours a day (40 credits)
More details : http://developer.samsung.com/remotetestlab/rtlAboutRTL.action