[MOD][DEV] Motorola style Transparent NavBar [JOP40D]

Search This thread

evilisto

Senior Member
Nov 26, 2010
486
2,318
-----------------------------------------------------------------------------
Updated to v1.1
- add Tablet UI support : Preview
- very minor fixes :eek:
-----------------------------------------------------------------------------

This mod is originally posted in Galaxy Nexus theme forum :
[MOD] Moto Style - Transparent Navbar and Modified Launcher

Z5P9O.png


-----------------------------------------------------------------------------

* diff for JOP40D : download

Code:
diff -rupN ./a/frameworks/base/packages/SystemUI/res/layout/navigation_bar.xml ./b/frameworks/base/packages/SystemUI/res/layout/navigation_bar.xml
--- ./a/frameworks/base/packages/SystemUI/res/layout/navigation_bar.xml	2012-11-15 06:56:46.284574000 +0900
+++ ./b/frameworks/base/packages/SystemUI/res/layout/navigation_bar.xml	2012-11-26 02:22:33.688340970 +0900
@@ -23,7 +23,7 @@
     xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
     android:layout_height="match_parent"
     android:layout_width="match_parent"
-    android:background="#FF000000"
+    android:background="#88000000"
     >
 
     <FrameLayout android:id="@+id/rot0"
diff -rupN ./a/frameworks/base/packages/SystemUI/res/layout-sw600dp/navigation_bar.xml ./b/frameworks/base/packages/SystemUI/res/layout-sw600dp/navigation_bar.xml
--- ./a/frameworks/base/packages/SystemUI/res/layout-sw600dp/navigation_bar.xml	2012-11-15 06:56:51.254573000 +0900
+++ ./b/frameworks/base/packages/SystemUI/res/layout-sw600dp/navigation_bar.xml	2012-11-26 02:22:45.329174028 +0900
@@ -22,7 +22,7 @@
     xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
     android:layout_height="match_parent"
     android:layout_width="match_parent"
-    android:background="#FF000000"
+    android:background="#88000000"
     >
 
     <FrameLayout android:id="@+id/rot0"
diff -rupN ./a/frameworks/base/packages/SystemUI/res/values/colors.xml ./b/frameworks/base/packages/SystemUI/res/values/colors.xml
--- ./a/frameworks/base/packages/SystemUI/res/values/colors.xml	2012-11-15 06:56:15.354577000 +0900
+++ ./b/frameworks/base/packages/SystemUI/res/values/colors.xml	2012-11-26 02:23:37.219186755 +0900
@@ -19,7 +19,7 @@
 <resources>
     <drawable name="notification_number_text_color">#ffffffff</drawable>
     <drawable name="ticker_background_color">#ff1d1d1d</drawable>
-    <drawable name="status_bar_background">#ff000000</drawable>
+    <drawable name="status_bar_background">#88000000</drawable>
     <color name="notification_panel_solid_background">#ff000000</color>
     <drawable name="status_bar_recents_app_thumbnail_background">#88000000</drawable>
     <color name="status_bar_recents_app_label_color">#ffffffff</color>
@@ -31,8 +31,8 @@
     <drawable name="notification_header_bg">#FF000000</drawable>
 
     <!-- ==================== system bar only ==================== -->
-    <drawable name="system_bar_background">#ff000000</drawable>
+    <drawable name="system_bar_background">#88000000</drawable>
     <!-- the darkening filter applied to notifications -->
-    <drawable name="notification_icon_area_smoke">#aa000000</drawable>
+    <drawable name="notification_icon_area_smoke">#88000000</drawable>
     <color name="notification_panel_scrim_color">#B0000000</color>
 </resources>
diff -rupN ./a/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java ./b/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
--- ./a/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java	2012-11-15 06:56:11.314567000 +0900
+++ ./b/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java	2012-12-04 03:48:39.654073231 +0900
@@ -410,7 +410,7 @@ public class PhoneStatusBar extends Base
         }
 
         // figure out which pixel-format to use for the status bar.
-        mPixelFormat = PixelFormat.OPAQUE;
+        mPixelFormat = PixelFormat.TRANSLUCENT;
 
         mSystemIconArea = (LinearLayout) mStatusBarView.findViewById(R.id.system_icon_area);
         mStatusIcons = (LinearLayout)mStatusBarView.findViewById(R.id.statusIcons);
@@ -800,7 +800,7 @@ public class PhoneStatusBar extends Base
                     | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL
                     | WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH
                     | WindowManager.LayoutParams.FLAG_SPLIT_TOUCH,
