Discussion:
[android-porting] How to match a dislplay size to a resolution on the android
Andy
2018-02-27 10:19:41 UTC
Permalink
Hollow..


I have ported the android on my system.

But the LCD display is abnormal.

The right-side of the LCD is displayed black, about 10 pixels.

The display is ok on the kernel level.


The LCD resolution is 320(RGB)x240, and size is 3.5inch.

I set the value relative with the LCD resolution like the following.


PRODUCT_AAPT_CONFIG := normal large xlarge ldpi hdpi xhdpi xxhdpi

PRODUCT_AAPT_PREF_CONFIG := ldpi

ro.sf.lcd_density=120


How can I fix it?


Thanks
--
--
unsubscribe: android-porting+***@googlegroups.com
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...