Like everybody knows SE made almost all system apps dependent from their framework: SemcGenericUxpRes that sucks since we cannot decompile and compile back this file..
I hate to be limited, so I decided to edit many apps and redirect resources back to framework-res.apk and it works for all apps I changed, but there is a question I cannot find app called data transfer from statusbar notifications.. Does anybody know the name of apk file??
I mean this app:
{
"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"
}
I have no idea what that app ..
But your some boy that looks cool
Sent from my MT15i using xda premium
ZduneX25 said:
Like everybody knows SE made almost all system apps dependent from their framework: SemcGenericUxpRes that sucks since we cannot decompile and compile back this file..
I hate to be limited, so I decided to edit many apps and redirect resources back to framework-res.apk and it works for all apps I changed, but there is a question I cannot find app called data transfer from statusbar notifications.. Does anybody know the name of apk file??
I mean this app:
Click to expand...
Click to collapse
Isn't this a stock feature of AOSP Android?
@kormatoes thanks
@sdk16420 I dunno I never used AOSP Gingerbread, this is the first time.. but if it does at least I should be able to find transfer notification icon in frameworks and it's not there (that is why i think there is other app for this)
EDIT: found it it's placed over SemcPhone
The next thing, dial pad I checked SemcPhone and Phonebooks apks and there is no dial pad digits.. confused, any ideas??
Am working on own ICS theme.
I'm searching too.
Enviado desde mi Neo en colorines
Found it:
Phonebook.apk > res > layout > dialpad.xml
it loads text values (not images for digits), so I made text transparent and used own icons for normal and pressed buttons
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.sonyericsson.android.socialphonebook.ButtonGridLayout android:id="@id/dialpad" android:layout_width="wrap_content" android:layout_height="wrap_content" android:directionality="none"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/one" android:background="@drawable/dial_num_1" android:focusable="true" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="@dimen/dialpad_button_height" android:soundEffectsEnabled="false" android:directionality="none">
<TextView android:textAppearance="@android:style/SEMCTextAppearance.ExtraLarge" android:textColor="#00000000" android:textSize="@dimen/dialpad_button_num_text_text_size" android:layout_gravity="top|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/dialpad_button_num_text_margin_top" android:text="@android:string/lockscreen_strings_dialpad_1_txt" />
<ImageView android:layout_gravity="bottom|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/dialpad_voicemail_margin_bottom" android:src="@drawable/dialpad_voicemail_icn" />
</FrameLayout>
<FrameLayout android:id="@id/two" android:background="@drawable/dial_num_2" android:focusable="true" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="@dimen/dialpad_button_height" android:soundEffectsEnabled="false" android:directionality="none">
<TextView android:textAppearance="@android:style/SEMCTextAppearance.ExtraLarge" android:textColor="#00000000" android:textSize="@dimen/dialpad_button_num_text_text_size" android:layout_gravity="top|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/dialpad_button_num_text_margin_top" android:text="@android:string/lockscreen_strings_dialpad_2_txt" />
<TextView android:textAppearance="@android:style/SEMCTextAppearance.Small.Secondary" android:textColor="#00000000" android:textSize="@dimen/dialpad_button_label_text_size" android:layout_gravity="bottom|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/dialpad_button_label_margin_bottom" android:text="@android:string/general_dialpad_label_2_txt" />
</FrameLayout>
<FrameLayout android:id="@id/three" android:background="@drawable/dial_num_3" android:focusable="true" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="@dimen/dialpad_button_height" android:soundEffectsEnabled="false" android:directionality="none">
<TextView android:textAppearance="@android:style/SEMCTextAppearance.ExtraLarge" android:textColor="#00000000" android:textSize="@dimen/dialpad_button_num_text_text_size" android:layout_gravity="top|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/dialpad_button_num_text_margin_top" android:text="@android:string/lockscreen_strings_dialpad_3_txt" />
<TextView android:textAppearance="@android:style/SEMCTextAppearance.Small.Secondary" android:textColor="#00000000" android:textSize="@dimen/dialpad_button_label_text_size" android:layout_gravity="bottom|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/dialpad_button_label_margin_bottom" android:text="@android:string/general_dialpad_label_3_txt" />
</FrameLayout>
<FrameLayout android:id="@id/four" android:background="@drawable/dial_num_4" android:focusable="true" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="@dimen/dialpad_button_height" android:soundEffectsEnabled="false" android:directionality="none">
<TextView android:textAppearance="@android:style/SEMCTextAppearance.ExtraLarge" android:textColor="#00000000" android:textSize="@dimen/dialpad_button_num_text_text_size" android:layout_gravity="top|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/dialpad_button_num_text_margin_top" android:text="@android:string/lockscreen_strings_dialpad_4_txt" />
<TextView android:textAppearance="@android:style/SEMCTextAppearance.Small.Secondary" android:textColor="#00000000" android:textSize="@dimen/dialpad_button_label_text_size" android:layout_gravity="bottom|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/dialpad_button_label_margin_bottom" android:text="@android:string/general_dialpad_label_4_txt" />
</FrameLayout>
<FrameLayout android:id="@id/five" android:background="@drawable/dial_num_5" android:focusable="true" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="@dimen/dialpad_button_height" android:soundEffectsEnabled="false" android:directionality="none">
<TextView android:textAppearance="@android:style/SEMCTextAppearance.ExtraLarge" android:textColor="#00000000" android:textSize="@dimen/dialpad_button_num_text_text_size" android:layout_gravity="top|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/dialpad_button_num_text_margin_top" android:text="@android:string/lockscreen_strings_dialpad_5_txt" />
<TextView android:textAppearance="@android:style/SEMCTextAppearance.Small.Secondary" android:textColor="#00000000" android:textSize="@dimen/dialpad_button_label_text_size" android:layout_gravity="bottom|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/dialpad_button_label_margin_bottom" android:text="@android:string/general_dialpad_label_5_txt" />
</FrameLayout>
<FrameLayout android:id="@id/six" android:background="@drawable/dial_num_6" android:focusable="true" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="@dimen/dialpad_button_height" android:soundEffectsEnabled="false" android:directionality="none">
<TextView android:textAppearance="@android:style/SEMCTextAppearance.ExtraLarge" android:textColor="#00000000" android:textSize="@dimen/dialpad_button_num_text_text_size" android:layout_gravity="top|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/dialpad_button_num_text_margin_top" android:text="@android:string/lockscreen_strings_dialpad_6_txt" />
<TextView android:textAppearance="@android:style/SEMCTextAppearance.Small.Secondary" android:textColor="#00000000" android:textSize="@dimen/dialpad_button_label_text_size" android:layout_gravity="bottom|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/dialpad_button_label_margin_bottom" android:text="@android:string/general_dialpad_label_6_txt" />
</FrameLayout>
<FrameLayout android:id="@id/seven" android:background="@drawable/dial_num_7" android:focusable="true" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="@dimen/dialpad_button_height" android:soundEffectsEnabled="false" android:directionality="none">
<TextView android:textAppearance="@android:style/SEMCTextAppearance.ExtraLarge" android:textColor="#00000000" android:textSize="@dimen/dialpad_button_num_text_text_size" android:layout_gravity="top|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/dialpad_button_num_text_margin_top" android:text="@android:string/lockscreen_strings_dialpad_7_txt" />
<TextView android:textAppearance="@android:style/SEMCTextAppearance.Small.Secondary" android:textColor="#00000000" android:textSize="@dimen/dialpad_button_label_text_size" android:layout_gravity="bottom|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/dialpad_button_label_margin_bottom" android:text="@android:string/general_dialpad_label_7_txt" />
</FrameLayout>
<FrameLayout android:id="@id/eight" android:background="@drawable/dial_num_8" android:focusable="true" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="@dimen/dialpad_button_height" android:soundEffectsEnabled="false" android:directionality="none">
<TextView android:textAppearance="@android:style/SEMCTextAppearance.ExtraLarge" android:textColor="#00000000" android:textSize="@dimen/dialpad_button_num_text_text_size" android:layout_gravity="top|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/dialpad_button_num_text_margin_top" android:text="@android:string/lockscreen_strings_dialpad_8_txt" />
<TextView android:textAppearance="@android:style/SEMCTextAppearance.Small.Secondary" android:textColor="#00000000" android:textSize="@dimen/dialpad_button_label_text_size" android:layout_gravity="bottom|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/dialpad_button_label_margin_bottom" android:text="@android:string/general_dialpad_label_8_txt" />
</FrameLayout>
<FrameLayout android:id="@id/nine" android:background="@drawable/dial_num_9" android:focusable="true" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="@dimen/dialpad_button_height" android:soundEffectsEnabled="false" android:directionality="none">
<TextView android:textAppearance="@android:style/SEMCTextAppearance.ExtraLarge" android:textColor="#00000000" android:textSize="@dimen/dialpad_button_num_text_text_size" android:layout_gravity="top|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/dialpad_button_num_text_margin_top" android:text="@android:string/lockscreen_strings_dialpad_9_txt" />
<TextView android:textAppearance="@android:style/SEMCTextAppearance.Small.Secondary" android:textColor="#00000000" android:textSize="@dimen/dialpad_button_label_text_size" android:layout_gravity="bottom|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/dialpad_button_label_margin_bottom" android:text="@android:string/general_dialpad_label_9_txt" />
</FrameLayout>
<FrameLayout android:id="@id/star" android:background="@drawable/dial_num_star" android:focusable="true" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="@dimen/dialpad_button_height" android:soundEffectsEnabled="false" android:directionality="none">
<TextView android:textAppearance="@android:style/SEMCTextAppearance.ExtraLarge" android:textColor="#00000000" android:textSize="@dimen/dialpad_star_button_num_text_text_size" android:layout_gravity="top|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/dialpad_star_button_num_text_margin_top" android:text="@android:string/general_dialpad_star_txt" />
</FrameLayout>
<FrameLayout android:id="@id/zero" android:background="@drawable/dial_num_0" android:focusable="true" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="@dimen/dialpad_button_height" android:soundEffectsEnabled="false" android:directionality="none">
<TextView android:textAppearance="@android:style/SEMCTextAppearance.ExtraLarge" android:textColor="#00000000" android:textSize="@dimen/dialpad_button_num_text_text_size" android:layout_gravity="top|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/dialpad_button_num_text_margin_top" android:text="@android:string/lockscreen_strings_dialpad_0_txt" />
<TextView android:textAppearance="@android:style/SEMCTextAppearance.Medium.Secondary" android:textColor="#00000000" android:layout_gravity="bottom|center" android:paddingLeft="@dimen/dialpad_button_zero_label_padding_left" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/dialpad_button_zero_label_margin_bottom" android:text="@android:string/general_dialpad_label_0_txt" />
</FrameLayout>
<FrameLayout android:id="@id/pound" android:background="@drawable/dial_num_pound" android:focusable="true" android:clickable="true" android:layout_width="@dimen/dialpad_button_width" android:layout_height="@dimen/dialpad_button_height" android:soundEffectsEnabled="false" android:directionality="none">
<TextView android:textAppearance="@android:style/SEMCTextAppearance.ExtraLarge" android:textColor="#00000000" android:textSize="@dimen/dialpad_button_num_text_text_size" android:layout_gravity="top|center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/dialpad_button_num_text_margin_top" android:text="@android:string/general_dialpad_hash_txt" />
</FrameLayout>
</com.sonyericsson.android.socialphonebook.ButtonGridLayout>
It's good to have you in Xperia neo. Can't wait to see what you put out
Sent from my MT15i using xda premium
Cannot find following things :/
EDIT: I found bottom tabs
ZduneX25 said:
Cannot find following things :/
EDIT: I found bottom tabs
Click to expand...
Click to collapse
Ar man you beat me to this looks cool
Sent from my MT15i using xda premium
@kormatoes take a look:
All i need is remove stripes from dialpad... grh..
There in framework I think or semc generic there just light lines on a blank PNG there canny hard to see on pc with my back ground being white also well done bro looks cool
Sent from my MT15i using xda premium
I redirected all resources from se generic frame to normal framework that is the point of my mods My modded apps do not load anything from se generic frame anymore
ZduneX25 said:
I redirected all resources from se generic frame to normal framework that is the point of my mods My modded apps do not load anything from se generic frame anymore
Click to expand...
Click to collapse
I know mate that's what is epic about this
Sent from my MT15i using xda premium
Wow, you should share your work mate. Its awesome.
Sent from my MT15i using XDA App
Nice work.!
Share this when you are done, will like to check on my neo v.
Guyzz I was wrong in the first place lol:
It's port of my CM7 ICS (lite) theme you willl be able to use.
ZduneX25 said:
Guyzz I was wrong in the first place lol:
It's port of my CM7 ICS (lite) theme you willl be able to use.
Click to expand...
Click to collapse
Kudos mate,all look really great.Hope you will release this soon
Email separated i also had to add custom title bar (w/o settings icon)
App that been separated (from SE Generic frame) so far:
Could you upload your modified phonebook.apk only, please?
Enviado desde mi Neo en colorines
Related
This is a TICKLEFISH TUTORIAL!
{
"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"
}
I was having a look through my SystemUI.apk the other day and spotted something odd. I have a Mini Pro which is a MDPI device..but I have a 'layout-sw600dp' folder as well as the ordinary 'layout' folder. And sw600dp is for tablets..
It's tricky for developers to make a completely new app for each and every device. It takes time and costs money. So sometimes bits of code and icons are left behind. And the great thing is we can use that code for ourselves.
So why have I made this thread? Well, buried in that folder is the code for the holo clock..
This is the standard clock:
(it's an old picture, don't hold it against me!)
This is the holo clock:
It can even be used in the expanded notifications screen:
(this is done with serajr's mod. You've already checked that out, haven't you?)
So how do we get this tablet clock onto our phones? Well, you need to have a layout-sw600dp folder in your SystemUI.apk and you need to have this code in status_bar_notification_area.xml:
<com.android.systemui.statusbar.tablet.HoloClock android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="3.0dip">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textSize="40.0sp" android:id="@id/time_solid" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" /></com.android.systemui.statusbar.tablet.HoloClock>
Click to expand...
Click to collapse
Now all you need to do is copy this code, paste it into a suitable file in your layout folder and adjust some of the parameters to fit. Obviously, this isn't for beginners, but you'd be surprised how close to a noob you can be and still do this stuff.
This is my modded status_bar.xml which got me the layout above:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView androidrientation="vertical" android:background="@drawable/status_bar_custom_background" android:focusable="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 androidrientation="horizontal" android:id="@id/icons" androidaddingLeft="6.0dip" androidaddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout androidrientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<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" androidrientation="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" androidrientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/stat_no_sim" androidaddingLeft="4.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<LinearLayout android:gravity="center" androidrientation="horizontal" android:id="@id/signal_battery_cluster" androidaddingLeft="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/signal_cluster_view" />
<ImageView android:id="@id/battery" androidaddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" /></LinearLayout>
<com.android.systemui.statusbar.tablet.HoloClock android:id="@+id/HOLOclock" android:layout_width="wrap_content" android:layout_height="fill_parent" >
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textSize="30.0sp" android:id="@id/time_solid" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center" android:singleLine="true" /></com.android.systemui.statusbar.tablet.HoloClock>
</LinearLayout>
<LinearLayout androidrientation="horizontal" android:id="@id/ticker" androidaddingLeft="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" androidaddingTop="2.0dip" androidaddingRight="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>
Click to expand...
Click to collapse
And this is for modding serajr's expanded screen:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center_vertical" androidrientation="horizontal" android:id="@id/header" android:background="@drawable/notification_header_bg" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height" android:baselineAligned="false"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<RelativeLayout android:id="@id/datetime" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height">
<View android:gravity="top|left|center" android:id="@id/systemui_preferences_menu_anchor" android:layout_width="1.0dip" android:layout_height="1.0dip" />
<com.android.systemui.statusbar.tablet.HoloClock android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent">
<TextView android:id="@id/time_solid" android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textSize="42.0sp" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_gravity="center" android:gravity="center" android:layout_marginLeft="2.0dip" android:layout_marginRight="2.0dip"/></com.android.systemui.statusbar.tablet.HoloClock>
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:gravity="left|center" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="2.0dip" android:layout_marginRight="2.0dip" android:maxLines="2" android:singleLine="false" android:layout_toRightOf="@id/clock" />
<ViewFlipper android:id="@id/header_flipper" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="2.0dip" android:layout_alignParentRight="true"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_width="wrap_content" android:layout_height="fill_parent">
<ImageView android:id="@id/flip_to_quickpanel_button" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="3.0dip" android:src="@drawable/ic_notify_quicksettings" android:layout_alignParentRight="true" android:contentDescription="@string/accessibility_desc_quick_settings" />
<ImageView android:id="@id/clear_all_button" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_clear" android:layout_toLeftOf="@id/flip_to_quickpanel_button" android:contentDescription="@string/accessibility_clear_all" /></RelativeLayout>
<RelativeLayout android:layout_width="wrap_content" android:layout_height="fill_parent">
<ImageView android:id="@id/flip_to_notifications_button" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="3.0dip" android:src="@drawable/ic_notifications" android:layout_alignParentRight="true" android:contentDescription="@string/accessibility_notifications_button" /></RelativeLayout></ViewFlipper></RelativeLayout></LinearLayout>
Click to expand...
Click to collapse
Now, at this point, you may be asking yourself quite why you should be worried about this. It's only another clock after all. Or you might have a rom that doesn't have the HoloClock in it so you may be asking what this has to do with you.
Well...this shows you that it's worth looking into your files just to see what's there. You never know, there might be something hidden away in there that you can take full advantage of!
So have a look around, open your xml files, do a little experimenting and see if you can make your phone look better with code you already had without you knowing..
Yeaah great tutorial
thanks
Keep modding brov....
i guess dis will work on my upcomming Xperia Sola
That´s it bro... and congrats about the thread! :good:
Try to "dex2jar" SystemUI classex.dex and take a look at their java sources, you´ll find more stuff yet that you can´t even imagine!!
serajr said:
That´s it bro... and congrats about the thread! :good:
Try to "dex2jar" SystemUI classex.dex and take a look at their java sources, you´ll find more stuff yet that you can´t even imagine!!
Click to expand...
Click to collapse
Doesn't dex2jar give incomplete code though?
{
"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"
}
UPDATE NEW SMALI FILES AND LINES ON 2ND POST *TEST AND WORK ON FROYO ROM, GB ROM & MTK DEVICE
I just wanna share how to add speed meter (0.00k/s) data on statusbar simple and fastway
1.Basic knowledge how to compile/decompile using Apktool/Apkmanager/
Tickle My Android(I try it and so easy) Credits to Ticklefish
2.Brain and brave :laugh:
MOD LIST
@[STRIKE]Dzol Cp[/STRIKE] @Ticklefish *IF HE'S NOT BUSY
- *please pm/ed your name to me if you interested being an X-Mod in this thread.
Method :
-Download smali.zip attachment and extract it
-Decompile your SystemUI.apk
-In your smali,,copy/paste extract file
systemUi/smali/here = smali/fx/heriawan
-Then go to res/layout/status_bar.xml and add this line (copy from here)
Code:
<fx.heriawan.Kecepatan android:textAppearance="@style/TextAppearance.StatusBar.Kecil" android:gravity="left|center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
-Example
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Kecil" android:gravity="center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<LinearLayout android:gravity="right|center" android:orientation="horizontal" android:layout_width="fill_parent" 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:layout_width="wrap_content" android:layout_height="fill_parent" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/stat_no_sim" android:paddingLeft="4.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
[COLOR="Red"]<fx.heriawan.Kecepatan android:textAppearance="@style/TextAppearance.StatusBar.Kecil" android:gravity="left|center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />[/COLOR]
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="1.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/signal_cluster_view" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
-Save and close file.
-Then open res/values/styles.xml
edit this at the end of line or you can copy/paste from here
Code:
<style name="TextAppearance.StatusBar.Kecil" parent="@style/TextAppearance.StatusBar.Clock">
<item name="android:textSize">14.0dip</item>
<item name="android:textColor">#ffffffff</item>
</style>
</resources>
-Save and close file.
-Recompile back your SystemUi.apk..
-And let me know the result :good:
Status_bar.xml for SCREENSHOT
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_bar_background" android:focusable="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:id="@id/icons" android:paddingLeft="3.0dip" android:paddingRight="3.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Kecil" android:layout_gravity="left|center" android:id="@id/battery_text" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_settings_settings_button" android:singleLine="true" style="@style/StatusBarNotificationText" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/battery" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" />
<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>
<DigitalClock android:textAppearance="@style/TextAppearance.StatusBar.Kecil" android:gravity="center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<LinearLayout android:gravity="right|center" android:orientation="horizontal" android:layout_width="fill_parent" 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:layout_width="wrap_content" android:layout_height="fill_parent" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/stat_no_sim" android:paddingLeft="4.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
[COLOR="Red"]<fx.heriawan.Kecepatan android:textAppearance="@style/TextAppearance.StatusBar.Kecil" android:gravity="left|center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />[/COLOR]
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="1.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/signal_cluster_view" />
</LinearLayout>
</LinearLayout>
</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="@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>
CREDITS TO : REPENCIS For his 0.00k/s smali files
CREDITS TO : ROMWIZ For his nice video tutorial
CREDITS TO : TICKLEFISH For his AWESOME Tools
CREDITS TO : SANJAY KUMAR For his FROYO tutorial
CREDITS TO : BLUE SHARKY For his fix SystemUI FC's tutorial
CREDITS TO : SIEUAN For MTK Devices mod
CREDITS TO : TABOO5200 For latest version - Modified smali's
Not modded for any user anymore *Can check with @Ticklefish Please include your device name and android version if you want Me to Re-Mod your SystemUI
*Try to upload here via XDA attachment uploader and not to link to any download server out of XDA unless there is no more option
New Smali files/lines
NEW SMALI FILES AND LINES
This new smali will show the KB/s meter only appear when you have data or wifi connection
NEW VERSION *MODIFIED SMALI'S - TEST ONLY ON GB
http://forum.xda-developers.com/showpost.php?p=48333101&postcount=793
FOR FROYO ROM
http://forum.xda-developers.com/showthread.php?t=2400335
FOR GB ROM
http://forum.xda-developers.com/showpost.php?p=44893138&postcount=191
FOR MTK DEVICE
http://forum.xda-developers.com/showpost.php?p=45963193&postcount=682
FIX FC FOR JB
http://forum.xda-developers.com/showpost.php?p=45710770&postcount=636
Copy this line to res/layout/status_bar.xml
Code:
<com.android.systemui.statusbar.policy.Traffic android:textAppearance="@style/TextAppearance.StatusBar.Traffic" android:gravity="left|center" android:id="@id/traffic" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
this line to add in res/values/ids.xml
Code:
<item type="id" name="traffic">false</item>
and this one as usual res/values/styles.xml
Code:
<style name="TextAppearance.StatusBar.Traffic" parent="@style/TextAppearance.StatusBar.Clock">
<item name="android:textSize">14.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:textAllCaps">false</item>
</style>
Status_bar.xml for SCREENSHOT
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_bar_custom_background" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<ViewFlipper android:id="@id/status_bar_flipper" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<RelativeLayout 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:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true">
<ImageView android:gravity="right|center" android:id="@id/battery" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Traffic" android:layout_gravity="left|center" android:id="@id/battery_text" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_settings_settings_button" android:singleLine="true" style="@style/StatusBarNotificationText" />
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<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" />
</LinearLayout>
</LinearLayout>
<DigitalClock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:id="@id/center_clock" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" android:layout_alignParentRight="true" />
<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentRight="true">
<LinearLayout android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/stat_no_sim" android:paddingLeft="4.0dip" android:visibility="gone" 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">
[COLOR="Blue"] <com.android.systemui.statusbar.policy.Traffic android:textAppearance="@style/TextAppearance.StatusBar.Traffic" android:gravity="right|center" android:id="@id/traffic" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" /> [/COLOR]
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
</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>
</RelativeLayout>
<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>
</LinearLayout>
<RelativeLayout android:layout_width="fill_parent" android:layout_height="@*android:dimen/status_bar_height" android:layout_alignParentLeft="true">
<DigitalClock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<LinearLayout android:gravity="right|center" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true">
<com.serajr.dataspeedmeter.DataSpeedMeter android:textAppearance="@style/TextAppearance.StatusBar.Traffic" android:gravity="center" android:id="@id/data_speed_meter" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<View android:layout_width="8.0dip" android:layout_height="fill_parent" />
<include android:id="@id/signal_cluster_2" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<View android:layout_width="4.0dip" android:layout_height="fill_parent" />
</LinearLayout>
</RelativeLayout>
</ViewFlipper>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
biopsin said:
New smali : Works even better, no more traffic spam in catlog..excellent work!
Click to expand...
Click to collapse
copy the smali files to this
smali/com/android/systemui/statusbar/policy/here[/SIZE]
*Please include your device name and android version if you want Me to Re-Mod your SystemUI
*Try to upload here via XDA attachment uploader and not to link to any download server out of XDA unless there is no more option
Ticklefish said:
Yup, that's pretty much it.
framework-res.apk is what I call a "resource apk". It contains information that is needed to be able to decompile certain system apk's.
To make matters more confusing, the creator of apktool (the tool used by most people to decompile apk files) calls these sort of files "framework apk's".
Hopefully you'll start experimenting with decompiling apk's yourself before too long and you'll understand what this is all about. I was a newbie when I registered here and none of this made any sense to me at all! But keep with it, and it will all become second nature to you.
Click to expand...
Click to collapse
Re: [MOD][TUT] How to add 0.00k/s meter on statusbar ICS/JB
Lol funny i was just going to start à thread asking how todo that thanks alot will try it soon!
Btw do you know how to add cpu usage on statusbar?
Envoyé depuis mon SK17i
better tutorial please not everyone is developer or programer :/
thank you
Thanks. That works.
View attachment 1837281
Anyone can add cwm zip add 0.00k/s meter on statusbar
Upload your SystemUI.apk here,,maybe i can help
dhana999 said:
Anyone can add cwm zip add 0.00k/s meter on statusbar
Click to expand...
Click to collapse
dzolcp said:
Upload your SystemUI.apk here,,maybe i can help
Click to expand...
Click to collapse
Here please..
dzolcp said:
Upload your SystemUI.apk here,,maybe i can help
Click to expand...
Click to collapse
This is my SystemUI plz help me bro
I only have status_bar.xml into layout folder and there is no such line as
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Kecil" android:gravity="center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<LinearLayout android:gravity="right|center" android:orientation="horizontal" android:layout_width="fill_parent" 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:layout_width="wrap_content" android:layout_height="fill_parent" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/stat_no_sim" android:paddingLeft="4.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="1.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/signal_cluster_view" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
Diaz1999 said:
Here please..
Click to expand...
Click to collapse
Im so sorry Master 3 types apktool and all k/s mod i try and all give me an error :blur:
my suggest to try from here :
http://forum.xda-developers.com/showthread.php?t=2129247
dhana999 said:
This is my SystemUI plz help me bro
Click to expand...
Click to collapse
Here you go Master
http://www.mediafire.com/?4p6rstamyk3pfns
jokamaciek said:
I only have status_bar.xml into layout folder and there is no such line as
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Kecil" android:gravity="center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<LinearLayout android:gravity="right|center" android:orientation="horizontal" android:layout_width="fill_parent" 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:layout_width="wrap_content" android:layout_height="fill_parent" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/stat_no_sim" android:paddingLeft="4.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="1.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/signal_cluster_view" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
Click to expand...
Click to collapse
Upload your SystemUI.apk here and i'l give a try
Here you go Master
http://www.mediafire.com/?4p6rstamyk3pfns
Thanks :good:
Would be better if would only appear when data/wifi is turned ON..
Thanks anyways..
Re: [MOD][TUT] How to add 0.00k/s meter on statusbar ICS/JB
Hello
Run on Xperia z
Tks
Xperia Tapatalked
Re: [MOD][TUT] How to add 0.00k/s meter on statusbar ICS/JB
You can share your systemui.apk? The one in the picture? This very good! Please
Google translator xD
Enviado Desde Mi Live with Walkman
Here you go Brov!! :good:
http://www.mediafire.com/?9678v0t28d8ec2s
Some more Mod by me
http://forum.xda-developers.com/showthread.php?t=2129247
joznathan said:
You can share your systemui.apk? The one in the picture? This very good! Please
Google translator xD
Enviado Desde Mi Live with Walkman
Click to expand...
Click to collapse
Sorry little bit out of topic..how to port from mdpi to hdpi ???
Re: [MOD][TUT] How to add 0.00k/s meter on statusbar ICS/JB
b1716tl said:
Sorry little bit out of topic..how to port from mdpi to hdpi ???
Click to expand...
Click to collapse
If you using mdpi app to hdpi phones, that's OK
And if you using hdpi app to mdpi phones, that might buggy like my Timescape
via XDA for Timescape™
Tried, failed
Compiles the application very well, but doesnot start the SystemUI after reboot..
Uploading my systemUI, please do the need full, or tell me where I am wrong...
Please..please....create a tutorial how to make 5 osb icon like this :fingers-crossed:
Two Ways To Add Custom Strings To Status Bar
Method 1 - How To Add Text To The Top Left Of Status Bar
{
"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"
}
Follow the guide by enricocid
http://forum.xda-developers.com/showthread.php?t=2440715
Method 2 - How To Add A Custom Image To The Top Left Of Status Bar
So people wanted to know how to add a custom image to the top left of their status bar - Well there is a really easy way to do it and it will look something like the screenshot
So here is how to do it
1. Create a png or mod a png you have found in an image editor and call it statusbarlogo.png - You want to create it so its size is 20 pixels in hight and width is up to you but the wider it is the more of the status bar it will take up (the total width of the status bar is I think 320 pixels)
2. Decompile SystemUI.apk with apktool (dont ask me how - if you need to know there is a link in my sig to guide)
3. open res/layout/Status_bar.xml with notpad++
4. Under the following line
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
place
Code:
<TextView android:background="@drawable/statusbarlogo" android:gravity="left|center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
5. Place statusbarlog.png that you have created in res/drawable-ldpi
6. Recompile
7. Delete the compiled apk
8. Unzip the original unmoddifed SystemUI.apk
9. Copy META-INF and AndroidManifest.xml and paste them to YourDecompiledFolder/build/apk
10. Recompile the folder again
11. Put in a Flashable Zip and Flash in CWM with System Mounted
For some reason mine is showing on the right next to wifi signal
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:id="@id/status_bar" android:background="@drawable/status_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<ImageView android:id="@id/notification_lights_out" 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" android:paddingStart="6.0dip" />
<LinearLayout android:orientation="horizontal" android:id="@id/status_bar_contents" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="6.0dip" android:paddingEnd="6.0dip">
<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">
<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_alignParentStart="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/system_icon_area" android:layout_width="wrap_content" 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" />
[COLOR="Red"]<TextView android:background="@drawable/batman_logo" android:gravity="left" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />[/COLOR]
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingStart="2.0dip">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<include android:id="@id/signal_cluster_text" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_text_view" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="left|center" android:id="@id/dock_battery_text" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="@dimen/status_bar_battery_cluster_padding" android:layout_marginEnd="@dimen/status_bar_battery_cluster_text_margin" />
<ImageView android:id="@id/dock_battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingStart="@dimen/status_bar_battery_cluster_padding" />
<com.android.systemui.statusbar.policy.CircleDockBattery android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="bottom" android:id="@id/circle_dock_battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:paddingStart="@dimen/status_bar_battery_cluster_padding" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="left|center" android:id="@id/battery_text" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="@dimen/status_bar_battery_cluster_padding" android:layout_marginEnd="@dimen/status_bar_battery_cluster_text_margin" />
<ImageView android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingStart="@dimen/status_bar_battery_cluster_padding" />
<com.android.systemui.statusbar.policy.CircleBattery android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="bottom" android:id="@id/circle_battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:paddingStart="@dimen/status_bar_battery_cluster_padding" />
</LinearLayout>
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" android:clickable="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="6.0dip" />
</LinearLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:paddingStart="6.0dip">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginEnd="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:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0" android:paddingEnd="10.0dip">
<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>
TopDroid said:
For some reason mine is showing on the right next to wifi signal
Click to expand...
Click to collapse
I don't recognise that status bar layout from a galaxy y rom
All I can suggest is move where you have placed the @drawable value to somewhere else as it's within the wrong linear layout
I have Galaxy SL. I figured it out and did it. Thanks anyways!
Sent from my GT-I9003 using Tapatalk
TNKS!!
Working.!
working perfectly
oh i forgot one question
how to make this text running from left to right... like marquee text
Will work on lollipop?
how do I turn on and off, the image displayed
Hello floks! Whats up?
You all Must be know about my Xperia-Z-ized ROM.
WHAT! You Don't Know? So Check it NOW
Well Here i am Gonna Share one of my work and a friendly guide for all the developers too.
But What is that work? The work is to merge WiFi Signal and Mobile DATA icon with Mobile Signal icon.
Didnt get it? See it yourself here!
{
"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"
}
GOT it Now?
Not yet? Dude, go 'N' Watch POGO! -_-
-:DOWNLOADS:-
1.Touch Wizard Theme
2.Xperia-Z-ized Theme
3.Elegant Theme
This Will Work on any ROM, Custom or Stock but only for TW, No for CM
If you like it, then Hit Thanks or Buy me a coffee.
If You are a developer and want to port this mod with your Existing Moded systemUI resources then Follow this Guide.
Requirements-1. Apktool(official or custom- - Use Google)
2. Notepad++(Use Google Again)
3.A Active Mind :laugh:
Steps to port!
1.First of all download my MOD from First post(for png resources)
2.Decompile your SystemUI.apk(I dont know how nor ask me -_- )
3.After Decompilation complete, Go to res/layouts/signal_cluster_view.xml. Here you will find these codes.
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
[COLOR="Blue"]<FrameLayout android:gravity="center" android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:layout_gravity="center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>[/COLOR]
[COLOR="Yellow"]<FrameLayout android:gravity="center" android:id="@id/ethernet_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/ethernet_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:layout_gravity="center" android:id="@id/ethernet_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>[/COLOR]
<View android:id="@id/spacer" android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/new_mobile_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
[COLOR="Red"]<FrameLayout android:id="@id/separate_mobile" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/separate_mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/separate_mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>[/COLOR]
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
[COLOR="Lime"]<FrameLayout android:gravity="center" android:id="@id/mobile_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>[/COLOR]
</FrameLayout>
</LinearLayout>
<ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.SignalClusterView>
<--Let me explain About these codes-->
Blue text is for Wi-Fi Signal icons
Yellow text indicate ethernet icon which our device doesn't support.
Red text is for Mobile DATA icon
Green text is for Mobile Signal icons
5.Now let me tell you, Samsung use same inout indicators for Wifi And Mobile Data so we have to mod them both.
6.Here is my moded codes. You will understand them, Just look into text colour's
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
[COLOR="Yellow"]<FrameLayout android:gravity="center" android:id="@id/ethernet_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/ethernet_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:layout_gravity="center" android:id="@id/ethernet_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>[/COLOR]
<View android:id="@id/spacer" android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/new_mobile_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
[COLOR="Lime"]<FrameLayout android:gravity="center" android:id="@id/mobile_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>[/COLOR]
</FrameLayout>
[COLOR="Red"]<FrameLayout android:id="@id/separate_mobile" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/separate_mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/separate_mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>[/COLOR]
[COLOR="Blue"]<FrameLayout android:gravity="center" android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:layout_gravity="center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>[/COLOR]
</LinearLayout>
<ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.SignalClusterView>
You must be understand according to color that how i move these icons!
If need any help you can ask me here.
7.Now put res/drawable-xhdpi folder from my downloaded resources to your decompiled SystemUI.apk, And compile it back.
8.Now Its done, Enjoy.
If you use this in your theme or mod or ROm, Then don't forgot to giva a little credit to me to respect my work.
Thanks,
Regards
-AmniX
Guide added to POST #3, Seems People were not intrested about this mod
AmniX said:
Guide added to POST #3, Seems People were not intrested about this mod
Click to expand...
Click to collapse
somehow i got that feeling too.. hahaha
its interesting mate, specially for learning-noob like me.. thanks for your sharing..
Regards..
Thanks AmniX...
Enviado desde mi GT-N7105 mediante Tapatalk
Will try this on Hurricane v11
Sent from my GT-N7100 using Tapatalk
nice bro
Nice!...can you make it for the new 4.4.2 leak based roms? Or maybe make a xposed module .
And I there any way to make stock tw notification bar like aosp? I mean, I just want the toggle drawer and in the notification side just nothing...only clock and no toggles...
Edit...I made it myself....thanks for the info.....
Nice!!.... but you can make "H" letter?
Gửi từ GT-N7100 của tôi bằng cách sử dụng Tapatalk
thanks for this maybe add a guide on how to move gsm signal and wifi signal to the left? it will be great tia
hoaxdream said:
thanks for this maybe add a guide on how to move gsm signal and wifi signal to the left? it will be great tia
Click to expand...
Click to collapse
I will add a guide on same soon whenever i will get time
AmniX said:
I will add a guide on same soon whenever i will get time
Click to expand...
Click to collapse
thanks mate, i'll wait for your guide
Error compiling -____-
AmniX said:
7.And compile it back.
Click to expand...
Click to collapse
Can someone please help me? I'm getting this error...
D:\Gadgets\Phone\Samsung Galaxy Note 2\Tools\APKTool\apktool1.5.2>apktool b stock SystemUI1.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
D:\Gadgets\Phone\Samsung Galaxy Note 2\Tools\APKTool\apktool1.5.2\stock\res\layout\system_bar_notification_panel_title.xml:14: error:Error:No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
and many more after.
Thank you.
Worked!
I finally had the time to look into it.
It already worked. Thank you for the wonderful guide op.
-Hurricane v12
Does anyone know how to get this working in 4.4? =)
Sent from my GT-N7100 using XDA Premium 4 mobile app
:good:
@AmniX try it on kitkat but wifi signal small
Thanks
Thanx
I'm a total noob in these things so ive tried to move my signal bar and wifi icon to the left side of my status bar by adding this code to my zzz_status_bar_gemini.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/status_bar_background" android:focusable="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: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/statusbarleftside" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<LinearLayout android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
[COLOR="Red"]<include android:gravity="left" android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/zzz_signal_cluster_view_gemini" />[/COLOR]
<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>
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<RelativeLayout android:id="@id/statusbarrightside" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0">
<LinearLayout android:orientation="horizontal" android:id="@id/statusbarinsiderightside" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true">
<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">
<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>
</LinearLayout>
</RelativeLayout>
</LinearLayout>
<include android:id="@id/sim_indicator" android:layout_width="wrap_content" android:layout_height="25.0dip" layout="@layout/zzz_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>
it worked perfectly except that its not alligned properly together with the wifi icon, the left side has plenty of space and its mounted at the very top of the status bar
{
"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"
}
can anybody help me with this i cant find any solution , im using an ICS mtk dual sim device
here is also my zzz_signal_cluster_view_gemini.xml just in case
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterViewGemini android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="-6.0dip">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="center" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<View android:id="@id/spacer" android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:id="@id/mobile_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
<View android:id="@id/spacer_gemini" android:visibility="gone" android:layout_width="1.0dip" android:layout_height="1.0dip" />
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:id="@id/mobile_combo_gemini" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_signal_gemini" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_type_gemini" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|right|center" android:id="@id/mobile_inout_gemini" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
</com.android.systemui.statusbar.SignalClusterViewGemini>
thanks in advance for those who will offer help.
Anyone? [emoji22]
still cant find any solution ;(