-                PixelFormat.OPAQUE);
+                PixelFormat.TRANSLUCENT);
         // this will allow the navbar to run in an overlay on devices that support this
         if (ActivityManager.isHighEndGfx()) {
             lp.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED;
diff -rupN ./a/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java ./b/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
--- ./a/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java	2012-11-15 06:56:20.634573000 +0900
+++ ./b/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java	2012-12-04 03:49:10.074070472 +0900
@@ -223,7 +223,7 @@ public class TabletStatusBar extends Bas
                 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
                     | WindowManager.LayoutParams.FLAG_TOUCHABLE_WHEN_WAKING
                     | WindowManager.LayoutParams.FLAG_SPLIT_TOUCH,
-                PixelFormat.OPAQUE);
+                PixelFormat.TRANSLUCENT);
 
         // We explicitly leave FLAG_HARDWARE_ACCELERATED out of the flags.  The status bar occupies
         // very little screen real-estate and is updated fairly frequently.  By using CPU rendering
diff -rupN ./a/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java ./b/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
--- ./a/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java	2012-11-15 06:56:30.065396000 +0900
+++ ./b/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java	2012-11-26 02:17:11.528336640 +0900
@@ -2547,8 +2547,6 @@ public class PhoneWindowManager implemen
         systemRect.top = mSystemTop;
         systemRect.right = mSystemRight;
         systemRect.bottom = mSystemBottom;
-        if (mStatusBar != null) return mStatusBar.getSurfaceLayer();
-        if (mNavigationBar != null) return mNavigationBar.getSurfaceLayer();
         return 0;
     }
 
diff -rupN ./a/packages/apps/Launcher2/res/layout-port/launcher.xml ./b/packages/apps/Launcher2/res/layout-port/launcher.xml
--- ./a/packages/apps/Launcher2/res/layout-port/launcher.xml	2012-11-15 06:56:33.644567000 +0900
+++ ./b/packages/apps/Launcher2/res/layout-port/launcher.xml	2012-11-26 02:13:44.479173944 +0900
@@ -19,7 +19,7 @@
     xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher"
 
     android:id="@+id/drag_layer"
-    android:background="@drawable/workspace_bg"
+    android:background="#00000000"
     android:layout_width="match_parent"
     android:layout_height="match_parent">
 
diff -rupN ./a/packages/apps/Launcher2/res/values/dimens.xml ./b/packages/apps/Launcher2/res/values/dimens.xml
--- ./a/packages/apps/Launcher2/res/values/dimens.xml	2012-11-15 06:56:36.904569000 +0900
+++ ./b/packages/apps/Launcher2/res/values/dimens.xml	2012-11-26 02:14:58.399175719 +0900
@@ -43,8 +43,8 @@
     <dimen name="workspace_divider_padding_right">3dp</dimen>
     <dimen name="workspace_divider_padding_top">0dp</dimen>
     <dimen name="workspace_divider_padding_bottom">0dp</dimen>
-    <dimen name="hotseat_cell_width">64dp</dimen>
-    <dimen name="hotseat_cell_height">64dp</dimen>
+    <dimen name="hotseat_cell_width">72dp</dimen>
+    <dimen name="hotseat_cell_height">88dp</dimen>
     <dimen name="hotseat_width_gap">-1dp</dimen>
     <dimen name="hotseat_height_gap">-1dp</dimen>
     <dimen name="workspace_overscroll_drawable_padding">0dp</dimen>
diff -rupN ./a/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java ./b/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
--- ./a/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java	2012-11-26 02:13:14.109170000 +0900
+++ ./b/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java	2012-11-26 00:46:51.878340000 +0900
@@ -609,11 +609,7 @@ public class CellLayout extends ViewGrou
             BubbleTextView bubbleChild = (BubbleTextView) child;
 
             Resources res = getResources();
-            if (mIsHotseat) {
-                bubbleChild.setTextColor(res.getColor(android.R.color.transparent));
-            } else {
-                bubbleChild.setTextColor(res.getColor(R.color.workspace_icon_text_color));
-            }
+            bubbleChild.setTextColor(res.getColor(R.color.workspace_icon_text_color));
         }
 
         child.setScaleX(getChildrenScale());
diff -rupN ./a/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java ./b/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
--- ./a/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java	2012-11-26 02:13:06.868336000 +0900
+++ ./b/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java	2012-11-26 00:50:40.238351000 +0900
@@ -43,6 +43,7 @@ import android.os.Build;
 import android.os.IBinder;
 import android.os.Parcelable;
 import android.util.AttributeSet;
