alloy-widget-drawermenu icon indicating copy to clipboard operation
alloy-widget-drawermenu copied to clipboard

Trouble with android behavior

Open Garridovic opened this issue 10 years ago • 3 comments

Hello, the widget runs perfectly in IOS, but in Android after the first open() call the other view in mainview gets cropped while in IOS it doesn't happend.

Garridovic avatar Aug 13 '14 12:08 Garridovic

Could you provide an example?

ricardoalcocer avatar Aug 20 '14 16:08 ricardoalcocer

I was experiencing the same. I visited the source code and noticed the line that sets the main window width:

if (OS_ANDROID) newWidth /= Ti.Platform.displayCaps.logicalDensityFactor;

You will get your desired outcome when you comment out the lines above.

sakae-nakajima avatar Sep 20 '14 14:09 sakae-nakajima

Had same issue, commenting out that line as suggested works.

anthonypenner avatar Nov 12 '14 20:11 anthonypenner