[Desire HD Themes and Apps] klquicksall:
Notification pull down menu transparency for Sense 3.0 Gingerbread based Roms

First we need to decompile SystemUI.apk

Resources needed to decompile:

1 com.htc.resources.apk

2 framework-res.apk

1 Once the systemui.apk is decompiled you need to enable transparency support in StatusBarService.smali. and StatuBarPolicy.smali.

Smali Edits

statusbarservice.smali Replace const/4 v5, 0x2 with const/4 v5, -0x3 You will need to make this edit in one place. Make sure you see -0x1 above the 0x2 when editing. Line 1797 may be a little different in some roms.

statusbarpolicy.smali Replace const/4 v5, 0x2 with const/4 v5, -0x3. You will need to make this edit in one place. Line 2246 may be different in some roms.

Now we need to make edits in

Values and layout folders

Values Folder

Color

<color name="white">#ffffffff</color>

<color name="black">#ff999999</color>

<color name="half_white">#7fffffff</color>

<color name="half_black">#7f000000</color>

<color name="primary_text_color">#ffffffff</color>

<color name="secondary_text_color">#ffcccccc</color>

You can use different values for the colors, the ones listed above are just values I use.

Drawables

<?xml version="1.0" encoding="UTF-8"?>

<resources>

<item type="drawable" name="APKTOOL_DUMMY_0046">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0047">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0048">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0049">false</item>

<item type="drawable" name="APKTOOL_DUMMY_004a">false</item>

<item type="drawable" name="APKTOOL_DUMMY_004b">false</item>

<item type="drawable" name="APKTOOL_DUMMY_004c">false</item>

<item type="drawable" name="APKTOOL_DUMMY_004d">false</item>

<item type="drawable" name="APKTOOL_DUMMY_004e">false</item>

<item type="drawable" name="APKTOOL_DUMMY_004f">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0050">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0051">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0052">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0053">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0054">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0055">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0056">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0057">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0058">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0059">false</item>

<item type="drawable" name="APKTOOL_DUMMY_005a">false</item>

<item type="drawable" name="APKTOOL_DUMMY_005b">false</item>

<item type="drawable" name="APKTOOL_DUMMY_005c">false</item>

<item type="drawable" name="APKTOOL_DUMMY_005d">false</item>

<item type="drawable" name="APKTOOL_DUMMY_005e">false</item>

<item type="drawable" name="APKTOOL_DUMMY_005f">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0060">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0061">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0062">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0063">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0064">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0072">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0073">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0074">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0075">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0076">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0077">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0078">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0079">false</item>

<item type="drawable" name="APKTOOL_DUMMY_007a">false</item>

<item type="drawable" name="APKTOOL_DUMMY_007b">false</item>

<item type="drawable" name="APKTOOL_DUMMY_007c">false</item>

<item type="drawable" name="APKTOOL_DUMMY_007d">false</item>

<item type="drawable" name="APKTOOL_DUMMY_007e">false</item>

<item type="drawable" name="APKTOOL_DUMMY_007f">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0080">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0081">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0082">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0083">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0084">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0085">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0086">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0087">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0088">false</item>

<item type="drawable" name="APKTOOL_DUMMY_0089">false</item>

<item type="drawable" name="APKTOOL_DUMMY_008a">false</item>

<item type="drawable" name="APKTOOL_DUMMY_008b">false</item>

<item type="drawable" name="APKTOOL_DUMMY_008c">false</item>

<item type="drawable" name="APKTOOL_DUMMY_008d">false</item>

<item type="drawable" name="APKTOOL_DUMMY_008e">false</item>

<item type="drawable" name="APKTOOL_DUMMY_008f">false</item>

<item type="drawable" name="APKTOOL_DUMMY_013e">false</item>

<item type="drawable" name="shade_bgcolor">#99000000</item>

<item type="drawable" name="notification_header_text_color">#ffffffff</item>

<item type="drawable" name="notification_number_text_color">#ffffffff</item>

<item type="drawable" name="list_item_background">#00000000</item>

<item type="drawable" name="list_item_background_gray">#fff2f2f2</item>

</resources>

Note on a stock SystemUI the values in Yellow will be on the top. You will need to add them to the bottom just like this guide has it.

Layout Folder

Status bar tracking.xml

<?xml version="1.0" encoding="UTF-8"?>

<com.android.systemui.statusbar.TrackingView android:orientation="vertical" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:paddingBottom="0.0px" android:focusable="true" android:visibility="gone" android:descendantFocusability="afterDescendants"