+import android.util.DisplayMetrics;
 import android.util.Log;
 import android.util.SparseArray;
 import android.view.Display;
@@ -522,7 +523,7 @@ public class Workspace extends SmoothPag
 
             // Hide folder title in the hotseat
             if (child instanceof FolderIcon) {
-                ((FolderIcon) child).setTextVisible(false);
+                ((FolderIcon) child).setTextVisible(true);
             }
 
             if (screen < 0) {
@@ -837,12 +838,10 @@ public class Workspace extends SmoothPag
     }
 
     protected void setWallpaperDimension() {
-        Point minDims = new Point();
-        Point maxDims = new Point();
-        mLauncher.getWindowManager().getDefaultDisplay().getCurrentSizeRange(minDims, maxDims);
-
-        final int maxDim = Math.max(maxDims.x, maxDims.y);
-        final int minDim = Math.min(minDims.x, minDims.y);
+        DisplayMetrics displayMetrics = new DisplayMetrics();
+        mLauncher.getWindowManager().getDefaultDisplay().getRealMetrics(displayMetrics);
+        final int maxDim = Math.max(displayMetrics.widthPixels, displayMetrics.heightPixels);
+        final int minDim = Math.min(displayMetrics.widthPixels, displayMetrics.heightPixels);
 
         // We need to ensure that there is enough extra space in the wallpaper for the intended
         // parallax effects
@@ -971,9 +970,9 @@ public class Workspace extends SmoothPag
 
     class WallpaperOffsetInterpolator {
         float mFinalHorizontalWallpaperOffset = 0.0f;
-        float mFinalVerticalWallpaperOffset = 0.5f;
+        float mFinalVerticalWallpaperOffset = 0.0f;
         float mHorizontalWallpaperOffset = 0.0f;
-        float mVerticalWallpaperOffset = 0.5f;
+        float mVerticalWallpaperOffset = 0.0f;
         long mLastWallpaperOffsetUpdateTime;
         boolean mIsMovingFast;
         boolean mOverrideHorizontalCatchupConstant;

* resources : download

-----------------------------------------------------------------------------
 
Last edited:

vicino

Inactive Recognized Themer
Jun 9, 2007
2,599
6,636
welcome back man! i'ts been awhile :)

transparent Navbar! nice :good:

i think this would be great with my Moto theme lol
 

tibi09

Member
Aug 28, 2012
22
0
Only on the desktop is transparent to other interface or black
Not compatible cm, aokp?, Will stop at the boot screen
 

evilisto

Senior Member
Nov 26, 2010
486
2,318
Only on the desktop is transparent to other interface or black
Not compatible cm, aokp?, Will stop at the boot screen

Yes, this mod makes navbar and statusbar to semi-transparent on stock launcher's workspace(home screen) only.
If navbar is transparent when using other apps, that will cause many ui problems.. (navbar will overlap some ui elements)

And this patch is for AOSP only, because I'm using stock rom.. :)
But I think making same mod for cm9 or aokp is not much different from this. (but you have to apply patch manually)


Im sorry for the stupid question but what do i do with this please ?.......yes im a noob :crying:

This patch is for someone who know how to compile android on linux. (not difficult at all because there are so many great guides about it :))
Apply this patch and compile rom or each files(SystemUI.apk, android.policy.jar and Launcher2.apk). then you can get this mod for your device (or rom).
 

sert00

Senior Member
May 28, 2011
1,091
496
cesena,IT
is this possible on windows?

i think yes,but very elaborated without all the change...OP sad the modify at framework,but not these on policy.jar and systemUI..instaed with the inux method,with diff and patch tools you can easily do the mod.i'm linux user from 2 months,but i'm not able to do that.i'm trying right now,i want to do that on codename for gnex,i'll let you say if i have good response on this work!;)
 

evilisto

Senior Member
Nov 26, 2010
486
2,318
Updated!

Now transparent navbar is compatible with tablet & phablet(Nexus 7) UI. :)
And I added 2 more patches for CM10 and Paranoid Android rom.

dtJJ9.png


is this possible on windows?

Yes possible but you have to edit each smali and xml files manually.. and sorry I can't be much help about this because I don't have any knowledge about smali.. :eek:
 

punshkin

Senior Member
Jan 6, 2010
1,021
257
Looks absolutely fantastic! Will you submit this to cyanogenmod? That would eliminate the need to patch for every nightly

Sent from my GT-I9100 using xda app-developers app
 
  • Like
