On Monday, March 3, 2014 7:22:02 PM UTC+5:30, Dave McLaughlin wrote:
>
> I've been looking to change the LCD density on my platform so that the 
> task bar is a lot more readable as right now, it's very small and because 
> of the low quality of the LCD, is not very good.
>
> By changing the density from 120 to 160 the display is much nicer to read.
>
> The lower apparent resolution is not critical for this platform as it is 
> being 
> designed for custom applications so I can tailor the apps to the screen 
> size.
>
> The issue though is that the text in the APPS and WIDGETS view is cut 
> off and only shows the upper part of the text.
>

To change the LCD density, use the property 'ro.sf.lcd_density'. This can 
be set during build time in device.mk

e.g on Pandaboard:
https://android.googlesource.com/device/ti/panda/+/9a1f3257d1f5013ae7dfeb8f2171b777950ab375/device.mk

You may also need to tweak the default font size to resolve the cropping 
text issue.

Take a look at the android documentation about screen sizes and density to 
understand the details:
http://developer.android.com/guide/practices/screens_support.html 

-Vishveshwar

>
> Anyone know how I can change the density system wide? Do I have to 
> do a complete clean and rebuild for this to work? I only changed the 
> setting
> in the build.prop file at this time without a complete re-build.
>

-- 
-- 
unsubscribe: [email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to