Tuesday, August 30, 2016

[Q] How to port IncallUI.apk from 560DPI to 640DPI

Hello,

a short question - i want do adapt a IncallUI from 560DPI to native 640DI - the work with apktool is no problem - decompile is successfull - but i dont know what changes i have to made in the dimens.xml - so concret i have no idea what new DPI value i have to set when the original values are

Code:

    <dimen name="sec_incall_pager_indicator_height">16.0dip</dimen>
    <dimen name="sec_incall_pager_indicator_padding_top">19.0dip</dimen>
    <dimen name="sec_call_banner_height">1920.0px</dimen>
    <dimen name="sec_dialpad_button_height">69.5dip</dimen>
    <dimen name="sec_dialpad_button_width">137.1dip</dimen>
    <dimen name="sec_dialpad_digits_height">246.0dip</dimen>
    <dimen name="sec_dialpad_keys_height">278.0dip</dimen>
    <dimen name="sec_dialpad_views_width">480.0dip</dimen>
    <dimen name="sec_endcall_buttons_margin_top">333.5dip</dimen>
    <dimen name="sec_primary_video_call_name_margin_bottom">10.0dip</dimen>
    ........
    ........

for example... what conversion is from 560 to 640 DPI ? :confused: (every value +80 can`t be the answer, or..?)

Thanks for answering such a NOOB question :highfive:

Regards


from xda-developers http://ift.tt/2c9lYwa
via IFTTT

No comments:

Post a Comment