[TIMOB-12871] Map rightButton and TableView rightImage not scaling properly in Android
GitHub Issue | n/a |
Type | Bug |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 3.0.2 |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | Leor Brenman |
Assignee | Unknown |
Created | 2013-02-26T20:07:30.000+0000 |
Updated | 2018-02-28T20:03:57.000+0000 |
Description
I am using images for buttons as well as map pin (rightButton) and TableView (rightImage). Only the button image is scaling properly on different resolution Androids. I even tried to proxy the image through an imageView using getImage() because I suspected that while buttons provide a means for setting height and width, the map and tableview images do not. This did not work.
A sample project and screen shots are provided.
The image is the same for the button, map pin rightButton and TableView rightImage. But, you can see that as the Android device screen resolution gets higher and higher, only the button image scales appropriately. The others do not (even though they are the same png file).
Attachments
Sample project - simple test case
HVGA Android screen shot - see that all images are the same size as they are the same image
WVGA Android screen shot - see that the button image scaled nicely bit the others have not
WXGA Android screen shot - see that the button image scaled nicely bit the others have not and are getting real small