xmlns:android="http://schemas.android.com/apk/res/android">

<View android:id="@id/background" android:background="@drawable/status_bar_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />

<LinearLayout android:orientation="vertical" android:id="@id/swtich_buttons" android:layout_width="fill_parent" android:layout_height="wrap_content">

<View android:background="@drawable/divider_horizontal_dark_opaque" android:layout_width="fill_parent" android:layout_height="1.0px" />

<View android:id="@id/tab_header" android:background="@drawable/status_bar_background" android:layout_width="fill_parent" android:layout_height="4.0sp" />

<LinearLayout android:orientation="horizontal" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">

<TextView android:textSize="@com.htc:dimen/list_primary_m" android:textStyle="bold" android:textColor="#ffffffff" android:ellipsize="marquee" android:gravity="center" android:id="@id/notifications" android:background="@drawable/status_bar_tab_on" android:clickable="true" android:layout_width="0.0px" android:layout_height="@dimen/quick_settings_tab_height" android:singleLine="true" android:layout_weight="1.0" />

<TextView android:textSize="@com.htc:dimen/list_primary_m" android:textStyle="bold" android:textColor="#ffffffff" android:ellipsize="marquee" android:gravity="center" android:id="@id/quick_settings" android:background="@drawable/status_bar_tab_off" android:clickable="true" android:layout_width="0.0px" android:layout_height="@dimen/quick_settings_tab_height" android:singleLine="true" android:layout_weight="1.0" />

</LinearLayout>

</LinearLayout>

<com.android.systemui.statusbar.CloseDragHandle android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">

<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:scaleType="fitXY" />

</com.android.systemui.statusbar.CloseDragHandle>

</com.android.systemui.statusbar.TrackingView>

Status bar expanded.xml

<?xml version="1.0" encoding="UTF-8"?>

<com.android.systemui.statusbar.ExpandedView android:orientation="horizontal" android:focusable="true" android:descendantFocusability="afterDescendants"

xmlns:android="http://schemas.android.com/apk/res/android">

<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">

<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:background="@drawable/status_bar_header_background" android:paddingRight="@dimen/clear_button_padding_right" android:layout_width="fill_parent" android:layout_height="wrap_content">

<com.android.systemui.statusbar.CarrierLabel android:gravity="center_vertical" android:layout_gravity="center_vertical" android:orientation="vertical" android:id="@id/carrierLabel" android:paddingLeft="5.0dip" android:paddingTop="1.0dip" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">

<com.htc.widget.HtcBlinkingTextView android:textAppearance="?android:textAppearanceLarge" android:textSize="@dimen/status_bar_title_font_size" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:id="@id/plmnLabel" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />

<TextView android:textAppearance="?android:textAppearanceLarge" android:textSize="@dimen/status_bar_title_font_size" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:id="@id/spnLabel" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />

</com.android.systemui.statusbar.CarrierLabel>

<TextView android:textSize="@dimen/clear_button_font_size" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="@drawable/btn_default_small" android:paddingLeft="15.0dip" android:paddingRight="15.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_clear_all_button" style="?android:buttonStyle" />

</LinearLayout>

<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">

<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">

<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">

<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:id="@id/noNotificationsTitle" android:background="@drawable/title_bar_portrait" android:paddingLeft="14.0px" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_no_notifications_title" />

<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:id="@id/ongoingTitle" android:background="@drawable/title_bar_portrait" android:paddingLeft="14.0px" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_ongoing_events_title" />

<LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" android:drawable="@drawable/status_bar_background" />

<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:id="@id/latestTitle" android:background="@drawable/title_bar_portrait" android:paddingLeft="14.0px" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_latest_events_title" />

<LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" android:drawable="@drawable/status_bar_background" />

</com.android.systemui.statusbar.NotificationLinearLayout>

</ScrollView>

<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />

</FrameLayout>

</LinearLayout>

<ImageView android:id="@id/tab_divider" android:layout_width="2.0px" android:layout_height="fill_parent" android:src="@drawable/notification_separator" android:scaleType="fitXY" />

</com.android.systemui.statusbar.ExpandedView>

Note the text is yellow will have to be added manually. They are not part of the stock SystemUI

Quicksettings.xml

<?xml version="1.0" encoding="UTF-8"?>

<com.android.systemui.statusbar.preference.QuickSettings android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"

xmlns:android="http://schemas.android.com/apk/res/android">