Reactions: Mattymat

aooga

Senior Member
Feb 19, 2011
3,263
972
California
well that sucks...wish there was a really detailed tutorial on how to use these on ubuntu.

EDIT: If i were to give you the systemui.apk, framework-res.apk, and android-policy.jar, could you pleeeeease apply the patch for them? :) :) :)
 
Last edited:

DaXmax

Senior Member
Sep 16, 2008
10,846
9,928
Singapore
The all legends of ICS Mods, welcome back. This is totally awesome. :D Compiled through my aokp workspace and it works fine with aokp. Should make a toggle for this. :p
 

dxdiag32

Senior Member
Feb 21, 2011
902
350
Chongqing
after a little search,i got the diff and patch :p

copy patch file to your source path
run terminal and cd /your/source/path
patch -p2 < PATCHFILENAME
 
  • Like
Reactions: badtzo

Tijmen

Retired Forum Moderator
May 26, 2011
1,682
2,600
30
Rotterdam
But where do I put the png's? Applied patch in ~/android/system and all went fine, but I'm not sure where I should put the new navigation bar buttons. And how do I compile single apk's?

New to compiling, used to zip before... :angel:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 26
    -----------------------------------------------------------------------------
    Updated to v1.1
    - add Tablet UI support : Preview
    - very minor fixes :eek:
    -----------------------------------------------------------------------------

    This mod is originally posted in Galaxy Nexus theme forum :
    [MOD] Moto Style - Transparent Navbar and Modified Launcher

    Z5P9O.png


    -----------------------------------------------------------------------------

    * diff for JOP40D : download

    Code:
    diff -rupN ./a/frameworks/base/packages/SystemUI/res/layout/navigation_bar.xml ./b/frameworks/base/packages/SystemUI/res/layout/navigation_bar.xml
    --- ./a/frameworks/base/packages/SystemUI/res/layout/navigation_bar.xml	2012-11-15 06:56:46.284574000 +0900
    +++ ./b/frameworks/base/packages/SystemUI/res/layout/navigation_bar.xml	2012-11-26 02:22:33.688340970 +0900
    @@ -23,7 +23,7 @@
         xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
         android:layout_height="match_parent"
         android:layout_width="match_parent"
    -    android:background="#FF000000"
    +    android:background="#88000000"
         >
     
         <FrameLayout android:id="@+id/rot0"
    diff -rupN ./a/frameworks/base/packages/SystemUI/res/layout-sw600dp/navigation_bar.xml ./b/frameworks/base/packages/SystemUI/res/layout-sw600dp/navigation_bar.xml
    --- ./a/frameworks/base/packages/SystemUI/res/layout-sw600dp/navigation_bar.xml	2012-11-15 06:56:51.254573000 +0900
    +++ ./b/frameworks/base/packages/SystemUI/res/layout-sw600dp/navigation_bar.xml	2012-11-26 02:22:45.329174028 +0900
    @@ -22,7 +22,7 @@
         xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
         android:layout_height="match_parent"
         android:layout_width="match_parent"
    -    android:background="#FF000000"
    +    android:background="#88000000"
         >
     
         <FrameLayout android:id="@+id/rot0"
    diff -rupN ./a/frameworks/base/packages/SystemUI/res/values/colors.xml ./b/frameworks/base/packages/SystemUI/res/values/colors.xml
    --- ./a/frameworks/base/packages/SystemUI/res/values/colors.xml	2012-11-15 06:56:15.354577000 +0900
    +++ ./b/frameworks/base/packages/SystemUI/res/values/colors.xml	2012-11-26 02:23:37.219186755 +0900
    @@ -19,7 +19,7 @@
     <resources>
         <drawable name="notification_number_text_color">#ffffffff</drawable>
         <drawable name="ticker_background_color">#ff1d1d1d</drawable>
    -    <drawable name="status_bar_background">#ff000000</drawable>
    +    <drawable name="status_bar_background">#88000000</drawable>
         <color name="notification_panel_solid_background">#ff000000</color>
         <drawable name="status_bar_recents_app_thumbnail_background">#88000000</drawable>
         <color name="status_bar_recents_app_label_color">#ffffffff</color>
    @@ -31,8 +31,8 @@
         <drawable name="notification_header_bg">#FF000000</drawable>
     
         <!-- ==================== system bar only ==================== -->
    -    <drawable name="system_bar_background">#ff000000</drawable>
    +    <drawable name="system_bar_background">#88000000</drawable>
         <!-- the darkening filter applied to notifications -->
    -    <drawable name="notification_icon_area_smoke">#aa000000</drawable>
    +    <drawable name="notification_icon_area_smoke">#88000000</drawable>
         <color name="notification_panel_scrim_color">#B0000000</color>
     </resources>
    diff -rupN ./a/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java ./b/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
    --- ./a/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java	2012-11-15 06:56:11.314567000 +0900
    +++ ./b/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java	2012-12-04 03:48:39.654073231 +0900
    @@ -410,7 +410,7 @@ public class PhoneStatusBar extends Base
             }
     
             // figure out which pixel-format to use for the status bar.
    -        mPixelFormat = PixelFormat.OPAQUE;
    +        mPixelFormat = PixelFormat.TRANSLUCENT;
     
             mSystemIconArea = (LinearLayout) mStatusBarView.findViewById(R.id.system_icon_area);
             mStatusIcons = (LinearLayout)mStatusBarView.findViewById(R.id.statusIcons);
    @@ -800,7 +800,7 @@ public class PhoneStatusBar extends Base
                         | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL
                         | WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH
                         | WindowManager.LayoutParams.FLAG_SPLIT_TOUCH,
    -                PixelFormat.OPAQUE);
    +                PixelFormat.TRANSLUCENT);
             // this will allow the navbar to run in an overlay on devices that support this
             if (ActivityManager.isHighEndGfx()) {
                 lp.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED;
    diff -rupN ./a/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java ./b/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
    --- ./a/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java	2012-11-15 06:56:20.634573000 +0900
    +++ ./b/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java	2012-12-04 03:49:10.074070472 +0900
    @@ -223,7 +223,7 @@ public class TabletStatusBar extends Bas
                     WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
                         | WindowManager.LayoutParams.FLAG_TOUCHABLE_WHEN_WAKING
                         | WindowManager.LayoutParams.FLAG_SPLIT_TOUCH,
    -                PixelFormat.OPAQUE);
    +                PixelFormat.TRANSLUCENT);
     
             // We explicitly leave FLAG_HARDWARE_ACCELERATED out of the flags.  The status bar occupies
             // very little screen real-estate and is updated fairly frequently.  By using CPU rendering
    diff -rupN ./a/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java ./b/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
    --- ./a/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java	2012-11-15 06:56:30.065396000 +0900
    +++ ./b/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java	2012-11-26 02:17:11.528336640 +0900
    @@ -2547,8 +2547,6 @@ public class PhoneWindowManager implemen
             systemRect.top = mSystemTop;
             systemRect.right = mSystemRight;
             systemRect.bottom = mSystemBottom;
    -        if (mStatusBar != null) return mStatusBar.getSurfaceLayer();
    -        if (mNavigationBar != null) return mNavigationBar.getSurfaceLayer();
             return 0;
         }
     
    diff -rupN ./a/packages/apps/Launcher2/res/layout-port/launcher.xml ./b/packages/apps/Launcher2/res/layout-port/launcher.xml
    --- ./a/packages/apps/Launcher2/res/layout-port/launcher.xml	2012-11-15 06:56:33.644567000 +0900
    +++ ./b/packages/apps/Launcher2/res/layout-port/launcher.xml	2012-11-26 02:13:44.479173944 +0900
    @@ -19,7 +19,7 @@
         xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher"
     
         android:id="@+id/drag_layer"
    -    android:background="@drawable/workspace_bg"
    +    android:background="#00000000"
         android:layout_width="match_parent"
         android:layout_height="match_parent">
     
    diff -rupN ./a/packages/apps/Launcher2/res/values/dimens.xml ./b/packages/apps/Launcher2/res/values/dimens.xml
    --- ./a/packages/apps/Launcher2/res/values/dimens.xml	2012-11-15 06:56:36.904569000 +0900
    +++ ./b/packages/apps/Launcher2/res/values/dimens.xml	2012-11-26 02:14:58.399175719 +0900
    @@ -43,8 +43,8 @@
         <dimen name="workspace_divider_padding_right">3dp</dimen>
         <dimen name="workspace_divider_padding_top">0dp</dimen>
         <dimen name="workspace_divider_padding_bottom">0dp</dimen>
    -    <dimen name="hotseat_cell_width">64dp</dimen>
    -    <dimen name="hotseat_cell_height">64dp</dimen>
    +    <dimen name="hotseat_cell_width">72dp</dimen>
    +    <dimen name="hotseat_cell_height">88dp</dimen>
         <dimen name="hotseat_width_gap">-1dp</dimen>
         <dimen name="hotseat_height_gap">-1dp</dimen>
         <dimen name="workspace_overscroll_drawable_padding">0dp</dimen>
    diff -rupN ./a/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java ./b/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java
    --- ./a/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java	2012-11-26 02:13:14.109170000 +0900
    +++ ./b/packages/apps/Launcher2/src/com/android/launcher2/CellLayout.java	2012-11-26 00:46:51.878340000 +0900
    @@ -609,11 +609,7 @@ public class CellLayout extends ViewGrou
                 BubbleTextView bubbleChild = (BubbleTextView) child;
     
                 Resources res = getResources();
    -            if (mIsHotseat) {
    -                bubbleChild.setTextColor(res.getColor(android.R.color.transparent));
    -            } else {
    -                bubbleChild.setTextColor(res.getColor(R.color.workspace_icon_text_color));
    -            }
    +            bubbleChild.setTextColor(res.getColor(R.color.workspace_icon_text_color));
             }
     
             child.setScaleX(getChildrenScale());
    diff -rupN ./a/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java ./b/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java
    --- ./a/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java	2012-11-26 02:13:06.868336000 +0900
    +++ ./b/packages/apps/Launcher2/src/com/android/launcher2/Workspace.java	2012-11-26 00:50:40.238351000 +0900
    @@ -43,6 +43,7 @@ import android.os.Build;
     import android.os.IBinder;
     import android.os.Parcelable;
     import android.util.AttributeSet;
    +import android.util.DisplayMetrics;
     import android.util.Log;
     import android.util.SparseArray;
     import android.view.Display;
    @@ -522,7 +523,7 @@ public class Workspace extends SmoothPag
     
                 // Hide folder title in the hotseat
                 if (child instanceof FolderIcon) {
    -                ((FolderIcon) child).setTextVisible(false);
    +                ((FolderIcon) child).setTextVisible(true);
                 }
     
                 if (screen < 0) {
    @@ -837,12 +838,10 @@ public class Workspace extends SmoothPag
         }
     
         protected void setWallpaperDimension() {
    -        Point minDims = new Point();
    -        Point maxDims = new Point();
    -        mLauncher.getWindowManager().getDefaultDisplay().getCurrentSizeRange(minDims, maxDims);
    -
    -        final int maxDim = Math.max(maxDims.x, maxDims.y);
    -        final int minDim = Math.min(minDims.x, minDims.y);
    +        DisplayMetrics displayMetrics = new DisplayMetrics();
    +        mLauncher.getWindowManager().getDefaultDisplay().getRealMetrics(displayMetrics);
    +        final int maxDim = Math.max(displayMetrics.widthPixels, displayMetrics.heightPixels);
    +        final int minDim = Math.min(displayMetrics.widthPixels, displayMetrics.heightPixels);
     
             // We need to ensure that there is enough extra space in the wallpaper for the intended
             // parallax effects
    @@ -971,9 +970,9 @@ public class Workspace extends SmoothPag
     
         class WallpaperOffsetInterpolator {
             float mFinalHorizontalWallpaperOffset = 0.0f;
    -        float mFinalVerticalWallpaperOffset = 0.5f;
    +        float mFinalVerticalWallpaperOffset = 0.0f;
             float mHorizontalWallpaperOffset = 0.0f;
    -        float mVerticalWallpaperOffset = 0.5f;
    +        float mVerticalWallpaperOffset = 0.0f;
             long mLastWallpaperOffsetUpdateTime;
             boolean mIsMovingFast;
             boolean mOverrideHorizontalCatchupConstant;

    * resources : download

    -----------------------------------------------------------------------------
    4
    Updated!

    Now transparent navbar is compatible with tablet & phablet(Nexus 7) UI. :)
    And I added 2 more patches for CM10 and Paranoid Android rom.

    dtJJ9.png


    is this possible on windows?

    Yes possible but you have to edit each smali and xml files manually.. and sorry I can't be much help about this because I don't have any knowledge about smali.. :eek:
    3
    Patch fixed

    OMG sorry I didn't know that previous patch doesn't contain some important parts... :eek: :eek:
    It is fixed now and I confirmed that it works well on JOP40D (4.2.1).
    1
    Looks absolutely fantastic! Will you submit this to cyanogenmod? That would eliminate the need to patch for every nightly

    Sent from my GT-I9100 using xda app-developers app
    1
    after a little search,i got the diff and patch :p

    copy patch file to your source path
    run terminal and cd /your/source/path
    patch -p2 < PATCHFILENAME