I am developing an android application for a custom android powered board. It has 64x64 LED display. While running the app I can see only a few part of application. How can I display properly on the LED board?
-
Is this display acting as the main screen of the device, or as a secondary screen? If it's the main screen then 64x64 is way too low a resolution – Michael Dodd May 28 '19 at 09:31
-
Related - [Minimum screen resolution for Android devices](https://stackoverflow.com/questions/4519605/minimum-screen-resolution-for-android-devices) – Michael Dodd May 28 '19 at 09:31
-
@MichaelDodd its the main screen – Nidhin John May 28 '19 at 09:46
-
Yeah that's way too small then. Android was never designed to run on a resolution that low. – Michael Dodd May 28 '19 at 10:00
1 Answers
In your question you state that your screen size is 64x64 pixels. This screen size is well below the minimum resolution required for Android, which is why you only see part of the app. Taking Android 6.0 as an example, section 7.1.1.1 of the Compatibility Definition Document states that the minimum required resolution is 426dp x 320dp:
Devices MUST have screen sizes of at least 426 dp x 320 dp (‘small’), unless it is an Android Watch device.
It's also not possible to use 1:1 screen ratios, with the exception of Android Watch devices:
The screen aspect ratio MUST be a value from 1.3333 (4:3) to 1.86 (roughly 16:9), but Android Watch devices MAY have an aspect ratio of 1.0 (1:1) because such a device implementation will use a
UI_MODE_TYPE_WATCH
as theandroid.content.res.Configuration.uiMode
.

- 10,102
- 12
- 51
- 64