I need help for my next update
first mod
in status_bar_expanded_header.xml I wanted to add rotation lock and brightness but every time I change a toggle button systemUI crashes
from this:
<ImageView android:id="@id/settings_button" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/zzz_notification_quick_setting_setting" android:scaleType="center" android:layout_weight="1.0" android:contentDescription="@string/accessibility_settings_button" />
to this:
<ImageView android:id="@id/rotation_lock_button" android:layout_width="wrap_content" android:layout_height="fill_parent" android:button="@drawable/ic_notify_rotation" android:scaleType="center" android:layout_weight="1.0" android:contentDescription="@string/accessibility_rotation_lock_off" />
to replace the 2 settings icons there with rotation loack and brightness
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
the xml file is in the downloads
Just rename new drawable to zzz _noti...
Because id of zzz_xxx is used in smali files and you cant delete this from xml
So.. Rename ic_notify_rotation to zzz_notification_... And then systemui will work without fc
KuaQ said:
Just rename new drawable to zzz _noti...
Because id of zzz_xxx is used in smali files and you cant delete this from xml
So.. Rename ic_notify_rotation to zzz_notification_... And then systemui will work without fc
Click to expand...
Click to collapse
nope still crashes
I tried this line
<ImageView android:id="@id/rotation_lock_button" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/zzz_notification_quick_setting_rotation_lock_off" android:scaleType="center" android:layout_weight="1.0" android:contentDescription="@string/accessibility_rotation_lock_off" />
but thanks anyway
@zero_omar I think that you'll have to edit some smali for toggles.
Sent from my ST26i
Dzepar said:
@zero_omar I think that you'll have to edit some smali for toggles.
Sent from my ST26i
Click to expand...
Click to collapse
thank you for directing me to this tutorial
http://forum.xda-developers.com/showthread.php?t=2406596
zero_omar said:
thank you for directing me to this tutorial
http://forum.xda-developers.com/showthread.php?t=2406596
Click to expand...
Click to collapse
Your welcome.
Here's how my notifications looks.
Sent from my ST26i
Dzepar said:
Your welcome. View attachment 2920653
Here's how my notifications looks.
Sent from my ST26i
Click to expand...
Click to collapse
hey about the transparency I tried replacing "notification_panel_bg.png" with a transparent one but its still non transparent ?
@zero_omar you need to remove some background in smali I'll explain more when I get home
Sent from my ST26i
Dzepar said:
@zero_omar you need to remove some background in smali I'll explain more when I get home
Sent from my ST26i
Click to expand...
Click to collapse
thanks for helping me
I'm new to android modding so I'm confused with the smali folder
zero_omar said:
thanks for helping me
I'm new to android modding so I'm confused with the smali folder
Click to expand...
Click to collapse
I'm noob to and learning
here is good tut for smali
Now to change transparenci you need to go to
SystemUI\smali\com\android\systemui\statusbar\phone
open PhoneStatusBar.smali with Notepad++
delete
Code:
invoke-virtual {v0, v5}, Landroid/view/View;->setBackground(Landroid/graphics/drawable/Drawable;)V
now go to SystemUI.apk\res\layout
open status_bar_expanded_header.xml
and change
Code:
<LinearLayout android:orientation="vertical" [COLOR="Red"]android:background="@drawable/notification_header_bg"[/COLOR] android:layout_width="fill_parent" android:layout_height="wrap_content"
to
Code:
<LinearLayout android:orientation="vertical" android:id="@id/expand_header" [COLOR="RoyalBlue"]android:background="#40000000"[/COLOR] android:layout_width="fill_parent" android:layout_height="wrap_content"
or whatever you like this is from my SystemUI
Good Luck!
Dzepar said:
I'm noob to and learning
here is good tut for smali
Now to change transparenci you need to go to
SystemUI\smali\com\android\systemui\statusbar\phone
open PhoneStatusBar.smali with Notepad++
delete
Code:
invoke-virtual {v0, v5}, Landroid/view/View;->setBackground(Landroid/graphics/drawable/Drawable;)V
now go to SystemUI.apk\res\layout
open status_bar_expanded_header.xml
and change
Code:
<LinearLayout android:orientation="vertical" [COLOR="Red"]android:background="@drawable/notification_header_bg"[/COLOR] android:layout_width="fill_parent" android:layout_height="wrap_content"
to
Code:
<LinearLayout android:orientation="vertical" android:id="@id/expand_header" [COLOR="RoyalBlue"]android:background="#40000000"[/COLOR] android:layout_width="fill_parent" android:layout_height="wrap_content"
or whatever you like this is from my SystemUI
Good Luck!
Click to expand...
Click to collapse
thank you very much for helping me with smali and transparency
Look Goood
Sent from my ST26i
Related
I took the freedom to change the widget/icon...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
original file here.
Great
Thanks a lot
needed a restart for it to work, but looks much better! thx a dozen!
helfone said:
needed a restart for it to work, but looks much better! thx a dozen!
Click to expand...
Click to collapse
..Cool ..
Had'nt used it before, but it works great.
No more unnecessary power button wear and tear
Thanks! I've been using this along w/ No Lock since I got my phone and it's fantastic. I ping'ed the dev to see if he would release an app version so we could modify the icon but never heard anything back.
I made a quick mod to change your icon to a transparent background and it looks fantastic on my screen. The only thing I don't like is how much space is left for icon text. I tried removing the TextView block from the layout/widget.xml file but I just got an error. Does anyone know how to mod the layout so the icon fills the whole widget box?
Here is the original layout text (schema lines removed since I'm a new user and can't post links)...
Code:
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout android:orientation="vertical" android:id="@id/widget_layout" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:layout_gravity="center" android:orientation="vertical" android:id="@id/LinearLayout01" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_weight="1.0">
<LinearLayout android:layout_gravity="center_vertical" android:orientation="horizontal" android:id="@id/LinearLayout02" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_below="@id/widget_icon">
<ImageView android:layout_gravity="center_vertical" android:id="@id/widget_icon" android:paddingLeft="10.0dip" android:paddingTop="3.0dip" android:paddingRight="10.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="fitCenter" android:adjustViewBounds="true" android:cropToPadding="false" />
</LinearLayout>
</LinearLayout>
<TextView android:textSize="13.0dip" android:textColor="#00000000" android:layout_gravity="bottom|center" android:id="@id/title" android:background="#00000000" android:paddingLeft="5.0dip" android:paddingTop="1.0dip" android:paddingRight="5.0dip" android:paddingBottom="0.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="11.0dip" android:text="..." android:lines="1" android:layout_alignParentBottom="true" />
</LinearLayout>
could I see a screenhot of your mod?
rori- PM sent. I can't post links yet (not sure what to do about that but wait...) but my PM has a link to the screenshot.
Just another FYI - there is a version 1.1 of this app - no idea what the difference between 1.0 and 1.1 is. I'm not sure how to grab the apk file from the phone to update it so I just modd'ed the 1.0 version you posted...
TD22057 said:
Just another FYI - there is a version 1.1 of this app - no idea what the difference between 1.0 and 1.1 is. I'm not sure how to grab the apk file from the phone to update it so I just modd'ed the 1.0 version you posted...
Click to expand...
Click to collapse
I updated my mod to v 1.1 already, but as nobody asked, I did not posted it.
It would help me out if you could post it.
Thanks!
You shoul have asked ...here´s the raw png.
http://www.4shared.com/photo/3-nobdRQ/icon__2_.html?
And here LockScreenWidget_v1.1.apk
Sorry - I meant could you post the lock screen widget 1.1 apk file? I haven't figured out how to get to the apk file on my phone that I downloaded from the app store yet...
rori~ said:
You shoul have asked
Click to expand...
Click to collapse
Much appreciated. Great work by the way, this is a much nicer icon
Hollow.Droid said:
Much appreciated. Great work by the way, this is a much nicer icon
Click to expand...
Click to collapse
Thanx! - it´s an app I don´t wanna miss.
Here are some other one's I made. All the credit to rori.
Posted below for people who might be interested.
sonnysekhon said:
Here are some other one's I made. All the credit to rori.
Posted below for people who might be interested.
Click to expand...
Click to collapse
Damn, All nice!!! KUDO's to you both for these!!! I'm going to place a link to your post on mine, this is a sick one on top of the smileys...Sick work!
Hello only a question, I can´t install the aplication, neither version. I have a galaxy s, with eclair, and unrooted. Is this aplication for me??
Thanks, and sorry for me English.
Hello
I have downloaded all of these :
LockScreenWidget_v1.1.apk
LSW_1.apk
LSW_2.apk
LSW_3.apk
LSW_4.apk
LSW_5.apk
LSW_6.apk
for some reason I am getting a 'parsing error' whenever i try to install them (I have a samsung galaxy s running 2.1).
would appreciate advice what I'm doing wrong.
thanks
moghul said:
Hello
I have downloaded all of these :
LockScreenWidget_v1.1.apk
LSW_1.apk
LSW_2.apk
LSW_3.apk
LSW_4.apk
LSW_5.apk
LSW_6.apk
for some reason I am getting a 'parsing error' whenever i try to install them (I have a samsung galaxy s running 2.1).
would appreciate advice what I'm doing wrong.
thanks
Click to expand...
Click to collapse
Does the original market version work for you?
Sent from my Nexus One
There are a couple of custom status bars posted here already. This I know. I have checked them all out and come to find that they are having the same problem... The clock and dates are changed to white... but notifications (like the "USB Debugging" that pops up when you plug in your phone to a computer) are still black!! This is a problem... I need to read notifications lol.
So this is what I have been working on:
I have been doing some research and found that I can hex edit the status_bar.xml located inside of framework-res.apk (framework-res/res/layout/status_bar.xml) and change the notification color there.. so I tried it and it works!! Nice!! Right?? But wait!! Look what I have found:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Notice that the notification texts flip flopped back and forth from White to Black. That's pretty cool... but not what I was looking for...So I went back in and instead of hexediting the status_bar.xml, I used apktool to decompile it and open the status_bar.xml file with notepad++ to find this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<com.android.server.status.StatusBarView android:orientation="vertical" android:background="@drawable/statusbar_background" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.server.status.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
</LinearLayout>
<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="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.server.status.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.server.status.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
[COLOR="Blue"]<com.android.server.status.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:textColor="[COLOR="blue"][COLOR="Red"]#ffffffff[/COLOR][/COLOR]" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textColor="[COLOR="red"]#ff000000[/COLOR]" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.server.status.TickerView>[/COLOR]
</LinearLayout>
<com.android.server.status.DateView android:textSize="16.0sp" android:textStyle="bold" android:textColor="?textColorPrimaryInverse" android:gravity="left|center" android:id="@id/date" android:background="@drawable/statusbar_background" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.server.status.StatusBarView>
Notice that the two hex colors in red are different... first guess was that was incorrect. So with changing both hex colors to white (#ffffffff) it finally worked and I got this:
To sum it up, if you want to change your notification text to match your theme or colorful status bar you have to decompile the apk (I used apktool) and then changed the values shown in the status_bar.xml file.
** NOTE ** - I am on Rubix Rom and the framework-res.apk file is completely hosed. I could not decompile and compile without getting errors. I even decompiled it once, changed NOTHING, tried re compiling and got blasted with errors. I had to use the OTA 2.2 deodexed framework-res.apk for this to work. It seems that something was done to that ROM's framework-res.apk file that was incorrect.
This is a work in progress because I have not tried any other colors.
What status bar are u using?
MonoDraken said:
What status bar are u using?
Click to expand...
Click to collapse
This is one I made... I haven't put it in a metamorph file yet.
But you could push the files of attatched zip onto your phone.
They belong in /system/framework/
So I didn't quite understand. Sorry. So did you get this working on rubix? or did you give up on rubix and go back to stock. I am on rubix and this looks pretty good.
Here's another question. Will the transparent bar work with launchers? Are you using the "stock" launcher, ADW, LPP, or Zeam. Bc some launchers aren't compatible with transparent bars.
thanks.
thepolishguy said:
So I didn't quite understand. Sorry. So did you get this working on rubix? or did you give up on rubix and go back to stock. I am on rubix and this looks pretty good.
Here's another question. Will the transparent bar work with launchers? Are you using the "stock" launcher, ADW, LPP, or Zeam. Bc some launchers aren't compatible with transparent bars.
thanks.
Click to expand...
Click to collapse
This works on Rubix... I just used the OTA framework to compile... if that makes sense... lol
I am using ADW. LP is the only one I know that doesn't "stretch" wallpapers... but it does work with LP if you use LiveWallpapers.
Wait how do I use the status bar?
Sent from my DROIDX using Tapatalk
MonoDraken said:
Wait how do I use the status bar?
Sent from my DROIDX using Tapatalk
Click to expand...
Click to collapse
Put it in your /system/framework/ folder.
cd into the directory where you unzipped the .zip files.
Code:
adb remount
adb push framework-res.apk /system/framework
adb push services.jar /system/framework
adb reboot
Hi, i'm using the firmware 'Asia Retail' (MB865 - NOT AT&T)
Is there a way to change the lockscreen? I don't like the moto loockscreen, and, i don't wan't to install an app to do that, because, it drains the battery.
And i want to know if i can install de BB lockscreen or the AOSP lockscreen.
Btw: The firm is odex.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is the locker that i want
PS: If someone has that wallpaper, i'll be glad too
brianmoyano said:
Hi, i'm using the firmware 'Asia Retail' (MB865 - NOT AT&T)
Is there a way to change the lockscreen? I don't like the moto loockscreen, and, i don't wan't to install an app to do that, because, it drains the battery.
And i want to know if i can install de BB lockscreen or the AOSP lockscreen.
Btw: The firm is odex.
This is the locker that i want
PS: If someone has that wallpaper, i'll be glad too
Click to expand...
Click to collapse
It takes a lot of code edits. I kind of already answered this here: http://forum.xda-developers.com/showpost.php?p=33782818&postcount=80.
But, the AOSP one is built-in already, it's just that Moto has overlayed their lockscreen on top of it - you would need to edit the zz_moto_keyguard_unlock_widget.xml in framework-res.apk/res/layout.. Erase everything in that stock xml and replace with this to get the AOSP one to show up:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.internal.widget.multiwaveview.MultiWaveView android:orientation="horizontal" android:id="@id/unlock_widget" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true" android:targetDescriptions="@array/lockscreen_target_descriptions_with_camera" android:directionDescriptions="@array/lockscreen_direction_descriptions" android:targetDrawables="@array/lockscreen_targets_with_camera" android:handleDrawable="@drawable/ic_lockscreen_handle" android:rightChevronDrawable="@drawable/ic_lockscreen_chevron_right" android:waveDrawable="@drawable/ic_lockscreen_outerring" android:outerRadius="@dimen/multiwaveview_target_placement_radius" android:hitRadius="@dimen/multiwaveview_hit_radius" android:vibrationDuration="20" android:snapMargin="@dimen/multiwaveview_snap_margin" android:feedbackCount="3" android:verticalOffset="0.0dip" android:horizontalOffset="0.0dip"
xmlns:android="http://schemas.android.com/apk/res/android" />
Then, to add a couple more widgets on the aosp lock widget, you would need to edit the smali code android.policy.jar, add some images to the drawable-hdpi folder and update the arrays.xml and strings.xml in /res/values, recompile the framework-res.apk, then decompile the newly modded one to get your new resource ids from the public.xml and put those in the android.policy java code.. and to change the layout of the locksreen completely, you would need to edit the keyguard_screen_tab_unlock.xml in framework-res.apk/res/layout.
So, in short, no - there is no easy way.
The tutorial that you gave me, it's for at&t. And i haven't the att version.
I'll try the hard method. Thx.
Sent from my MB865 using xda app-developers app
brianmoyano said:
The tutorial that you gave me, it's for at&t. And i haven't the att version.
I'll try the hard method. Thx.
Sent from my MB865 using xda app-developers app
Click to expand...
Click to collapse
I know that you don't have AT&T, and I suggested to take the AT&T one as an example to compare with your non-att files. Take the deodexed zip from the Numa thread, get your files all deodexed, then compare them all.. it's a pain, but possible.
thanks
alteredlikeness said:
It takes a lot of code edits. I kind of already answered this here: http://forum.xda-developers.com/showpost.php?p=33782818&postcount=80.
But, the AOSP one is built-in already, it's just that Moto has overlayed their lockscreen on top of it - you would need to edit the zz_moto_keyguard_unlock_widget.xml in framework-res.apk/res/layout.. Erase everything in that stock xml and replace with this to get the AOSP one to show up:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.internal.widget.multiwaveview.MultiWaveView android:orientation="horizontal" android:id="@id/unlock_widget" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true" android:targetDescriptions="@array/lockscreen_target_descriptions_with_camera" android:directionDescriptions="@array/lockscreen_direction_descriptions" android:targetDrawables="@array/lockscreen_targets_with_camera" android:handleDrawable="@drawable/ic_lockscreen_handle" android:rightChevronDrawable="@drawable/ic_lockscreen_chevron_right" android:waveDrawable="@drawable/ic_lockscreen_outerring" android:outerRadius="@dimen/multiwaveview_target_placement_radius" android:hitRadius="@dimen/multiwaveview_hit_radius" android:vibrationDuration="20" android:snapMargin="@dimen/multiwaveview_snap_margin" android:feedbackCount="3" android:verticalOffset="0.0dip" android:horizontalOffset="0.0dip"
xmlns:android="http://schemas.android.com/apk/res/android" />
Then, to add a couple more widgets on the aosp lock widget, you would need to edit the smali code android.policy.jar, add some images to the drawable-hdpi folder and update the arrays.xml and strings.xml in /res/values, recompile the framework-res.apk, then decompile the newly modded one to get your new resource ids from the public.xml and put those in the android.policy java code.. and to change the layout of the locksreen completely, you would need to edit the keyguard_screen_tab_unlock.xml in framework-res.apk/res/layout.
So, in short, no - there is no easy way.
Click to expand...
Click to collapse
thaks guy you are really something else
Hye. Did u change stock lockscreen mb865 non att 4.0.4? Can you upload the framework-res.apk? I want aosp lockscreen.
Iam Your Lovely Sanjay Kumar now brought some mod for Froyo.
Basically it was for 2.3+ devices but I have pull a little back for 2.1(Eclairs)
Here is a easy guide my me,Ok Lets start now....
Required things list.
1.framework-res.apk (from /system/framework)
2.service.jar (from /system/framework)
3.Apktool or ApkMultitool or ApkManager (from Google Search)
4.Baksmali Tools,may be like MicrofireTools (again from google)
5.Yourself and Me
Procedure...
0.Take few ml of HCL+...........Ho Sorry I remembered my Chemistry Class..
1.Firstly Back up your Framework-res.apk and Service.jar
2.Decompile framework-res.apk (Dont know how then again Google it)
3.Now open the res/layout/status_bar.xml
4.Edit with notepad++
5.Add the line below
Code:
<com.android.systemui.statusbar.policy.Traffic android:textAppearance="@style/TextAppearance.StatusBar.Traffic" android:textColor="#ff40c6ff" android:gravity="left|center" android:id="@id/traffic" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
somewhere like this
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.server.status.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentRight="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
[COLOR="Red"] <com.android.systemui.statusbar.policy.Traffic android:textAppearance="@style/TextAppearance.StatusBar.Traffic" android:textColor="#ff40c6ff" android:gravity="left|center" android:id="@id/traffic" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />[/COLOR]
</LinearLayout>
You Can change the color of text as you need...
6.Now add the below one at last in ids at res/values/ids.xml
Code:
<item type="id" name="traffic">false</item>
7.Go to styles add this at last.
Code:
<style name="TextAppearance.StatusBar.Traffic" parent="@style/TextAppearance">
<item name="textSize">14.0dip</item>
<item name="textStyle">normal</item>
<item name="textColor">#ffffffff</item>
</style>
8.Compile the framework-res.apk..Keep it aside..
*******************************************************************************************************************************************************************
Lets Start thinking about service.jar
1.Decompile you service.jar(I think you know how:good
2.Open the service.jar folder now goto com/android and create the folder "systemui" inside "statusbar" inside "policy" and dump the attached .smali in tracker.zip to here..
So it must be in com/android/systemui/statusbar/policy/"here"
3.Compile the service.jar:good:
:good:Finished:good:
4.Copy to sdcard,then move service.jar first the change permissions to rw-r-r
5.Copy framework-res.apk to system folder and change permissions , then move to framework folder...Restart..
6.GoodLuck:good::good:
Credits
The Original thread from where i got the Tracker.zip and help was from here
So along with me Hit thanks for Dzol Cp
Click to expand...
Click to collapse
ScreenShots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks A lot.
I thought this couldn't not be done on froyo,But finally you have not let the the Froyo to die.
Achha kaam Sanjay.....:good:
But How to change the color of the text,my other texts are white in color and gave me cyan..
Help
Advance Thank you.:cyclops:
Sent from Xda Premium App..
To change the color to white.
Use as below code at "android:textColor="ffffffff" />
Did that work?:thumbup:
Worked amazingly....
---------- Post added at 08:54 PM ---------- Previous post was at 08:50 PM ----------
Where will u get this battery icons.and signal...:thumbup:
Battery icons from uot
uot.dakra.lt
If u need them I can upload..
Do u really need them?
OK then.:thumbup:
Keep up a nice job buddy
Thanks..:thumbup:
New rom for karbonn a1
Link below.
http://forum.xda-developers.com/showthread.php?t=2418397
Sent from my A1 using xda premium
Bump
....
I Tried This Method on Micromax a60 but it didn't worked getting boot loop when Adding framework.aPk please give me a fix
You might have made mistake somewhere,why do u srtugle when my rom is there to do it.
Go here http://forum.xda-developers.com/showthread.php?t=2418397 and download it and install it.....
Sent from my A1 using xda premium
Thanks For the Post
Anyway Now in Which project you are working
TheandroiDRaman said:
Thanks For the Post
Anyway Now in Which project you are working
Click to expand...
Click to collapse
Overscroll glow on froyo
Sent from my A1 using xda premium
Source Link
OK post me the link of source and I will help you!
I have tried with many things,but nothing was successfull.
Hence I will drop the project till my exam get over.
Also iam working on my friends xperia tipo.:beer:
Sent from my A1 using xda premium
Gonna Try
Gonna Try It I think It Willbe Done by tommrow anyway when its done i will
send you the link of it first
---------- Post added at 01:12 PM ---------- Previous post was at 12:15 PM ----------
Let's try other mods to port on froyo
Why 2.3 is not working in our devices I think its processer problem
---------- Post added at 01:18 PM ---------- Previous post was at 01:12 PM ----------
Can You Guide Me Through How To Create Custom Roms A1 and a60 both Please
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
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
san122 said:
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
Click to expand...
Click to collapse
Good Work Bro Helpful Post
Sent from my Micromax A110 using xda premium
Lal Ayer said:
Good Work Bro Helpful Post
Sent from my Micromax A110 using xda premium
Click to expand...
Click to collapse
Thnks
Sent from my GT-S5360 using Tapatalk 2
Great guide broo :good: