- 28 Feb 2011
- 4
- 11
Hi,
I hope I've posted this in the correct thread.
I've just started playing with translations. My first attempt was to change the "Emergency call" button in the lock screen. The new apk was built without problems and I updated resources.arsc in a copy of the original framework-res.apk with the one from the build/apk directory. Installed the new apk on the phone and rebooted. Now the lock screen has a different look compared to stock miui-dev English language pack.
Stock lock screen:

Edited framework-res.apk:

As can be seen from the screen shoots the font size in both the "Emergency call" button and "Enter password to unlock" has increased. The button text is line wrapped and the other text has been truncated.
What have I done wrong or missed and what to do in order to fix it?
Note:
As a test I just decompiled and compiled the original framework-res.apk again, without changes, and then updated resources.arsc in a copy of the original framework-res.apk with the one from the build/apk directory. Installed and rebooted. This gave me the same problem again. "Emergency call" button is line wrapped and "Enter password to unlock" is truncated.
Regards
PClaren
I hope I've posted this in the correct thread.
I've just started playing with translations. My first attempt was to change the "Emergency call" button in the lock screen. The new apk was built without problems and I updated resources.arsc in a copy of the original framework-res.apk with the one from the build/apk directory. Installed the new apk on the phone and rebooted. Now the lock screen has a different look compared to stock miui-dev English language pack.
Stock lock screen:

Edited framework-res.apk:

As can be seen from the screen shoots the font size in both the "Emergency call" button and "Enter password to unlock" has increased. The button text is line wrapped and the other text has been truncated.
What have I done wrong or missed and what to do in order to fix it?
Note:
As a test I just decompiled and compiled the original framework-res.apk again, without changes, and then updated resources.arsc in a copy of the original framework-res.apk with the one from the build/apk directory. Installed and rebooted. This gave me the same problem again. "Emergency call" button is line wrapped and "Enter password to unlock" is truncated.
Regards
PClaren