Thursday, June 2, 2016

HWThemes for EMUI 4.0 - issue with incorrect stretching of UI elements (i.e.messages)

Attached you'll find my modifications of TASTE theme from Huawei Themes (available for our P8 Lite phones).
The problem I'm facing is the way the backgrounds for messages (bg_message_recevied.9.png and bg_message_send.9.png) are being stretched (see the screenshot and notice how the message box gets ungly when long message present).
In order to conceal the problem I have made the png files bigger but it does not look as nice as I would like to.

Does anyone know what to do in order to force them to resize properly? i.e. while keeping the corners of the images scaled properly?
I've edited the files which were scaled properly when used without changes in different theme but they do not work properly on mine once being modified (I've tried to make modifications using XnView, paint.Net, MS Paint, ImageEdit and result was always the same).

I am working on my modifications in two flavors - "Blue" I use with my "StarCraft theme" and "Brown" with my "Torchlight / Warcraft theme".

Any help would be much appreciated.

In case someone would like to use these themes - please feel free to do so, remember that they are made from heavily modified "Taste" theme from "Huawe Themes store" and they are only compatible with EMUI 4.0 based P8 Lite. I also do not claim for myself any rights for icons or theme this modification is based on.

Attached Thumbnails
Click image for larger version Name: Screenshot_2016-06-02-15-05-29.png Views: N/A Size: 206.4 KB ID: 3770146  
Attached Files
File Type: zip taste_blue.zip - [Click for QR Code] (9.43 MB)
File Type: zip taste_brown.zip - [Click for QR Code] (5.79 MB)


from xda-developers http://ift.tt/24ky7RA
via IFTTT

No comments:

Post a Comment