5,598,086 Members 42,887 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE][HOT] Dual StatusBar With Swipe Feature (Original and Greper)

Tip us?
 
bagustinov
Old
(Last edited by bagustinov; 22nd March 2014 at 01:20 PM.)
#1  
Junior Member - OP
Thanks Meter 9
Posts: 21
Join Date: Feb 2014
Location: Kedung4000
Default [GUIDE][HOT] Dual StatusBar With Swipe Feature (Original and Greper)

HALLO !!
I comeback again with my New GUIDE..
I will give you GUIDE about Dual StatusBar With Swipe Feature (Original and Greper)
This is will work on GB, ICS and JB, but now i'll share for JB only(GB and ICS have different xml on Statusbar)


Requirements :
  1. Knowing about compile/decompile
  2. SystemUI.apk

Steps :
1. Decompile SystemUI.apk
2. Download file from attachments, ekstrak, and put it into each folder
3. Go to gemini_status_bar.xml and make it like this (Add the ride line)
HTML Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:id="@id/status_bar" android:background="@drawable/status_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
    <LinearLayout android:orientation="horizontal" android:animationCache="true" android:layout_width="fill_parent" android:layout_height="wrap_content">
        <com.android.mkj.PanelSwitcher android:id="@id/geser" android:layout_width="fill_parent" android:layout_height="wrap_content">
            <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
                <RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
                    <ImageView android:id="@id/notification_lights_out" android:paddingLeft="6.0dip" android:paddingBottom="2.0dip" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lights_out_dot_small" android:scaleType="center" />
                    <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
                        <LinearLayout android:orientation="horizontal" android:id="@id/notification_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
                            <ImageView android:id="@id/simicon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" />
                            <com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
                            <com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
                        </LinearLayout>
                        <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
                        <LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
                            <include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/gemini_signal_cluster_view" />
                            <TextView android:textSize="16.0sp" android:textColor="@*android:color/holo_blue_light" android:id="@id/percentage" android:paddingLeft="4.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
                            <ImageView android:id="@id/battery" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
                        </LinearLayout>
                        <com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
                    </LinearLayout>
                </RelativeLayout>
            </LinearLayout>
            <RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
                <in.jmkl.dcsms.statusbargreper.DcsmsLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
                    <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true">
                        <in.jmkl.dcsms.statusbargreper.CarrierImage android:id="@id/kurir" android:layout_width="fill_parent" android:layout_height="38.0px" android:adjustViewBounds="true" />
                    </LinearLayout>
                    <com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
                    <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true">
                        <in.jmkl.dcsms.statusbargreper.Icon android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
                        <in.jmkl.dcsms.statusbargreper.JamSamping android:layout_gravity="center_vertical" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
                        <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="fill_parent">
                            <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
                        </LinearLayout>
                    </LinearLayout>
                </in.jmkl.dcsms.statusbargreper.DcsmsLayout>
                <in.jmkl.dcsms.statusbargreper.Jam android:textSize="19.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_centerHorizontal="true" android:layout_centerVertical="true" />
            </RelativeLayout>
        </com.android.mkj.PanelSwitcher>
    </LinearLayout>
    <include android:id="@id/sim_indicator" android:layout_width="wrap_content" android:layout_height="25.0dip" layout="@layout/gemini_sim_indicator" />
    <LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
            <com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
            <com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
        </ImageSwitcher>
        <com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
            <TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
            <TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
        </com.android.systemui.statusbar.phone.TickerView>
    </LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
4. Navigate to values/ids and add this line
HTML Code:
<item type="id" name="geser">false</item>
<item type="id" name="kurir">false</item>
5. Done
6. Recompile your SystemUI
7. Push Your SystemUI whit StatusBarGreper v1.8.1


If you push it without StatusBarGreper your SystemUI will FC, to change SystemUI just swipe to left and Right

Thanks for um Jim for his tread :: http://forum.xda-developers.com/show....php?t=1877151

SS on attachments


Original post : http://archiveandroid.blogspot.com/2...statusbar.html


IF THIS GUIDE HELPED YOU, DON'T SAY THANKS BUT PRESS IT
Attached Thumbnails
Click image for larger version

Name:	dual panel.jpg
Views:	620
Size:	175.1 KB
ID:	2643581  
Attached Files
File Type: zip dualstatusbar.zip - [Click for QR Code] (156.1 KB, 36 views)
The Following 3 Users Say Thank You to bagustinov For This Useful Post: [ Click to Expand ]
 
bagustinov
Old
#2  
Junior Member - OP
Thanks Meter 9
Posts: 21
Join Date: Feb 2014
Location: Kedung4000
Post Reserved for ScreenShots

ScreenShots
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-03-22-16-33-03.png
Views:	207
Size:	129.0 KB
ID:	2643604   Click image for larger version

Name:	Screenshot_2014-03-22-16-34-57.jpg
Views:	180
Size:	72.7 KB
ID:	2643605  
 
Recognized Noob
Old
#3  
Recognized Noob's Avatar
Senior Member
Thanks Meter 271
Posts: 528
Join Date: Aug 2013
Location: IN YOUR BED
what does this do? confused.
If I'd observed all the RULES, I'd never have got ANYWHERE

