[Galaxy Note II Original Android Development] Scalee:
Hi guys,

Today i got a request of somebody wanting to mod the multiwindow bar to 240DPI. But doing this will make the bar not fill fullscreen.

So spent pretty much my whole sunday, on this and pretty much came up empty.

Question time, so looked into the resources and found a table of dimensions. (dimens.xml)

So i tried overwriting all which have height in them, to a smaller value and see if anything changes.

But nothing happens at all, The only thing i can think of is that i am using the wrong datatype somehow.

Either that or application doesn't use it's resources for sizes, but then why did they even make the resources.

So before i spend tons more hours fumbling about, Is it the application or am i replacing the resources incorrectly?

@Override
public void handleInitPackageResources(InitPackageResourcesParam resparam) throws Throwable {
if (!resparam.packageName.equals("com.sec.android.app.FlashBarService"))
return;

XposedBridge.log("Found flashbar");

resparam.res.setReplacement("com.sec.android.app.FlashBarService", "dimen", "full_height", 10);
resparam.res.setReplacement("com.sec.android.app.FlashBarService", "dimen", "applist_flashbar_full_height", 10);
resparam.res.setReplacement("com.sec.android.app.FlashBarService", "dimen", "applist_scroll_view_height", 10);
resparam.res.setReplacement("com.sec.android.app.FlashBarService", "dimen", "applist_flash_bar_height", 10);
resparam.res.setReplacement("com.sec.android.app.FlashBarService", "dimen", "applist_appicon_item_height", 10);
}

<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="center_bar_width">360.0dip</dimen>
<dimen name="center_bar_height">20.0dip</dimen>
<dimen name="center_bar_focus_width">16.0dip</dimen>
<dimen name="center_bar_focus_height">15.0dip</dimen>
<dimen name="center_bar_button_width">42.0dip</dimen>
<dimen name="center_bar_button_height">42.0dip</dimen>
<dimen name="center_bar_button_margin">12.0dip</dimen>
<dimen name="center_combination_width">360.0dip</dimen>
<dimen name="center_combination_height">224.0dip</dimen>
<dimen name="center_bar_fling_first_left">0.0dip</dimen>
<dimen name="center_bar_fling_first_top">66.0dip</dimen>
<dimen name="center_bar_fling_first_right">360.0dip</dimen>
<dimen name="center_bar_fling_first_bottom">82.0dip</dimen>
<dimen name="center_bar_fling_second_left">0.0dip</dimen>
<dimen name="center_bar_fling_second_top">582.0dip</dimen>
<dimen name="center_bar_fling_second_right">360.0dip</dimen>
<dimen name="center_bar_fling_second_bottom">602.0dip</dimen>
<dimen name="center_bar_docking_margin">30.0dip</dimen>
<dimen name="full_width">360.0dip</dimen>
<dimen name="full_height">640.0dip</dimen>
<dimen name="applist_indicator_space">25.0dip</dimen>
<dimen name="applist_bar_text_size">6.0dip</dimen>
<dimen name="applist_move_button_width">82.5dip</dimen>
<dimen name="applist_move_button_height">27.0dip</dimen>
<dimen name="applist_move_button_margin">75.0dip</dimen>
<dimen name="applist_drawer_move">78.0dip</dimen>
<dimen name="applist_scroll_view_bg_margin">24.0dip</dimen>
<dimen name="applist_scroll_view_margin">27.0dip</dimen>
<dimen name="applist_scroll_view_height">75.0dip</dimen>
<dimen name="applist_scroll_view_padding">21.0dip</dimen>
<dimen name="applist_appicon_item_width">75.0dip</dimen>
<dimen name="applist_appicon_item_height">60.0dip</dimen>
<dimen name="applist_appicon_item_margin">14.0dip</dimen>
<dimen name="applist_appicon_image_width">36.0dip</dimen>
<dimen name="applist_appicon_image_height">36.0dip</dimen>
<dimen name="applist_appicon_text_width">70.0dip</dimen>
<dimen name="applist_appicon_text_height">18.0dip</dimen>
<dimen name="applist_flash_bar_height">102.0dip</dimen>
<dimen name="applist_flashbar_full_width">360.0dip</dimen>
<dimen name="applist_flashbar_full_height">615.0dip</dimen>
<dimen name="edit_list_left_padding">11.0dip</dimen>
<dimen name="edit_list_right_padding">12.0dip</dimen>
<dimen name="edit_list_top_padding">41.0dip</dimen>
<dimen name="edit_list_bottom_padding">41.0dip</dimen>
<dimen name="edit_list_left_padding_h">15.0dip</dimen>
<dimen name="edit_list_right_padding_h">15.0dip</dimen>
<dimen name="edit_list_top_padding_h">12.0dip</dimen>
<dimen name="edit_list_bottom_padding_h">11.0dip</dimen>
<dimen name="edit_list_button_height">59.0dip</dimen>
<dimen name="edit_list_button_width">80.0dip</dimen>
</resources>

Thanks