<TextView android:textAppearance="?android:textAppearanceLarge" android:textSize="@dimen/status_bar_title_font_size" android:textColor="#ffffffff" android:gravity="center_vertical" android:id="@id/title_bar" android:background="@drawable/status_bar_header_background" android:paddingLeft="9.0sp" android:layout_width="fill_parent" android:layout_height="wrap_content" android:scaleType="fitXY" android:text="@string/status_bar_quick_settings" />

<ScrollView android:id="@id/scroll" android:background="@drawable/list_item_background" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent">

<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">

<include android:id="@id/volume" layout="@layout/status_bar_preference" />

<include android:id="@id/brightness" layout="@layout/status_bar_preference" />

<include android:id="@id/rotation" layout="@layout/status_bar_preference" />

<include android:id="@id/wifi" layout="@layout/status_bar_preference" />

<include android:id="@id/hotspot" layout="@layout/status_bar_preference" />

<include android:id="@id/network" layout="@layout/status_bar_preference" />

<include android:id="@id/wimax" layout="@layout/status_bar_preference" />

<include android:id="@id/bluetooth" layout="@layout/status_bar_preference" />

<include android:id="@id/gps" layout="@layout/status_bar_preference" />

<include android:id="@id/settings" layout="@layout/status_bar_preference" />

<include android:id="@id/task_manager" layout="@layout/status_bar_preference" />

</LinearLayout>

</ScrollView>

</com.android.systemui.statusbar.preference.QuickSettings>

Now use the Apks above for Status bar tab on / off and status bar background.

Recompile apk and enjoy.

To Change your Lock Screen in Gingerbread Sense 2.1

1.	Create a 480x788 pixel png (no jpg) and name it lockscreen_topedge.png - if desired you can add a little transparency if you want this effect

2. Extract the HtcLockScreen.apk from the lockscreen.zip

3. Open (NOT UNPACK) HtcLockScreen.apk with winrar and drag your lockscreen_topedge.png in the res/drawable-hdpi folder and just close the apk. Make sure your compression settings in winrar are store to avoid any issues.

4. In a perfect world you zipalign your apk for less Ram consumption, but since this is only 1, you will not notice a difference anyway.

5. Now drag the HtcLockScreen.apk in the lockscreen2.2.1 or lockscreen2.2.zip (depends what you have downloaded for your type of ROM) in the system/app folder and close the zip. Again - no need to pack or unpack anything, this would only break the signage.

6. Install like a ROM with ROM Manager or directly from recovery.

To create the 5 app drawer for Sense 2.1

Decompile rosie.apk with htc.com.resources.apk

Go to values/ values-hdpi /integers

<integer name="cell_layout_line_width">4</integer>

Change to 5

Values-hdpi folder / integer

<?xml version="1.0" encoding="UTF-8"?>

<resources>

<integer name="scroll_x1">0</integer>

<integer name="scroll_y1">37</integer>

<integer name="scroll_x2">240</integer>

<integer name="scroll_y2">10</integer>

<integer name="scroll_x3">480</integer>

<integer name="scroll_y3">37</integer>

<integer name="cell_layout_corner_radius">5</integer>

<integer name="cell_layout_line_width">5</integer>

<integer name="blade_control_touch_area">50</integer>

</resources>

Values folder / integer

<?xml version="1.0" encoding="UTF-8"?>

<resources>

<integer name="add_view_scroll_up_duration">200</integer>

<integer name="add_view_scroll_down_duration">200</integer>

<integer name="add_view_fade_in_duration">300</integer>

<integer name="add_view_fade_out_down_duration">200</integer>

<integer name="blade_scroll_fade">300</integer>

<integer name="blade_bar_slide">800</integer>

<integer name="button_state_fade_duration">250</integer>

<integer name="buttons_slide_down_duration">200</integer>

<integer name="button_bar_scroll_up_area">5</integer>

<integer name="folder_grid_columns">5</integer>

<integer name="workspace_screen_cl_short_axis_cells">4</integer>

<integer name="workspace_screen_cl_long_axis_cells">4</integer>

<integer name="allprogram_grid_columns">5</integer>

<integer name="thumb_nail_screen_1_x">68</integer>

<integer name="thumb_nail_screen_1_y">13</integer>

<integer name="thumb_nail_screen_2_x">166</integer>

<integer name="thumb_nail_screen_2_y">13</integer>

<integer name="thumb_nail_screen_3_x">20</integer>

<integer name="thumb_nail_screen_3_y">141</integer>

<integer name="thumb_nail_screen_4_x">117</integer>

<integer name="thumb_nail_screen_4_y">141</integer>