CLICK IF I HELPED! (AND EVEN IF I DIDN'T)
 
Akhilendra Gadde
Old
#4  
Akhilendra Gadde's Avatar
Recognized Contributor
Thanks Meter 1469
Posts: 706
Join Date: Oct 2012
Location: Mumbai
Quote:
Originally Posted by bagustinov View Post
HALLO !!
I comeback again with my New GUIDE..
I will give you GUIDE about Dual StatusBar With Swipe Feature (Original and Greper)
This is will work on GB, ICS and JB, but now i'll share for JB only(GB and ICS have different xml on Statusbar)


Requirements :
  1. Knowing about compile/decompile
  2. SystemUI.apk

Steps :
1. Decompile SystemUI.apk
2. Download file from attachments, ekstrak, and put it into each folder
3. Go to gemini_status_bar.xml and make it like this (Add the ride line)
HTML Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:id="@id/status_bar" android:background="@drawable/status_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
    <LinearLayout android:orientation="horizontal" android:animationCache="true" android:layout_width="fill_parent" android:layout_height="wrap_content">
        <com.android.mkj.PanelSwitcher android:id="@id/geser" android:layout_width="fill_parent" android:layout_height="wrap_content">
            <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
                <RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
                    <ImageView android:id="@id/notification_lights_out" android:paddingLeft="6.0dip" android:paddingBottom="2.0dip" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lights_out_dot_small" android:scaleType="center" />
                    <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
                        <LinearLayout android:orientation="horizontal" android:id="@id/notification_icon_area" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
                            <ImageView android:id="@id/simicon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" />
                            <com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
                            <com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
                        </LinearLayout>
                        <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
                        <LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
                            <include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/gemini_signal_cluster_view" />
                            <TextView android:textSize="16.0sp" android:textColor="@*android:color/holo_blue_light" android:id="@id/percentage" android:paddingLeft="4.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
                            <ImageView android:id="@id/battery" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
                        </LinearLayout>
                        <com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
                    </LinearLayout>
                </RelativeLayout>
            </LinearLayout>
            <RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
                <in.jmkl.dcsms.statusbargreper.DcsmsLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
                    <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true">
                        <in.jmkl.dcsms.statusbargreper.CarrierImage android:id="@id/kurir" android:layout_width="fill_parent" android:layout_height="38.0px" android:adjustViewBounds="true" />
                    </LinearLayout>
                    <com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
                    <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true">
                        <in.jmkl.dcsms.statusbargreper.Icon android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
                        <in.jmkl.dcsms.statusbargreper.JamSamping android:layout_gravity="center_vertical" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
                        <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="fill_parent">
                            <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
                        </LinearLayout>
                    </LinearLayout>
                </in.jmkl.dcsms.statusbargreper.DcsmsLayout>
                <in.jmkl.dcsms.statusbargreper.Jam android:textSize="19.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_centerHorizontal="true" android:layout_centerVertical="true" />
            </RelativeLayout>
        </com.android.mkj.PanelSwitcher>
    </LinearLayout>
    <include android:id="@id/sim_indicator" android:layout_width="wrap_content" android:layout_height="25.0dip" layout="@layout/gemini_sim_indicator" />
    <LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
            <com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
            <com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
        </ImageSwitcher>
        <com.android.systemui.statusbar.phone.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
            <TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
            <TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
        </com.android.systemui.statusbar.phone.TickerView>
    </LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
4. Navigate to values/ids and add this line
HTML Code:
<item type="id" name="geser">false</item>
<item type="id" name="kurir">false</item>
5. Done
6. Recompile your SystemUI
7. Push Your SystemUI whit StatusBarGreper v1.8.1


If you push it without StatusBarGreper your SystemUI will FC, to change SystemUI just swipe to left and Right

Thanks for um Jim for his tread :: http://forum.xda-developers.com/show....php?t=1877151

SS on attachments


Original post : http://archiveandroid.blogspot.com/2...statusbar.html


IF THIS GUIDE HELPED YOU, DON'T SAY THANKS BUT PRESS IT
Ported from dcsms! Cool.

Sent from my a110 using XDA-Developers App
 
bagustinov
Old
#5  
Junior Member - OP
Thanks Meter 9
Posts: 21
Join Date: Feb 2014
Location: Kedung4000
Quote:
Originally Posted by Recognized Noob View Post
what does this do? confused.
Dual StatusBar, you didn't read the title ?? the first is original statusbar and the second is Statusbar Greper

Quote:
Originally Posted by Akhilendra Gadde View Post
Ported from dcsms! Cool.

Sent from my a110 using XDA-Developers App
Thanks bro
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Android Control Center Becomes Quick Control Panel, Brings Host of New Features

You may recall that back in August of last year, we talked … more

Polish Your Custom Themes with Theme Debugger

Creating a custom Android theme from scratch can be quite the laborious task. In addition to … more

Clean Up Your Logcat Code with Lib Cleaner

Some of you may think that writing code is the hardest part of development. It’s not, as the … more

Tweak Your Xperia Device’s Camera App Yourself

We’ve come to expect nearly perfect cameraperformancein our modern day … more