python748 / alternate-java-bridge-library

Automatically exported from code.google.com/p/alternate-java-bridge-library
Apache License 2.0
0 stars 0 forks source link

Enable multiplier use in the GLE #166

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Added the widthMultiplier, and heightMultiplier attributes to all visible 
AltBridge components in the GLE (All the components that start with AB_). The 
multiplier is based off the total screen size (not to be confused with 
available screen size).

So, a widthMultiplier of 0.25, would mean that this component should take up 
25% of the screen's width. This makes it easier designing ONE layout for all 
screen types. But, you are obviously not locked in.

I've found the best is a combination of some things using multipliers, and 
other things using wrap_content (using anything that uses an image, so it 
doesn't get stretched in a weird way).

If the multiplier is set to 0, or below, it will be ignored, and the default 
behavior is applied.

Original issue reported on code.google.com by IMPINC...@gmail.com on 29 May 2013 at 11:58

GoogleCodeExporter commented 8 years ago

Original comment by IMPINC...@gmail.com on 30 May 2013 at 1:09