<integer name="thumb_nail_screen_5_x">215</integer>

<integer name="thumb_nail_screen_5_y">141</integer>

<integer name="thumb_nail_screen_6_x">68</integer>

<integer name="thumb_nail_screen_6_y">269</integer>

<integer name="thumb_nail_screen_7_x">166</integer>

<integer name="thumb_nail_screen_7_y">269</integer>

<integer name="thumb_nail_screen_width">80</integer>

<integer name="thumb_nail_screen_height">114</integer>

<integer name="drag_scale">24</integer>

</resources>

Sense 3

5 app drawer

Values integers

<?xml version="1.0" encoding="utf-8"?>

<resources>

<integer name="default_screen_count">7</integer>

<integer name="default_screen">3</integer>

<integer name="middle_btn_top">532</integer>

<integer name="middle_left_btn_left">130</integer>

<integer name="middle_left_btn_right">371</integer>

<integer name="middle_center_btn_right">619</integer>

<integer name="middle_right_btn_right">860</integer>

<integer name="add_view_scroll_up_duration">200</integer>

<integer name="add_view_scroll_down_duration">200</integer>

<integer name="add_view_fade_in_duration">300</integer>

<integer name="add_view_fade_out_down_duration">200</integer>

<integer name="blade_scroll_fade">300</integer>

<integer name="blade_bar_slide">960</integer>

<integer name="allprogram_grid_rows">5</integer>

<integer name="button_state_fade_duration">250</integer>

<integer name="buttons_slide_down_duration">200</integer>

<integer name="button_bar_scroll_up_area">5</integer>

<integer name="folder_grid_columns">5</integer>

<integer name="workspace_screen_cl_short_axis_cells">4</integer>

<integer name="workspace_screen_cl_long_axis_cells">4</integer>

<integer name="allprogram_grid_columns">5</integer>

<integer name="allprogram_land_grid_columns">6</integer>

<integer name="thumb_nail_screen_1_x">68</integer>

<integer name="thumb_nail_screen_1_y">13</integer>

<integer name="thumb_nail_screen_2_x">166</integer>

<integer name="thumb_nail_screen_2_y">13</integer>

<integer name="thumb_nail_screen_3_x">20</integer>

<integer name="thumb_nail_screen_3_y">141</integer>

<integer name="thumb_nail_screen_4_x">117</integer>

<integer name="thumb_nail_screen_4_y">141</integer>

<integer name="thumb_nail_screen_5_x">215</integer>

<integer name="thumb_nail_screen_5_y">141</integer>

<integer name="thumb_nail_screen_6_x">68</integer>

<integer name="thumb_nail_screen_6_y">269</integer>

<integer name="thumb_nail_screen_7_x">166</integer>

<integer name="thumb_nail_screen_7_y">269</integer>

<integer name="thumb_nail_screen_width">80</integer>

<integer name="thumb_nail_screen_height">114</integer>

<integer name="thumb_nail_screen_1_x_5page">173</integer>

<integer name="thumb_nail_screen_1_y_5page">23</integer>

<integer name="thumb_nail_screen_2_x_5page">20</integer>

<integer name="thumb_nail_screen_2_y_5page">282</integer>

<integer name="thumb_nail_screen_3_x_5page">173</integer>

<integer name="thumb_nail_screen_3_y_5page">282</integer>

<integer name="thumb_nail_screen_4_x_5page">325</integer>

<integer name="thumb_nail_screen_4_y_5page">282</integer>

<integer name="thumb_nail_screen_5_x_5page">173</integer>

<integer name="thumb_nail_screen_5_y_5page">542</integer>

<integer name="thumb_nail_screen_width_5page">135</integer>

<integer name="thumb_nail_screen_height_5page">192</integer>

<integer name="drag_scale">24</integer>

</resources>

Values hdpi

<?xml version="1.0" encoding="utf-8"?>

<resources>

<integer name="allprogram_grid_rows">4</integer>

<integer name="scroll_x1">0</integer>

<integer name="scroll_y1">37</integer>

<integer name="scroll_x2">240</integer>

<integer name="scroll_y2">10</integer>

<integer name="scroll_x3">480</integer>

<integer name="scroll_y3">37</integer>

<integer name="cell_layout_corner_radius">5</integer>

<integer name="cell_layout_line_width">5</integer>

<integer name="blade_control_touch_area">50</integer>

Credits

Capychimp

he_stheone64

liamsters

maxdroid

If I forgot you please let me know.

Enjoy