[GUIDE] How to make a Floating Statusbar Like a Phablet/Tablet For CM7

Search This thread

kathoks

Member
Jun 27, 2012
20
3
gaporn
nice guide sir!!!:highfive:

attachment.php
 

Attachments

  • 1391459_10200811295825232_354650386_n.jpg
    1391459_10200811295825232_354650386_n.jpg
    50.2 KB · Views: 1,124

L4zyD0g

Senior Member
why

attachment.php

Hello, i just try to make my phone like a phablet/tablet with 4.0.4 or 4.1.2 android os last time, but i don't know i can make it a simple or not.
But now i can make it a "pop up manipulation" with some background manipulation too. So, here we go the tutorial will start now!

The first of this tutorial you must know about :
1. How to decompile/compile the apk file (don't ask here, you can search on google how to do that)
2. How to coding a xml file with some code
3. You must have a Apktool/ApkManager/ToolAlite by KuyaGaol
4. You must have a JDK and Latest Net framework for run Apktool/ApkManager/ToolAlite by KuyaGaol
5. You must take a beer! lol

Oke the first method is :
1. Download my Floating.zip
2. Pull the Framework-res.apk and SystemUI.apk
3. Do "if framework" on your Apktool/ApkManager/ToolAlite by KuyaGaol
4. Decompile SystemUI.apk
5. Extract my Floating.zip to your drawable directory. (you can extract on "drawable" or "drawable-mdpi" folder).
6. Open status_bar.xml from /res/layout/here and find this code, modify and save :
Code:
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon"
and add this line code :
Code:
android:background="@drawable/trans"
or paste my line :
Code:
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="#00000000" android:gravity="center" android:id="@id/date" android:background="@drawable/trans" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
7. Open status_bar_expanded.xml from /res/layout/here and find this code, modify and save :
Code:
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical"
and add this line code :
Code:
android:background="@drawable/bg"
or paste my line :
Code:
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:background="@drawable/bg" android:focusable="true" android:descendantFocusability="afterDescendants"
8. Open status_bar_tracking.xml from /res/layout/here and find this code. modify and save :
Code:
<View android:background="@drawable/shade_bg" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.0" />
and change to this line :
Code:
<View android:background="@drawable/shade_bg" android:layout_width="0.0px" android:layout_height="0.0px" android:layout_weight="1.0" />
Find this line :
Code:
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/status_bar_close_on" android:scaleType="fitXY" />
and change to this line :
Code:
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/trans" android:scaleType="fitXY" />
9. Recompile your SystemUI.apk project and push it to your phone to the /system/app directory

Note :
- If you have any error upload your log.txt here from apktool
- If you have a force close systemui upload your logcat here from your device

Thanks To :
- Rizalien
- Official Group Galaxy Young Indonesia
- Official Group Sony Xperia X8 Indonesia
- Tiny Anastasia Development Group
- DCSMS
- and YOU!



sir help me in this error :crying:
 

Attachments

  • mali.jpg
    mali.jpg
    56.5 KB · Views: 204
Last edited:

DaniallXavier

New member
Feb 8, 2014
1
0
Hey bro ! :)

What you mean 'add this line or paste my code' i wan add the line or paste your code ?? which one ?:confused:

---------- Post added at 08:15 AM ---------- Previous post was at 08:02 AM ----------

And what rom u use ?:angel:
 

Pikachu

Senior Member
Apr 27, 2014
176
182
Mumbai
hello sir @K_TECH
can you tell me how to make floating ui for jb4.1 ? :)
ive searched a lot but im not able to find any guide for 4.1 devices
thanks
 

Top Liked Posts

  • There are no posts matching your filters.
  • 25
    attachment.php

    Hello, i just try to make my phone like a phablet/tablet with 4.0.4 or 4.1.2 android os last time, but i don't know i can make it a simple or not.
    But now i can make it a "pop up manipulation" with some background manipulation too. So, here we go the tutorial will start now!

    The first of this tutorial you must know about :
    1. How to decompile/compile the apk file (don't ask here, you can search on google how to do that)
    2. How to coding a xml file with some code
    3. You must have a Apktool/ApkManager/ToolAlite by KuyaGaol
    4. You must have a JDK and Latest Net framework for run Apktool/ApkManager/ToolAlite by KuyaGaol
    5. You must take a beer! lol

    Oke the first method is :
    1. Download my Floating.zip
    2. Pull the Framework-res.apk and SystemUI.apk
    3. Do "if framework" on your Apktool/ApkManager/ToolAlite by KuyaGaol
    4. Decompile SystemUI.apk
    5. Extract my Floating.zip to your drawable directory. (you can extract on "drawable" or "drawable-mdpi" folder).
    6. Open status_bar.xml from /res/layout/here and find this code, modify and save :
    Code:
    <com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon"
    and add this line code :
    Code:
    android:background="@drawable/trans"
    or paste my line :
    Code:
    <com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="#00000000" android:gravity="center" android:id="@id/date" android:background="@drawable/trans" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
    7. Open status_bar_expanded.xml from /res/layout/here and find this code, modify and save :
    Code:
    <com.android.systemui.statusbar.ExpandedView android:orientation="vertical"
    and add this line code :
    Code:
    android:background="@drawable/bg"
    or paste my line :
    Code:
    <com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:background="@drawable/bg" android:focusable="true" android:descendantFocusability="afterDescendants"
    8. Open status_bar_tracking.xml from /res/layout/here and find this code. modify and save :
    Code:
    <View android:background="@drawable/shade_bg" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.0" />
    and change to this line :
    Code:
    <View android:background="@drawable/shade_bg" android:layout_width="0.0px" android:layout_height="0.0px" android:layout_weight="1.0" />
    Find this line :
    Code:
    <ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/status_bar_close_on" android:scaleType="fitXY" />
    and change to this line :
    Code:
    <ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/trans" android:scaleType="fitXY" />
    9. Recompile your SystemUI.apk project and push it to your phone to the /system/app directory

    Note :
    - If you have any error upload your log.txt here from apktool
    - If you have a force close systemui upload your logcat here from your device

    Thanks To :
    - Rizalien
    - Official Group Galaxy Young Indonesia
    - Official Group Sony Xperia X8 Indonesia
    - Tiny Anastasia Development Group
    - DCSMS
    - and YOU!
    1
    Once again an awesome job from you bro!! :good: :D

    Many THANKS for this! :cool:
    1
    Does it work on CM10

    Sent from my E15i using xda premium
    1
    Does this work with Cm7

    Sent from my E15i using xda app-developers app
    1
    thx dont forget to if framework :)


    i dont know, cause i never try cm9/cm10. if you want to try just do it, dont forget to make a backup. if success with it, tell me asap so i will edit my post :)

    OK i'll try it for you soon and tell you asap!!!!!!!:laugh::highfive: