[guide][dev]adding slideable mods to statusbar and apps>

Search This thread

san122

Senior Member
Jan 20, 2013
1,238
1,593
Unavailable.
Hello Guys .Hope You Are Fine..

I found this slidiable function in calculator app and integrated in my theme..
and now i want to share this mod with you ..
I will Guide You how to make it work in some apps like statusbar.dialer,etc

So Lets Start

PREPARATION..
+Knowledge of editing xmls
+Apktool or apkmanager
+My zip<in attachments

METHOD.
+Download attached zip.
+Decompile Your App In Which U want To use This Mod
+Extract Provided Zip in smali folder of your app.
+Now go to ids.xml and add this code above</resources>.
Code:
  <item type="id" name="panelswitch">false</item>
+Now open ststus_bar_expande.xml
+If you want to add this mod in clock panel and brightness panel.
then add this code
Code:
 <com.android.san.PanelSwitcher android:id="@id/panelswitch" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content">
        <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
           add clock panel here
		   </LinearLayout>
        <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
                 brightness panel here
				 </LinearLayout>
    </com.android.san.PanelSwitcher>
+Now decompile Your app
+Thats it.
+Now you can slide clock panel left to use brightness panel.

NOTE
Remember to place your panels between two layouts as in above code.
Use this guide to mod other apps also.

CREDITS
DEV of calculater app
Me

This is what iam talking about on sliding...
This is my theme

zusaje8y.jpg
 

Attachments

  • Files.zip
    3.9 KB · Views: 128
Last edited:

Lal Ayer

Senior Member
Mar 19, 2013
338
145
26
Mahendranagar,Nepal
Hello Guys .Hope You Are Fine..

I found this slidiable function in calculator app and integrated in my theme..
and now i want to share this mod with you ..
I will Guide You how to make it work in some apps like statusbar.dialer,etc

So Lets Start

PREPARATION..
+Knowledge of editing xmls
+Apktool or apkmanager
+My zip<in attachments

METHOD.
+Download attached zip.
+Decompile Your App In Which U want To use This Mod
+Extract Provided Zip in smali folder of your app.
+Now go to ids.xml and add this code above</resources>.
Code:
  <item type="id" name="panelswitch">false</item>
+Now open ststus_bar_expande.xml
+If you want to add this mod in clock panel and brightness panel.
then add this code
Code:
 <com.android.san.PanelSwitcher android:id="@id/panelswitch" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content">
        <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
           add clock panel here
   </LinearLayout>
        <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
                 brightness panel here
 </LinearLayout>
    </com.android.san.PanelSwitcher>
+Now decompile Your app
+Thats it.
+Now you can slide clock panel left to use brightness panel.

NOTE
Remember to place your panels between two layouts as in above code.
Use this guide to mod other apps also.

CREDITS
DEV of calculater app
Me

This is what iam talking about on sliding...
This is my theme

zusaje8y.jpg

Good Work Bro Helpful Post
:eek:

Sent from my Micromax A110 using xda premium
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    Hello Guys .Hope You Are Fine..

    I found this slidiable function in calculator app and integrated in my theme..
    and now i want to share this mod with you ..
    I will Guide You how to make it work in some apps like statusbar.dialer,etc

    So Lets Start

    PREPARATION..
    +Knowledge of editing xmls
    +Apktool or apkmanager
    +My zip<in attachments

    METHOD.
    +Download attached zip.
    +Decompile Your App In Which U want To use This Mod
    +Extract Provided Zip in smali folder of your app.
    +Now go to ids.xml and add this code above</resources>.
    Code:
      <item type="id" name="panelswitch">false</item>
    +Now open ststus_bar_expande.xml
    +If you want to add this mod in clock panel and brightness panel.
    then add this code
    Code:
     <com.android.san.PanelSwitcher android:id="@id/panelswitch" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content">
            <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
               add clock panel here
    		   </LinearLayout>
            <LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
                     brightness panel here
    				 </LinearLayout>
        </com.android.san.PanelSwitcher>
    +Now decompile Your app
    +Thats it.
    +Now you can slide clock panel left to use brightness panel.

    NOTE
    Remember to place your panels between two layouts as in above code.
    Use this guide to mod other apps also.

    CREDITS
    DEV of calculater app
    Me

    This is what iam talking about on sliding...
    This is my theme

    zusaje8y.jpg
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone