Complete
over 3 years ago

Glance view alignment in Venu 2 and 2s are not matching other devices

I get the dc width and height in the glance context to layout the glance view, aligning the items within it. Somehow in Venu2 the "viewport" is rendered much more to the right making the layout appear shifted!


See screens below:

Desired behaviour (like any other glance supporting device): https://drive.google.com/file/d/1XaUbBS5D0KA71JNZJfoFvl_ymda7kVVq/view?usp=sharing

Strange/inconsistent behaviour (Venu2/2s): https://drive.google.com/file/d/1ZHYyPdryK-S0mQ7e0G-k2MVVXhznj_Ee/view?usp=sharing

Parents
  • I have other problem:

    there should be line on the bottom dc.drawLine(0,dc.getHeight(),dc.getWidth(),dc.getHeight());

    it shows when dc.drawLine(0,dc.getHeight()-1,dc.getWidth(),dc.getHeight()-1);

    and in full view (using the same function) the bottom line is 1 pixel up and up line 1 pixel  down

    it's only on venu2/2s o venu and all devices it's ok - maybe on device it's ok

Comment
  • I have other problem:

    there should be line on the bottom dc.drawLine(0,dc.getHeight(),dc.getWidth(),dc.getHeight());

    it shows when dc.drawLine(0,dc.getHeight()-1,dc.getWidth(),dc.getHeight()-1);

    and in full view (using the same function) the bottom line is 1 pixel up and up line 1 pixel  down

    it's only on venu2/2s o venu and all devices it's ok - maybe on device it's ok

Children
No Data