Well like the title says....this is a theme/mod for CyanogenMod 7.1.0-11 Stable
I finaly (took me a lot of time ) can make the clock to the center of the status bar and switch the icons to the left and the notification to the right (not realy)...
But......I cant make the right icons (notification icons now) go all the way to the right.
I NEED SOME HELP FOR THESE PLEASE!!
What I did was:
Edit the status_bar.xml from the SystemUI.apk
Like this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.CmStatusBarView android:background="@drawable/statusbar_background" android:focusable="true" android:descendantFocusability="afterDescendants" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="0.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
<com.android.systemui.statusbar.CmSignalText android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.CmBatteryText android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.CmBatteryMiniIcon android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/CmBatteryMiniIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<com.android.systemui.statusbar.IconMerger android:gravity="right" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingRight="1.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentRight="true" />
<LinearLayout android:orientation="horizontal" android:id="@id/buttons" android:layout_width="wrap_content" android:layout_height="fill_parent">
<ImageButton android:id="@id/status_edge_left" android:background="@drawable/ic_statusbar_edge_right_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_home" android:background="@drawable/ic_statusbar_home_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep1" android:background="@drawable/ic_statusbar_sep_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_menu" android:background="@drawable/ic_statusbar_menu_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep2" android:background="@drawable/ic_statusbar_sep_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_back" android:background="@drawable/ic_statusbar_back_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep3" android:background="@drawable/ic_statusbar_sep_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_search" android:background="@drawable/ic_statusbar_search_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep4" android:background="@drawable/ic_statusbar_sep_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_quick_na" android:background="@drawable/ic_statusbar_na_up_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_sep5" android:background="@drawable/ic_statusbar_sep_bottom" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_hide" android:background="@drawable/ic_statusbar_hide_bottom" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageButton android:id="@id/status_edge_right" android:background="@drawable/ic_statusbar_edge_left_bottom" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:background="@drawable/statusbar_background" 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="0.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.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="@android:style/Theme.Holo.Light.Dialog.NoActionBar.MinWidth" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@android:style/Theme.Holo.Light.Dialog.NoActionBar.MinWidth" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center" android:id="@id/date" android:background="@drawable/shade_bg" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.CmStatusBarView>
And edit the arrays.xml from framework-res.apk
Like this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<string-array name="emailAddressTypes">
<item>Home</item>
<item>Work</item>
<item>Other</item>
<item>Custom</item>
</string-array>
<string-array name="imProtocols">
<item>AIM</item>
<item>Windows Live</item>
<item>Yahoo</item>
<item>Skype</item>
<item>QQ</item>
<item>Google Talk</item>
<item>ICQ</item>
<item>Jabber</item>
</string-array>
<string-array name="organizationTypes">
<item>Work</item>
<item>Other</item>
<item>Custom</item>
</string-array>
<string-array name="phoneTypes">
<item>Home</item>
<item>Mobile</item>
<item>Work</item>
<item>Work Fax</item>
<item>Home Fax</item>
<item>Pager</item>
<item>Other</item>
<item>Custom</item>
</string-array>
<string-array name="postalAddressTypes">
<item>Home</item>
<item>Work</item>
<item>Other</item>
<item>Custom</item>
</string-array>
<array name="preloaded_drawables">
<item>@drawable/sym_def_app_icon</item>
<item>@drawable/arrow_down_float</item>
<item>@drawable/btn_check</item>
<item>@drawable/btn_check_label_background</item>
<item>@drawable/btn_check_off</item>
<item>@drawable/btn_check_on</item>
<item>@drawable/btn_default</item>
<item>@drawable/btn_default_small</item>
<item>@drawable/btn_dropdown</item>
<item>@drawable/btn_plus</item>
<item>@drawable/btn_minus</item>
<item>@drawable/btn_radio</item>
<item>@drawable/btn_star</item>
<item>@drawable/btn_toggle</item>
<item>@drawable/ic_emergency</item>
<item>@drawable/divider_horizontal_bright</item>
<item>@drawable/divider_horizontal_dark</item>
<item>@drawable/edit_text</item>
<item>@drawable/expander_group</item>
<item>@drawable/list_selector_background</item>
<item>@drawable/menu_background</item>
<item>@drawable/menu_background_fill_parent_width</item>
<item>@drawable/menu_selector</item>
<item>@drawable/panel_background</item>
<item>@drawable/popup_bottom_bright</item>
<item>@drawable/popup_bottom_dark</item>
<item>@drawable/popup_bottom_medium</item>
<item>@drawable/popup_center_bright</item>
<item>@drawable/popup_center_dark</item>
<item>@drawable/popup_full_dark</item>
<item>@drawable/popup_top_bright</item>
<item>@drawable/popup_top_dark</item>
<item>@drawable/progress_horizontal</item>
<item>@drawable/progress_indeterminate_horizontal</item>
<item>@drawable/progress_small</item>
<item>@drawable/progress_small_titlebar</item>
<item>@drawable/screen_background_dark</item>
<item>@drawable/screen_background_light</item>
<item>@drawable/scrollbar_handle_horizontal</item>
<item>@drawable/scrollbar_handle_vertical</item>
<item>@drawable/spinner_dropdown_background</item>
<item>@drawable/text_select_handle_left</item>
<item>@drawable/text_select_handle_middle</item>
<item>@drawable/text_select_handle_right</item>
<item>@drawable/title_bar</item>
<item>@drawable/title_bar_shadow</item>
<item>@drawable/indicator_code_lock_drag_direction_green_up</item>
<item>@drawable/indicator_code_lock_drag_direction_red_up</item>
<item>@drawable/indicator_code_lock_point_area_default</item>
<item>@drawable/indicator_code_lock_point_area_green</item>
<item>@drawable/indicator_code_lock_point_area_red</item>
<item>@drawable/overscroll_glow</item>
<item>@drawable/overscroll_edge</item>
</array>
<array name="preloaded_color_state_lists">
<item>@color/hint_foreground_dark</item>
<item>@color/hint_foreground_light</item>
<item>@color/primary_text_dark</item>
<item>@color/primary_text_dark_disable_only</item>
<item>@color/primary_text_light</item>
<item>@color/primary_text_light_disable_only</item>
<item>@color/primary_text_light_nodisable</item>
<item>@color/secondary_text_dark</item>
<item>@color/secondary_text_light</item>
<item>@color/tab_indicator_text</item>
<item>@color/tertiary_text_dark</item>
<item>@color/tertiary_text_light</item>
<item>#ff000000</item>
<item>#00000000</item>
<item>#ffffffff</item>
</array>
<integer-array name="maps_starting_lat_lng">
<item>36149777</item>
<item>-95993398</item>
</integer-array>
<integer-array name="maps_starting_zoom">
<item>3</item>
</integer-array>
<array name="shutdown_reboot_options">
<item>@string/reboot_reboot</item>
<item>@string/reboot_recovery</item>
<item>@string/reboot_bootmenu</item>
</array>
<string-array name="shutdown_reboot_actions">
<item></item>
<item>recovery</item>
<item>bootloader</item>
</string-array>
<string-array name="notification_led_random_color_set">
<item>green</item>
<item>white</item>
<item>red</item>
<item>blue</item>
<item>yellow</item>
<item>cyan</item>
<item>\#800080</item>
<item>\#ffc0cb</item>
<item>\#ffa500</item>
<item>\#add8e6</item>
</string-array>
<string-array name="config_statusBarIcons">
<item>phone_evdo_signal</item>
<item>phone_signal</item>
<item>battery</item>
<item>alarm_clock</item>
<item>clock</item>
<item>secure</item>
<item>ime</item>
<item>sync_failing</item>
<item>sync_active</item>
<item>gps</item>
<item>bluetooth</item>
<item>nfc</item>
<item>tty</item>
<item>speakerphone</item>
<item>mute</item>
<item>volume</item>
<item>headset</item>
<item>wifi</item>
<item>wimax</item>
<item>cdma_eri</item>
<item>data_connection</item>
</string-array>
<string-array name="networkAttributes">
<item>wifi,1,1,1</item>
<item>mobile,0,0,0</item>
<item>mobile_mms,2,0,2</item>
<item>mobile_supl,3,0,2</item>
<item>mobile_dun,4,0,2</item>
<item>mobile_hipri,5,0,3</item>
</string-array>
<string-array name="radioAttributes">
<item>1,1</item>
<item>0,1</item>
</string-array>
<string-array name="config_tether_usb_regexs">
<item>usb1</item>
</string-array>
<string-array name="config_tether_wifi_regexs">
<item>tiap\\d</item>
</string-array>
<array name="config_tether_dhcp_range"></array>
<string-array name="config_tether_upstream_regexs">
<item>rmnet\\d</item>
<item>tiwlan\\d</item>
</string-array>
<integer-array name="config_longPressVibePattern">
<item>0</item>
<item>25</item>
</integer-array>
<integer-array name="config_virtualKeyVibePattern">
<item>0</item>
<item>1</item>
<item>20</item>
<item>21</item>
</integer-array>
<integer-array name="config_keyboardTapVibePattern">
<item>0</item>
<item>25</item>
</integer-array>
<integer-array name="config_safeModeDisabledVibePattern">
<item>0</item>
<item>40</item>
</integer-array>
<integer-array name="config_safeModeEnabledVibePattern">
<item>0</item>
<item>40</item>
<item>500</item>
<item>600</item>
</integer-array>
<integer-array name="config_scrollBarrierVibePattern">
<item>0</item>
<item>30</item>
<item>60</item>
<item>30</item>
</integer-array>
<integer-array name="config_virtualKeyUpPattern">
<item>5</item>
<item>18</item>
</integer-array>
<integer-array name="config_autoBrightnessLevels">
<item>15</item>
<item>100</item>
<item>3000</item>
<item>8000</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>24</item>
<item>48</item>
<item>128</item>
<item>226</item>
<item>246</item>
</integer-array>
<integer-array name="config_autoBrightnessButtonBacklightValues">
<item>32</item>
<item>192</item>
<item>0</item>
<item>0</item>
<item>0</item>
</integer-array>
<integer-array name="config_autoBrightnessKeyboardBacklightValues">
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
<item>0</item>
</integer-array>
<array name="config_twoDigitNumberPattern"></array>
<string-array name="config_vendorServices">
<item>/system/framework/com.motorola.android.location.jar:com.android.server.LocationProxyService</item>
</string-array>
<array name="config_sms_enabled_single_shift_tables"></array>
<array name="config_sms_enabled_locking_shift_tables"></array>
<array name="common_nicknames"></array>
<string-array name="imAddressTypes">
<item>Home</item>
<item>Work</item>
<item>Other</item>
<item>Custom</item>
</string-array>
<array name="carrier_properties"></array>
</resources>
Edit the battery icons.
And the final result is:
{
"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"
}
So here its the theme:
theme/mod
Please if someone can help me to move the notification icons all the way to the right I will be happy!
Yo!
Unfortunately, I can not give you an answer on this.
But I would maybe try to use Z25's CM7 Theme patcher to make a center clock patch and use its resulting SystemUI.apk to compare with your theme's xml files entries...
Just from your pic..., maybe you should replace the alarm clock icon with this one...[pic attached]
Cheers.
[] AL [] said:
Yo!
Unfortunately, I can not give you an answer on this.
But I would maybe try to use Z25's CM7 Theme patcher to make a center clock patch and use its resulting SystemUI.apk to compare with your theme's xml files entries...
Just from your pic..., maybe you should replace the alarm clock icon with this one...[pic attached]
Cheers.
Click to expand...
Click to collapse
Thxs AL, but the patcher you want to use don't switch the icons...I think...
And about the alarm icon...I'm trying to do my own icons...but first I want to fix this...
under water
Cocolopes said:
Thxs AL, but the patcher you want to use don't switch the icons...I think...
And about the alarm icon...I'm trying to do my own icons...but first I want to fix this...
under water
Click to expand...
Click to collapse
OK well np; I've tried...
I thought that the patcher moving the clock in the middle would automatically move the stat icon to the sides...but hey!
Yeah, I could also make my own theme icons from scratch; I've already change some 125 of them from GingerBlur including the keyboard.
In fact, you wouldn't know where the keyboard keys text colour line lies in the xml files by any chance? I have to keep the keys light for the black text and I'm not quite satisfied with the look yet...(first shot at this for me) [pic]
Cheers again.
[] AL [] said:
OK well np; I've tried...
I thought that the patcher moving the clock in the middle would automatically move the stat icon to the sides...but hey!
Yeah, I could also make my own theme icons from scratch; I've already change some 125 of them from GingerBlur including the keyboard.
In fact, you wouldn't know where the keyboard keys text colour line lies in the xml files by any chance? I have to keep the keys light for the black text and I'm not quite satisfied with the look yet...(first shot at this for me) [pic]
Cheers again.
Click to expand...
Click to collapse
No...I try this ones...but nothing...I don't have time at the moment...but when I finish my studies I will search for you in the xmls...
And of course I will try to fix my status bar...
I let you know what I found...
under water
wow.. This theme is very nice, greak work!
dangoakachan said:
wow.. This theme is very nice, greak work!
Click to expand...
Click to collapse
Yeah! Thanks...but I can't fix the notifications side of the bar...
under water
Just give it time. Take your time
Related
this is me first posting in xda...
The first opportunity .. I try to share a little trick to modify SystemUI.apk (ICS)
Requirement:
-understand how to decompile and compile using apktool or something
how to MOD????
read carefully the text below
previously downloaded this as a complement:
https://www.dropbox.com/s/xlv0r4cmg6fe2ko/SmaliTB_2.zip
https://www.dropbox.com/s/s2teuqzpz2qtbrl/carrier_logo.png
I use apktool
pull systemUI.apk in the folder system / app and framework-res.apk and SemcGenericUxpRes.apk in system / framework
to u folder apktool
open apktool..
instal framework-res.apk and SemcGenericUxpRes.apk
Code:
apktool if framework-res.apk (enter) and apktool if SemcGenericUXPRes.apk (enter)
again... decompile SystemUI.apk
Code:
apktool d SystemUI.apk
open folder SystemUI/res/layout/Status_bar.xml
Compare this... code to u xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView android:orientation="vertical" android:background="@drawable/statusbar_costum_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageView android:gravity="left|center" android:id="@id/carrier_logo_id" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/carrier_logo" android:scaleType="fitCenter" android:adjustViewBounds="true" />
<LinearLayout android:orientation="vertical" android:paddingLeft="6.0dip" android:paddingRight="0.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:gravity="right" android:paddingRight="3.0dip" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_weight="1.0">
<com.android.systemui.statusbar.phone.IconPartitioner 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="wrap_content" 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="wrap_content" android:layout_height="fill_parent" />
</com.android.systemui.statusbar.phone.IconPartitioner>
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:textSize="16.0dip" android:gravity="left|center" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:paddingRight="3.0dip" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_weight="1.0">
<LinearLayout android:gravity="right" android:layout_width="fill_parent" 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" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/stat_no_sim" android:background="@drawable/stat_sys_no_sim" android:paddingLeft="2.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<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:layout_marginRight="2.0dip" android:singleLine="true" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="0.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" />
<TextView android:layout_gravity="left|center" android:id="@id/name_carrier_id" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/carrier_name_abal" android:singleLine="true" style="@style/StatusBarNotificationText" />
<TextView android:layout_gravity="left|center" android:id="@id/battery_text" android:visibility="gone" android:paddingLeft="2.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:id="@id/battery" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
</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>
next..
open folder SystemUI\smali\com\android\systemui\statusbar\policy
copy and paste
Traffic$1.smali
Traffic$2.smali
Traffic$3.smali
Traffic$SettingsObserver.smali
Traffic.smali
next...
open open ids.xml in folder SystemUI/res/value/ids.xml
add this code
Code:
<item type="id" name="traffic">false</item>
<item type="id" name="carrier_logo_id">false</item>
<item type="id" name="name_carrier_id">false</item>
The above </resources>
like this
Code:
<item type="id" name="traffic">false</item>
<item type="id" name="carrier_logo_id">false</item>
<item type="id" name="name_carrier_id">false</item>
</resources>
next...
open strings.xml in folder SystemUI/res/value/strings.xml
add this code
Code:
<string name="carrier_name_abal">Paboya</string>
text Paboya you can replace up to you
The above </resources>
like this
Code:
<string name="carrier_name_abal">Paboya</string>
</resources>
again...
open styles.xml in folder SystemUI/res/value/styles.xml
add this code
Code:
<style name="TextAppearance.StatusBar.Traffic" parent="@*android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">14.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
</style>
The above </resources>
like this
Code:
<style name="TextAppearance.StatusBar.Traffic" parent="@*android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">14.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
</style>
</resources>
next..
open folder SystemUI\res\drawable-hdpi add carrier_logo.png
finish.......
and recompile...
Code:
apktool b SystemUI
next step...
decompile framework-res.apk and open dimens.xml
find this code:
Code:
<dimen name="status_bar_height">25.0dip</dimen>
change dpi to...:
Code:
<dimen name="status_bar_height">40.0dip</dimen>
next find again this code:
Code:
<dimen name="status_bar_icon_size">25.0dip</dimen>
change dpi to...:
Code:
<dimen name="status_bar_icon_size">30.0dip</dimen>
can you adjust the dip changes
finish.........
recomnpile again...
Code:
apktool b framework-res
done..........
push SystemUI.apk and framework-res.apk
SystemUI.apk to system/app
framework-res.apk to system/framework.
reboot.....
download For ICS:
for who want to try here I am using stock ics 54 if you want to try on the next or previous version ....
I am not responsible if there bootlop
but the possibility systemUI.apk can be used in all the rom.
tested b.10/54/89
https://www.dropbox.com/s/p5ej8hoxz7dw438/flymelikeUI.zip
flash on cwm...
flymelikeUI.zip
wipe cache n dalvic if any problem
download For FXP:
https://www.dropbox.com/s/w8n2lhg51gz76qe/FXPflymelikeUI.zip
flash on cwm...
FXPflymelikeUI.zip
wipe cache n dalvic if any problem
Dowload for JB:
Soon
ss ICS:
{
"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"
}
ss FXP:
may be useful if there is a mistake you can tell me :highfive:
And the result ? Any screenshots ?
dude thats too much....find a way to create a flashable zip...take help from other members..
Sory
sorry was trying to make a thread ... I am a junior member
yes
niku4uster said:
dude thats too much....find a way to create a flashable zip...take help from other members..
Click to expand...
Click to collapse
wait dude
pretty cool thanks
tut can get a little polished though.. no offence
Me said:
pretty cool thanks
tut can get a little polished though.. no offence
Click to expand...
Click to collapse
sorry in advance there is little error
for guidance
More screenshoot
....
Ruliindrapraja said:
More screenshot
♪thx dude
Click to expand...
Click to collapse
:good: AWEWE SOME..LOL
Is there a way to make this work on jb would be amazing if it did
Sent from my LT22i using xda premium
Please port it to cm9 systemui!!
Enviado desde mi Xperia U usando Tapatalk 2
Please hepl me! Make a carrier_logo for xperia sola!
Thank U very much!
aybykut3 said:
Please hepl me! Make a carrier_logo for xperia sola!
Thank U very much!
Click to expand...
Click to collapse
Here you go, made it fast
Edit: Hmm I can't post a link because I don't have 10 posts...
I will send it in PM
Thanks!Very good!5+!!!!!
Android 4.0.4,stok,1.10
Sent from my ST25i using xda premium
Sent from my ST25i using xda premium
CONdemmedNORmal said:
Is there a way to make this work on jb would be amazing if it did
Sent from my LT22i using xda premium
Click to expand...
Click to collapse
Either way ... maybe you can be patient I will make in JB
zie.do2y said:
Either way ... maybe you can be patient I will make in JB
Click to expand...
Click to collapse
Well I was being patient I wasn't exactly going on saying why isn't this for jb or any crap like that I was simply asking if it would be available
Sent from my LT22i using xda premium
aybykut3 said:
Please hepl me! Make a carrier_logo for xperia sola!
Thank U very much!
Click to expand...
Click to collapse
copy thi code:
<ImageView android:gravity="left|center" android:id="@id/carrier_logo_id" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/carrier_logo" android:scaleType="fitCenter" android:adjustViewBounds="true" />
to StatuSbar.xml place it as you wish ...
Enter carrier_logo.png to drawable-hdpi folder
open idS.xml add this code:
<item type="id" name="carrier_logo_id"> false </ item>
recompile ... done
CONdemmedNORmal said:
Well I was being patient I wasn't exactly going on saying why isn't this for jb or any crap like that I was simply asking if it would be available
Sent from my LT22i using xda premium
Click to expand...
Click to collapse
I have not tried to apply it to jb but One friend I have tried and succeeded ... I am still waiting for JB really fix
Hi Guys, I saw that evanlocked have not yet updated his guide
FlyMeOS StatusBar Mod as he is busy with his life. So I have made a guide on it.
Preview:
{
"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"
}
Requirements:
ApkTool
NotePad++
SystemUI.apk
framework-res.apk
SystemUI.zip
So let's start..
1. Decompile SystemUI.apk using ApkTool
2. Extract SystemUI.zip and copy the smali files in their respective folders
3. Navigate to SystemUI\res\layout and open status_bar.xml
with NotePad++
4. Compare your status_bar.xml with this
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#00000000" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="2.0dip" android:paddingRight="2.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<RelativeLayout android:orientation="horizontal" android:id="@id/clock_panel" android:layout_width="wrap_content" android:layout_height="wrap_content">
<com.b16h22.statusbar.ClockHolo android:textSize="10.0sp" android:layout_gravity="center_vertical" android:id="@id/clock" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
<com.b16h22.statusbar.Day android:textSize="0.0px" android:gravity="center_vertical" android:id="@id/dayView" android:layout_width="0.0px" android:layout_height="0.0px" android:layout_marginLeft="0.0dip" android:layout_marginTop="0.0dip" android:layout_toRightOf="@id/clock" />
<com.b16h22.statusbar.Date android:textSize="1.0sp" android:gravity="center_vertical" android:id="@id/dateView" android:paddingTop="16.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="5.0dip" android:layout_toRightOf="@id/clock" />
<LinearLayout android:orientation="vertical" android:paddingLeft="6.0dip" android:paddingRight="0.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:gravity="right" android:paddingLeft="2.0dip" android:paddingRight="2.0dip" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_weight="1.0">
<com.android.systemui.statusbar.IconMerger android:gravity="right" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:paddingRight="2.0dip" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_weight="1.0">
<LinearLayout android:gravity="right" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</RelativeLayout>
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:background="#ff000000" 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.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="7.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@*android:style/Animation.LockScreen" android:textColor="#ffffffff" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@*android:style/Animation.LockScreen" android:textColor="#ffffffff" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:textColor="#00000000" android:gravity="left|center" android:id="@id/date" android:background="#ff000000" android:paddingLeft="0.0px" android:paddingRight="0.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>
5. Open SystemUI\res\values\ids.xml and add these ids
Code:
<item type="id" name="clock">false</item>
<item type="id" name="dayView">false</item>
<item type="id" name="dateView">false</item>
<item type="id" name="clock_panel">false</item>
6. Recompile SystemUI and again Decompile it.
7. Open SystemUI\res\values\public.xml
8. Note public ids of these
Code:
<public type="id" name="dayView"
<public type="id" name="dateView"
9. Open SystemUI\smali\com\b16h22\statusbar\Day.smali
Find this code
Code:
const v7, [color="red"]0x7f09002b[/color]
Replace the highlighted text with public id of dayView
10. Open SystemUI\smali\com\b16h22\statusbar\Date.smali
Find these codes
Code:
const v4, [color="red"]0x7f09002c[/color]
Code:
const v7, [color="red"]0x7f09002c[/color]
Replace the highlighted text with public id of dateView
11. Recompile SystemUI.apk
12. Decompile framework-res.apk
13. Open framework-res\res\values\dimens.xml
14. Find this code
Code:
<dimen name="status_bar_height">25.0dip</dimen>
Change it to
Code:
<dimen name="status_bar_height">40.0dip</dimen>
15. Now find this code
Code:
<dimen name="status_bar_icon_size">25.0dip</dimen>
Change it to
Code:
<dimen name="status_bar_icon_size">20.0dip</dimen>
16. Recompile framework-res.apk
17. Push SystemUI.apk to system\app and
framework-res.apk to system\framework and
set proper permissions (rw-r--r--)
Change StatusBar Color
To change statusbar color
Decompile SystemUI
open res/layout/statusbar.xml
find this line
Code:
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="[COLOR="Red"]#00000000[/COLOR]"
change the highlighted hex code with your color hex code
Recompile SystemUI
push it to system/app
set proper permissions(rw-r--r--)
Add Day over Date
Preview:
To add day over the date
Decompile SystemUI
open res/layout/statusbar.xml
find this line
Code:
<com.b16h22.statusbar.Day android:textSize="0.0px" android:gravity="center_vertical" android:id="@id/dayView" android:layout_width="0.0px" android:layout_height="0.0px" android:layout_marginLeft="0.0dip" android:layout_marginTop="0.0dip" android:layout_toRightOf="@id/clock" />
change it to
Code:
<com.b16h22.statusbar.Day android:textSize="1.0sp" android:gravity="center_vertical" android:id="@id/dayView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_toRightOf="@id/clock" />
then find this line
Code:
<com.b16h22.statusbar.Date android:textSize="1.0sp" android:gravity="center_vertical" android:id="@id/dateView" android:paddingTop="16.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="5.0dip" android:layout_toRightOf="@id/clock" />
change it to
Code:
<com.b16h22.statusbar.Date android:textSize="1.0sp" android:gravity="center_vertical" android:id="@id/dateView" android:paddingTop="16.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_toRightOf="@id/clock" android:layout_alignParentBottom="true" />
Recompile SystemUI
Push it to system\app
set proper permissions(rw-r--r--)
Remove Date
Preview:
To remove date
Decompile SystemUI
open res/layout/statusbar.xml
find this line
Code:
<com.b16h22.statusbar.Date android:textSize="1.0sp" android:gravity="center_vertical" android:id="@id/dateView" android:paddingTop="16.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="5.0dip" android:layout_toRightOf="@id/clock" />
change it to
Code:
<com.b16h22.statusbar.Date android:textSize="0.0px" android:gravity="center_vertical" android:id="@id/dateView" android:paddingTop="0.0dip" android:layout_width="0.0px" android:layout_height="0.0px" android:layout_marginLeft="0.0dip" android:layout_marginTop="0.0dip" />
Recompile SystemUI
Push it to system\app
set proper permissions(rw-r--r--)
24-hour format clock(Thanks to Minions_Army)
Preview:
To use 24-hour format clock
Download 24Hours_Smali.zip
MediaFire Link
DevHost Link
Extract it
Decompile SystemUI
Navigate to smali\b16h22\statusbar\
Copy and Paste the Extracted ClockHolo.smali there
if asked to replace, click yes
Recompile SystemUI
Push it to system\app
set proper permissions(rw-r--r--)
Credits:
MatZ69
Minions_Army
evanlocked
b16h22
great,thats what im waiting for,evan and you done a good job!!!!!thanx bro :good:
Was waiting for this.......
nice guide. gonna try it. btw plz disable smileys in the op.
Galaxy Pop Plus'ımdan Tapatalk 2 ile gönderildi.
Very difficult to implement on lenox statusbar. It`s coding are all different. Can u help me @op to implement it in Lenox statusbar.
KnightlyNinja said:
Very difficult to implement on lenox statusbar. It`s coding are all different. Can u help me @op to implement it in Lenox statusbar.
Click to expand...
Click to collapse
Ya...Sure!
how to implement this systemUI on Hyperion 8 GM Final without Date at center ?
kevin_tn said:
how to implement this systemUI on Hyperion 8 GM Final without Date at center ?
Click to expand...
Click to collapse
Find this line
Code:
<com.b16h22.statusbar.Date android:textSize="1.0sp" android:gravity="center_vertical" android:id="@id/dateView" android:paddingTop="16.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="5.0dip" android:layout_toRightOf="@id/clock" />
change it to
Code:
<com.b16h22.statusbar.Date android:textSize="0.0px" android:gravity="center_vertical" android:id="@id/dateView" android:paddingTop="0.0dip" android:layout_width="0.0px" android:layout_height="0.0px" android:layout_marginLeft="0.0dip" android:layout_marginTop="0.0dip" />
MuSaddiq1410 said:
Ya...Sure!
Click to expand...
Click to collapse
Wait i think i got it. Will report after sometime..............
Edit : Finally got it to work on Lenox. haha
KnightlyNinja said:
Wait i think i got it. Will report after sometime..............
Edit : Finally got it to work on Lenox. haha
Click to expand...
Click to collapse
Cool Bro! :good:
Oi op would you created this for hype 8 gm ? I mean flashable or apks one
And another one
Can you share your systemui ? :highfive:
Mranggapo said:
Oi op would you created this for hype 8 gm ? I mean flashable or apks one
Click to expand...
Click to collapse
Sorry Bro, I am busy now. WIll make flashable zips for H8GM, LE v2.1, etc etc later...
MuSaddiq1410 said:
Sorry Bro, I am busy now. WIll make flashable zips for H8GM, LE v2.1, etc etc later...
Click to expand...
Click to collapse
Im waiting bro :good::cyclops:
Mranggapo said:
Im waiting bro :good::cyclops:
Click to expand...
Click to collapse
i tried in H8 GM and it worked.why don't you try it ?
Good!
But i think, @MatZ69 can be in credits too
Sent from my GT-S5830i using xda premium
misha1996 said:
Good!
But i think, @MatZ69 can be in credits too
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
Oh Yes, You're right! I totally forgot about him. Will add him in credits asap!
Edit: Done.
kevin_tn said:
i tried in H8 GM and it worked.why don't you try it ?
Click to expand...
Click to collapse
I dont hav apktool beside my brother didnt allow me, would you like to share your systemui ?
@op this mod can be applied on cm7?
Galaxy Pop Plus'ımdan Tapatalk 2 ile gönderildi.
burak144 said:
@op this mod can be applied on cm7?
Galaxy Pop Plus'ımdan Tapatalk 2 ile gönderildi.
Click to expand...
Click to collapse
I think this is only for Stock Based Roms...
Sent from my y-Phone
MuSaddiq1410 said:
I think this is only for Stock Based Roms...
Sent from my y-Phone
Click to expand...
Click to collapse
hello sir. how to add the day(ex. Sunday) over the date? thanks for this guide..
Today I am Going to Show How to Make Center Left and Right Title on Any GB Phone This is Mod is Perfectly Worked on My Tablet and mY Other Phone So DON"T Say That Not Working The Mod Help You to Move the Screen Title to Left Right and Center
Required
Deodex ROM
AF-Apk Go Here Click Here
Instructions
Step :- 1) Decompile Your Framework-res.apk
Step :- 2) Open layout/screen_title.xml
Step :- 3) Choose One of Them
For Center Title
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:fitsSystemWindows="true"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:layout_width="fill_parent" android:layout_height="?windowTitleSize" style="?android:attr/windowTitleBackgroundStyle">
<TextView android:gravity="center_horizontal" android:id="@id/title" android:background="@null" android:paddingTop="1.0dip" android:fadingEdge="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" style="?android:attr/windowTitleStyle" />
</FrameLayout>
<FrameLayout android:id="@id/content" android:layout_width="fill_parent" android:layout_height="0.0dip" android:foreground="?windowContentOverlay" android:layout_weight="1.0" android:foregroundGravity="fill_horizontal|top|center" />
</LinearLayout>
For Right Title
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:fitsSystemWindows="true"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:layout_width="fill_parent" android:layout_height="?windowTitleSize" style="?android:attr/windowTitleBackgroundStyle">
<TextView android:gravity="right" android:id="@id/title" android:background="@null" android:paddingTop="1.0dip" android:fadingEdge="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" style="?android:attr/windowTitleStyle" />
</FrameLayout>
<FrameLayout android:id="@id/content" android:layout_width="fill_parent" android:layout_height="0.0dip" android:foreground="?windowContentOverlay" android:layout_weight="1.0" android:foregroundGravity="fill_horizontal|top|center" />
</LinearLayout>
For Left Title
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:fitsSystemWindows="true"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:layout_width="fill_parent" android:layout_height="?windowTitleSize" style="?android:attr/windowTitleBackgroundStyle">
<TextView android:gravity="left" android:id="@id/title" android:background="@null" android:paddingTop="1.0dip" android:fadingEdge="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" style="?android:attr/windowTitleStyle" />
</FrameLayout>
<FrameLayout android:id="@id/content" android:layout_width="fill_parent" android:layout_height="0.0dip" android:foreground="?windowContentOverlay" android:layout_weight="1.0" android:foregroundGravity="fill_horizontal|top|center" />
</LinearLayout>
Step :- 5 Recompile Push to System
SS to Understand What the Mod
{
"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 Dint Undrstnd About The Tile
Can u Provide Any SS ....
AndroidFire said:
Today I am Going to Show How to Make Center Left and Right Title on Any GB Phone This is Mod is Perfectly Worked on My Tablet and mY Other Phone So DON"T Say That Not Working The Mod Help You to Move the Screen Title to Left Right and Center
Required
Deodex ROM
AF-Apk Go Here Click Here
Instructions
Step :- 1) Decompile Your Framework-res.apk
Step :- 2) Open layout/screen_title.xml
Step :- 3) Choose One of Them
For Center Title
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:fitsSystemWindows="true"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:layout_width="fill_parent" android:layout_height="?windowTitleSize" style="?android:attr/windowTitleBackgroundStyle">
<TextView android:gravity="center_horizontal" android:id="@id/title" android:background="@null" android:paddingTop="1.0dip" android:fadingEdge="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" style="?android:attr/windowTitleStyle" />
</FrameLayout>
<FrameLayout android:id="@id/content" android:layout_width="fill_parent" android:layout_height="0.0dip" android:foreground="?windowContentOverlay" android:layout_weight="1.0" android:foregroundGravity="fill_horizontal|top|center" />
</LinearLayout>
For Right Title
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:fitsSystemWindows="true"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:layout_width="fill_parent" android:layout_height="?windowTitleSize" style="?android:attr/windowTitleBackgroundStyle">
<TextView android:gravity="right" android:id="@id/title" android:background="@null" android:paddingTop="1.0dip" android:fadingEdge="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" style="?android:attr/windowTitleStyle" />
</FrameLayout>
<FrameLayout android:id="@id/content" android:layout_width="fill_parent" android:layout_height="0.0dip" android:foreground="?windowContentOverlay" android:layout_weight="1.0" android:foregroundGravity="fill_horizontal|top|center" />
</LinearLayout>
For Left Title
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:fitsSystemWindows="true"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:layout_width="fill_parent" android:layout_height="?windowTitleSize" style="?android:attr/windowTitleBackgroundStyle">
<TextView android:gravity="left" android:id="@id/title" android:background="@null" android:paddingTop="1.0dip" android:fadingEdge="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" style="?android:attr/windowTitleStyle" />
</FrameLayout>
<FrameLayout android:id="@id/content" android:layout_width="fill_parent" android:layout_height="0.0dip" android:foreground="?windowContentOverlay" android:layout_weight="1.0" android:foregroundGravity="fill_horizontal|top|center" />
</LinearLayout>
Step :- 5 Recompile Push to System
Click to expand...
Click to collapse
Can you provide a screenshot?
jasper~ said:
Can you provide a screenshot?
Click to expand...
Click to collapse
Himan Boro said:
I Dint Undrstnd About The Tile
Can u Provide Any SS ....
Click to expand...
Click to collapse
jasper~ said:
Can you provide a screenshot?
Click to expand...
Click to collapse
Added SS with Descripation in tge Ss to understand
hey jasper don't quote whole op post
AndroidFire said:
Added SS with Descripation in tge Ss to understand
hey jasper don't quote whole op post
Click to expand...
Click to collapse
Ok thanks. Now I understand. Salamat po. Hehe
jasper~ said:
Ok thanks. Now I understand. Salamat po. Hehe
Click to expand...
Click to collapse
No Need Just Hit Thanks
Rule :- Use only English not other Language in Xda
how to add that data usage in settings? :3
nice guide
Thank @Mr.Luong™
I only mod it and tested on Rom RC Elite teams S5 port.
Other roms need test because i haven't phone S5
Update V2.0
. Bug fix Show caller information (mod transparent)
. Bug fix Dialer
Click to expand...
Click to collapse
Download and flash via recovery.
http://goo.gl/0VlKt2
Click to expand...
Click to collapse
{
"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"
}
3. GUIDE
Thank @lacoursiere18
- http://forum.xda-developers.com/showpost.php?p=55403530&postcount=12
- http://forum.xda-developers.com/showpost.php?p=55426850&postcount=18
- http://forum.xda-developers.com/showpost.php?p=55426856&postcount=19
cooooool man :good::laugh:
thanks
Will try on rooted stock version
Sent from my SM-G900FD using Tapatalk
zyasin said:
Will try on rooted stock version
Sent from my SM-G900FD using Tapatalk
Click to expand...
Click to collapse
No. Only for deodex.
If it's stock. You need delete incallui.odex
I want InCallUI Stock Rom ANG2.
Do you have it?
InchaiMix said:
I want InCallUI Stock Rom ANG2.
Do you have it?
Click to expand...
Click to collapse
No. But you can try my mod. Can it will work
@brhoomy101 its same as u do it in another forum in ce4arab thanks for ur work bro
Sent from my SM-G900F using Tapatalk
---------- Post added at 07:05 PM ---------- Previous post was at 07:03 PM ----------
InchaiMix said:
I want InCallUI Stock Rom ANG2.
Do you have it?
Click to expand...
Click to collapse
Hey bro its working just replace incalui in system/app
Sent from my SM-G900F using Tapatalk
thanhfhuongf said:
Thank @Mr.Luong™
I only mod it and tested on Rom RC Elite teams S5 port.
Other roms need test because i haven't phone S5
Download and flash via recovery.
1. For photo stock
http://goo.gl/l6XC7v
2. For photo hot girl
http://goo.gl/D2QCw0
Click to expand...
Click to collapse
in my phone it stuck all the time.
WHERE is the restore to stock file please??
Thanks for work
Sent from my SM-G900H using Tapatalk
---------- Post added at 07:42 AM ---------- Previous post was at 07:21 AM ----------
Not working on G900H
Sent from my SM-G900H using Tapatalk
thereassaad said:
@brhoomy101 its same as u do it in another forum in ce4arab thanks for ur work bro
Sent from my SM-G900F using Tapatalk
---------- Post added at 07:05 PM ---------- Previous post was at 07:03 PM ----------
Hey bro its working just replace incalui in system/app
Sent from my SM-G900F using Tapatalk
Click to expand...
Click to collapse
no
from http://forum.xda-developers.com/showthread.php?t=2512034
I share It only I'm not a fan of Call MODs & I do not do it
Would you mind adding a Guide/How-to with this please.
So that we may add to already modified roms.
Thank you - TD
Mike31285 said:
in my phone it stuck all the time.
WHERE is the restore to stock file please??
Click to expand...
Click to collapse
keage said:
Thanks for work
Sent from my SM-G900H using Tapatalk
---------- Post added at 07:42 AM ---------- Previous post was at 07:21 AM ----------
Not working on G900H
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
give me your incallui.apk
I will mod it for you.
tdunham said:
Would you mind adding a Guide/How-to with this please.
So that we may add to already modified roms.
Thank you - TD
Click to expand...
Click to collapse
Write guide are difficult for me. but I'll just give you the required files. You're free to compare and test offline.
1. Primary_call_infor.xml
2. In_call_button_voice_fragment.xml
3. Dimens.xml
4. Colors.xml
Good luck
thanks3
thanhfhuongf said:
give me your incallui.apk
I will mod it for you.
Write guide are difficult for me. but I'll just give you the required files. You're free to compare and test offline.
1. Primary_call_infor.xml
2. In_call_button_voice_fragment.xml
3. Dimens.xml
4. Colors.xml
Good luck
Click to expand...
Click to collapse
Thanks but i ve deleted and installed a new rom and everything is ok now.
@thanhfhuongf THIS and my file in callui you can edit it for me, please?
tdunham said:
Would you mind adding a Guide/How-to with this please.
So that we may add to already modified roms.
Thank you - TD
Click to expand...
Click to collapse
thanhfhuongf said:
give me your incallui.apk
I will mod it for you.
Write guide are difficult for me. but I'll just give you the required files. You're free to compare and test offline.
1. Primary_call_infor.xml
2. In_call_button_voice_fragment.xml
3. Dimens.xml
4. Colors.xml
Good luck
Click to expand...
Click to collapse
If you want I can post one.. I will pull it apart and show all the changes needed.. Just a thought if it is ok with the OP
I made, ported similar from the original Fullscreen mod for 4.3.. Glad you guys got a chance to work on this..
Looks like a TERRIFIC job!
Got it all torn apart... Let me know if a tutorial is okay with you guys.. If not I will keep it to myself.. Thanks again for you guys work
lacoursiere18 said:
If you want I can post one.. I will pull it apart and show all the changes needed.. Just a thought if it is ok with the OP
I made, ported similar from the original Fullscreen mod for 4.3.. Glad you guys got a chance to work on this..
Looks like a TERRIFIC job!
Click to expand...
Click to collapse
lacoursiere18 said:
Got it all torn apart... Let me know if a tutorial is okay with you guys.. If not I will keep it to myself.. Thanks again for you guys work
Click to expand...
Click to collapse
Yes. You can write a Guide for everyone.
Only need thank to me and Mr.Luong.
thanhfhuongf said:
Yes. You can write a Guide for everyone.
Only need thank to me and Mr.Luong.
Click to expand...
Click to collapse
OK lets get on it then/ here are the edits:
Decompile InCallUI.apk
res/colors.xml: change ALL of these:
Code:
<color name="incoming_call_image_widget_background">#00000000</color>
<color name="incall_screen_background">#00000000</color>
<color name="cover_background">#00000000</color>
<color name="incall_call_banner_background">#00000000</color>
<color name="incall_call_banner_background2">#00000000</color>
<color name="incall_call_banner_in_call_background">#00000000</color>
<color name="incall_call_banner_end_call_background">#00000000</color>
<color name="incall_call_state_label_background">#00000000</color>
<color name="incall_secondary_info_background">#00000000</color>
<color name="endcall_yellow_button_bg">#00000000</color>
<color name="endcall_green_button_bg">#00000000</color>
<color name="incall_call_button_background">#00000000</color>
<color name="incall_call_button_background_qcif_video">#00000000</color>
<color name="dialpad_background">#00000000</color>
<color name="dtmf_dialer_display_background">#00000000</color>
<color name="manage_conference_background">#00000000</color>
<color name="button_background">#00000000</color>
<color name="tutorial_background_color">#00000000</color>
<color name="tutorial_tab_background">#00000000</color>
<color name="tutorial_image_unknown_background">#00000000</color>
<color name="vt_dialpad_background">#00000000</color>
<color name="circle_time_progress_background">#00000000</color>
<color name="incall_call_banner_background_covered">#00000000</color>
<color name="incall_call_banner_background2_covered">#00000000</color>
<color name="incall_call_banner_in_call_background_covered">#00000000</color>
<color name="incall_call_banner_end_call_background_covered">#00000000</color>
<color name="incall_call_banner_active_bg">#00000000</color>
<color name="incall_call_banner_disconnect_bg">#00000000</color>
<color name="incall_call_banner_incoming_bg">#00000000</color>
<color name="incall_call_banner_onhold_bg">#00000000</color>
<color name="incall_call_state_active_bg">#00000000</color>
<color name="incall_call_state_disconnect_bg">#00000000</color>
<color name="incall_call_state_incoming_bg">#00000000</color>
<color name="incall_call_state_onhold_bg">#00000000</color>
<color name="incall_button_bg">#00000000</color>
<color name="invtcall_call_banner_active_bg">#00000000</color>
<color name="invtcall_call_banner_incoming_bg">#00000000</color>
<color name="invtcall_call_state_active_bg">#00000000</color>
<color name="invtcall_call_state_incoming_bg">#00000000</color>
<color name="popup_button_bg">#80000000</color>
<color name="incall_mw_call_card_background">#00000000</color>
<color name="drivelink_incall_call_banner_active_bg">#80000000</color>
<color name="drivelink_incall_call_banner_disconnect_bg">#80000000</color>
<color name="drivelink_incall_call_banner_incoming_bg">#80000000</color>
Next, res/dimens.xml:
Code:
<dimen name="call_card_height">[COLOR="Red"]640.0dip[/COLOR]</dimen>
Next, res/layout primary_call_info.xml I suggest copying this whole xml (A lot of moving around..You can compare to see the changes..IF you want a breakdown of what moved and where..Let me know I will try to accommodate )
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/indicator_area" android:layout_width="fill_parent" android:layout_height="@dimen/indicator_area_height" />
<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_below="@id/indicator_area">
<com.android.incallui.InCallPhotoView android:gravity="top|center" android:layout_gravity="center_horizontal" android:id="@id/photo" android:layout_width="640.0dip" android:layout_height="640.0dip" android:scaleType="centerCrop" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" android:soundEffectsEnabled="false" android:layout_alignParentStart="true" />
<ImageView android:id="@id/answer_memo_photo" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scaleType="centerCrop" android:layout_below="@id/primary_call_banner" android:layout_centerHorizontal="true" />
<ImageView android:id="@id/insetPhoto" android:padding="7.0dip" android:visibility="gone" android:layout_width="@dimen/contact_photo_inset_width" android:layout_height="@dimen/contact_photo_inset_height" android:layout_marginTop="113.0dip" android:scaleType="fitCenter" android:layout_centerHorizontal="true" />
<ViewStub android:id="@id/multi_touch_stub" android:layout="@layout/multi_touch_dummy" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<ViewStub android:id="@id/caller_info_card" android:layout="@layout/caller_info_card_view" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<ViewStub android:id="@id/photoringstub" android:layout="@layout/photoring_incall" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<LinearLayout android:orientation="vertical" android:id="@id/callstate_area" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentTop="true">
<LinearLayout android:gravity="center_vertical" android:orientation="vertical" android:id="@id/multisim_container" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/multisim_container_height">
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/multisim_upper_button" android:layout_width="fill_parent" android:layout_height="@dimen/multisim_upper_height">
<Button android:id="@id/multisim_slot1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/name_slot1" android:drawableLeft="@drawable/sim_icon_gsm_01" android:layout_weight="1.0" style="@style/MultiSimBarTabAppearance" />
<Button android:id="@id/multisim_slot2" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/name_slot2" android:drawableLeft="@drawable/sim_icon_gsm_02" android:layout_weight="1.0" style="@style/MultiSimBarTabAppearance" />
</LinearLayout>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/multisim_bottom_line" android:layout_width="fill_parent" android:layout_height="@dimen/multisim_bottom_height">
<ImageView android:id="@id/multisim_slot1_line" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" />
<ImageView android:id="@id/multisim_slot2_line" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" />
</LinearLayout>
</LinearLayout>
<RelativeLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/callsate_container" android:paddingTop="1.0dip" android:layout_width="fill_parent" android:layout_height="@dimen/callstate_container_height">
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="@dimen/callstate_container_text_size" android:textColor="@color/incall_call_banner_text_color" android:layout_gravity="left|center" android:id="@id/intCallInfo" android:paddingLeft="12.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@string/intcallsetting_voice_noti" android:layout_weight="0.0" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="18.0dip" android:textColor="@color/incall_call_banner_text_color" android:gravity="left|center" android:id="@id/elapsedTimeTitle" android:paddingLeft="13.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="0.0" style="@style/InCallButtonTextShadowEffect" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="@dimen/callstate_container_text_size" android:textColor="@color/incall_call_banner_text_color" android:gravity="left|center" android:id="@id/start_call_time" android:paddingLeft="13.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="0.0" style="@style/InCallButtonTextShadowEffect" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="@dimen/callstate_container_text_size" android:textColor="@color/incall_call_banner_text_color" android:gravity="left|center" android:id="@id/cardSubscriber" android:paddingLeft="13.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="0.0" style="@style/InCallButtonTextShadowEffect" />
<RelativeLayout android:id="@id/recInfo" android:paddingLeft="12.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_weight="0.0">
<ImageView android:gravity="center_vertical" android:id="@id/recordIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="@dimen/record_icon_middle_margin" android:src="@drawable/call_duringcall_record_icon" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="@dimen/callstate_container_text_size" android:textColor="@color/incall_call_banner_recording" android:layout_gravity="center_vertical" android:id="@id/recordText" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/record_icon_right_margin" android:text="@string/menu_record_voice" android:shadowColor="@color/incall_call_banner_recording_time_shadow" android:shadowDy="2.0" android:shadowRadius="0.5" android:layout_toRightOf="@id/recordIcon" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="@dimen/callstate_container_text_size" android:textColor="@color/incall_call_banner_recording" android:layout_gravity="center_vertical" android:id="@id/recordTime" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/record_container_right_margin" android:shadowColor="@color/incall_call_banner_recording_time_shadow" android:shadowDy="2.0" android:shadowRadius="0.5" android:layout_toRightOf="@id/recordText" />
</RelativeLayout>
<RelativeLayout android:id="@id/memoRecInfo" android:paddingLeft="12.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent">
<ImageView android:layout_gravity="center_vertical" android:id="@id/memoRecordIcon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/record_icon_middle_margin" android:src="@drawable/call_duringcall_record_icon" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="@dimen/callstate_container_text_size" android:textColor="@color/incall_call_banner_recording" android:layout_gravity="center_vertical" android:id="@id/memoRecordText" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/record_icon_right_margin" android:text="@string/menu_record_voice" android:shadowColor="@color/incall_call_banner_recording_time_shadow" android:shadowDy="2.0" android:shadowRadius="0.5" android:layout_toRightOf="@id/memoRecordIcon" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="@dimen/callstate_container_text_size" android:textColor="@color/incall_call_banner_recording" android:layout_gravity="center_vertical" android:id="@id/memoRecordTime" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="@dimen/record_container_right_margin" android:shadowColor="@color/incall_call_banner_recording_time_shadow" android:shadowDy="2.0" android:shadowRadius="0.5" android:layout_toRightOf="@id/memoRecordText" />
</RelativeLayout>
<ImageView android:id="@id/hd_icon_tmo" android:paddingLeft="@dimen/call_banner_side_padding" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/call_tmo_hd" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/elapsedTimeAndStateLabel" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true">
<ImageView android:id="@id/hdVoice" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/hd_call_skt" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="@dimen/callstate_container_text_size" android:textColor="@color/incall_call_banner_text_color" android:gravity="right|center" android:id="@id/hdVoiceText" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="5.0dip" android:singleLine="true" android:layout_alignParentTop="true" android:layout_alignParentRight="true" style="@style/InCallButtonTextShadowEffect" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="@dimen/callstate_container_text_size" android:textColor="@color/incall_call_banner_text_color" android:gravity="right|center" android:id="@id/elapsedTime" android:paddingRight="7.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" style="@style/InCallButtonTextShadowEffect" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="@dimen/callstate_container_text_size" android:textColor="@color/incall_call_banner_text_color" android:gravity="right|center" android:id="@id/callStateLabel" android:paddingRight="7.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" style="@style/InCallButtonTextShadowEffect" />
<ImageView android:layout_gravity="right|center" android:id="@id/periodMark" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="-7.0dip" android:layout_marginRight="@dimen/periodmark_right_padding" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:paddingLeft="@dimen/call_banner_side_padding" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentLeft="true" android:layout_alignParentBottom="true">
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="@dimen/call_state_container_city_text_size" android:textColor="@color/incall_banner_city_text_color" android:gravity="bottom|left|center" android:layout_gravity="bottom|left|center" android:id="@id/cityid" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" style="@style/InCallButtonTextShadowEffect" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/primary_call_banner" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="@dimen/call_banner_height" android:layout_below="@id/callstate_area">
<RelativeLayout android:id="@id/primary_call_info_banner" android:paddingLeft="@dimen/call_banner_side_padding" android:paddingBottom="3.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="?android:textAppearanceMedium" android:textSize="@dimen/one_call_name_text_size" android:textColor="@color/incall_call_banner_text_color" android:id="@id/name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:layout_centerVertical="true" style="@style/InCallButtonTextShadowEffect" />
<RelativeLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/labelAndNumber" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/name">
<ImageView android:id="@id/iconLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="5.0dip" android:layout_alignParentLeft="true" android:layout_centerVertical="true" />
<ImageView android:id="@id/simIconLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="3.0dip" android:layout_toRightOf="@id/iconLabel" android:layout_centerVertical="true" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="@dimen/one_call_number_text_size" android:textColor="@color/incall_call_banner_2nd_text_color" android:id="@id/phoneNumber" android:paddingRight="@dimen/call_banner_side_padding" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_toRightOf="@id/simIconLabel" style="@style/InCallButtonTextShadowEffect" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="@dimen/one_call_number_text_size" android:textColor="@color/incall_call_banner_2nd_text_color" android:id="@id/label" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="3.0dip" android:singleLine="true" android:layout_toRightOf="@id/phoneNumber" style="@style/InCallButtonTextShadowEffect" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textSize="@dimen/one_call_number_text_size" android:textColor="@color/incall_call_banner_2nd_text_color" android:gravity="right" android:id="@id/phoneNumberLocator" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="7.0dip" android:singleLine="true" android:layout_toRightOf="@id/label" android:layout_alignParentRight="true" style="@style/InCallButtonTextShadowEffect" />
</RelativeLayout>
<ImageView android:id="@id/callTypeIcon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/contacts_list_icon_internetcall" android:layout_alignBottom="@id/name" android:layout_alignParentRight="true" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textColor="@color/incall_call_banner_text_color" android:ellipsize="end" android:id="@id/callTypeLabel" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="1" android:layout_below="@id/labelAndNumber" style="@style/InCallButtonTextShadowEffect" />
<LinearLayout android:id="@id/primary_cnapNameContainer" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxWidth="@dimen/incall_banner_text_max_Width" android:layout_below="@id/callTypeLabel">
<ImageView android:layout_gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="3.0dip" android:src="@drawable/call_message_icon_skt_ltg" />
<TextView android:textAppearance="?android:textAppearanceMedium" android:textSize="@dimen/one_call_cnap_name_text_size" android:textColor="@color/incall_call_banner_text_color" android:ellipsize="marquee" android:layout_gravity="center_vertical" android:id="@id/primary_cnapName" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" style="@style/InCallButtonTextShadowEffect" />
</LinearLayout>
<TextView android:textAppearance="?android:textAppearanceMedium" android:textSize="@dimen/one_call_cdnip_number_text_size" android:textColor="@color/incall_call_banner_text_color" android:ellipsize="marquee" android:id="@id/primary_cdnipNumber" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxWidth="@dimen/incall_banner_text_max_Width" android:singleLine="true" android:layout_below="@id/primary_cnapNameContainer" style="@style/InCallButtonTextShadowEffect" />
<RelativeLayout android:gravity="center_vertical" android:id="@id/callbanner_function_btn_container" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" android:layout_centerVertical="true">
<View android:id="@id/divider_function_view" android:background="#00000000" android:layout_width="1.0dip" android:layout_height="50.0dip" android:layout_marginRight="10.0dip" android:layout_toLeftOf="@id/divider_button" />
<FrameLayout android:id="@id/divider_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true">
<ImageButton android:id="@id/addCallBtn" android:background="#00000000" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:contentDescription="@string/onscreenAddCallText" />
<ImageButton android:id="@id/recordBtn" android:background="#00000000" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:contentDescription="@string/menu_record_voice" />
<ImageButton android:id="@id/webExBtn" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/incall_button_webex_icon" android:contentDescription="@string/webex" />
</FrameLayout>
</RelativeLayout>
</RelativeLayout>
<ImageButton android:layout_gravity="bottom" android:id="@id/onScreenMenuBtn" android:background="#00000000" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/call_duringcall_menu_icon_x" android:contentDescription="@string/more_menu" />
</LinearLayout>
<LinearLayout android:layout_gravity="center_vertical" android:orientation="horizontal" android:id="@id/incoming_popup" android:background="#00000000" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="15.0dip" android:layout_marginRight="15.0dip" android:layout_marginBottom="50.0dip" android:layout_alignParentBottom="true">
<TextView android:textSize="16.0sp" android:textColor="@color/incall_call_banner_2nd_text_color" android:gravity="center" android:id="@id/incoming_popup_msg" android:paddingLeft="17.0dip" android:paddingTop="9.0dip" android:paddingRight="17.0dip" android:paddingBottom="9.0dip" android:duplicateParentState="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/info_voicerecorder_incomingcall" android:layout_weight="1.0" />
</LinearLayout>
<ToggleButton android:id="@id/extraVolumeButton" android:background="@drawable/incall_button_extra_volume_icon" android:visibility="gone" android:layout_width="52.0dip" android:layout_height="52.0dip" android:layout_marginTop="15.0dip" android:layout_marginRight="5.0dip" android:textOn="" android:textOff="" android:layout_below="@id/primary_call_banner" android:layout_alignParentRight="true" android:soundEffectsEnabled="false" android:contentDescription="@string/extra_vol_button" />
<ImageButton android:id="@id/modifyCallButton" android:background="#00000000" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="10.0dip" android:layout_marginRight="5.0dip" android:src="@drawable/call_voice_conversion_lte" android:layout_below="@id/extraVolumeButton" android:layout_alignParentRight="true" android:contentDescription="@string/onscreenModifyCallText" android:hoverPopupType="tooltip" />
<ToggleButton android:id="@id/bluetoothBtn" android:background="#00000000" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="7.0dip" android:layout_marginRight="7.0dip" android:textOn="" android:textOff="" android:layout_below="@id/primary_call_banner" android:layout_alignParentRight="true" android:contentDescription="@string/headset" />
<TextView android:textSize="21.0sp" android:textColor="@color/incall_call_banner_text_color" android:id="@id/answering_memo_msg" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="37.0dip" android:layout_marginTop="5.0dip" android:layout_marginBottom="7.0dip" android:singleLine="true" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" />
<LinearLayout android:layout_gravity="right|center" android:orientation="vertical" android:id="@id/supplementary_info_container" android:background="#00000000" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:animateLayoutChanges="true" style="@style/PrimaryCallInfoSupplementaryInfoContainer">
<LinearLayout android:gravity="end" android:orientation="horizontal" android:id="@id/providerInfo" android:background="#00000000" android:paddingTop="@dimen/provider_info_top_bottom_padding" android:paddingBottom="@dimen/provider_info_top_bottom_padding" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:paddingStart="@dimen/call_banner_side_padding" android:paddingEnd="@dimen/call_banner_side_padding">
<TextView android:textAppearance="?android:textAppearanceSmall" android:textColor="@color/incall_call_banner_text_color" android:ellipsize="marquee" android:id="@id/providerLabel" android:layout_width="0.0px" android:layout_height="wrap_content" android:singleLine="true" android:layout_weight="6.0" android:textAllCaps="true" />
<TextView android:textAppearance="?android:textAppearanceSmall" android:textColor="@color/incall_call_banner_text_color" android:ellipsize="middle" android:gravity="end" android:id="@id/providerAddress" android:layout_width="0.0px" android:layout_height="wrap_content" android:singleLine="true" android:layout_weight="4.0" android:textAllCaps="true" android:paddingStart="8.0dip" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>
</LinearLayout>
</FrameLayout>
</RelativeLayout>
Continue in post #19
res/layout in_call_button_voice_fragment.xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:id="@id/inCallButtons" [COLOR="red"]##CHANGED:[/COLOR]android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/inCallIconActionBarContainer" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="51.0dip" android:layout_above="@id/inCallScreenButtonsContainer">
<ImageButton android:layout_gravity="start|bottom|center" android:id="@id/actionbar_bottom_icon_addcall" [COLOR="Red"]##CHANGED:[/COLOR]android:background="#00000000" android:visibility="gone" android:layout_width="56.0dip" android:layout_height="fill_parent" android:src="@drawable/actionbar_bottom_icon_addcall_x" />
<ImageButton android:layout_gravity="bottom|center" android:id="@id/actionbar_bottom_icon_keypad" [COLOR="red"]##CHANGED:[/COLOR]android:background="#00000000" android:visibility="gone" android:layout_width="56.0dip" android:layout_height="fill_parent" android:src="@drawable/actionbar_bottom_icon_keypad_x" />
<ImageButton android:layout_gravity="start|bottom|center" android:id="@id/actionbar_bottom_icon_message" [COLOR="red"]##CHANGED[/COLOR]:android:background="#00000000" android:visibility="gone" android:layout_width="56.0dip" android:layout_height="fill_parent" android:src="@drawable/actionbar_bottom_icon_message_x" />
<ImageButton android:layout_gravity="bottom|center" android:id="@id/actionbar_bottom_icon_note" [COLOR="red"]##CHANGED:[/COLOR]android:background="#00000000" android:visibility="gone" android:layout_width="56.0dip" android:layout_height="fill_parent" android:src="@drawable/actionbar_bottom_icon_note_x" />
<ImageButton android:layout_gravity="end|bottom|center" android:id="@id/actionbar_bottom_icon_menu" [COLOR="red"]##CHANGED:[/COLOR]android:background="#00000000" android:layout_width="56.0dip" android:layout_height="fill_parent" android:src="@drawable/actionbar_bottom_icon_menu_x" />
</FrameLayout>
<LinearLayout android:orientation="vertical" android:id="@id/inCallScreenButtonsContainer" android:paddingLeft="0.0dip" android:paddingTop="0.0dip" android:paddingRight="0.0dip" android:paddingBottom="0.0dip" android:layout_width="fill_parent" android:layout_height="68.0dip" android:layout_alignParentBottom="true" android:splitMotionEvents="false">
<LinearLayout android:orientation="horizontal"[COLOR="red"] ##CHANGED:[/COLOR]android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent">
[COLOR="red"]##ADDED:[/COLOR]<LinearLayout android:orientation="horizontal" android:id="@id/incall_upper_button_contaienr" android:layout_width="180.0dip" android:layout_height="68.0dip" android:splitMotionEvents="false">
<Button android:id="@id/addCallButton" android:layout_width="1.0dip" android:layout_height="fill_parent" android:layout_marginRight="2.0dip" android:text="@string/onscreenAddCallText" android:drawableTop="@drawable/incall_button_add_icon" android:layout_weight="1.0" android:contentDescription="@string/onscreenAddCallText_description" style="@style/InCallTouchUpperButton" />
<Button android:id="@id/rcsVideoButton" android:visibility="gone" android:layout_width="1.0dip" android:layout_height="fill_parent" android:layout_marginRight="2.0dip" android:text="@string/rcs_share_live_video" android:drawableTop="@drawable/incall_button_rcs_video_icon" android:layout_weight="1.0" style="@style/InCallTouchUpperButton" />
<Button android:id="@id/recordButton" android:visibility="gone" android:layout_width="1.0dip" android:layout_height="fill_parent" android:layout_marginRight="2.0dip" android:text="@string/menu_record_voice" android:drawableTop="@drawable/incall_record_play_button" android:layout_weight="1.0" style="@style/InCallTouchUpperButton" />
<Button android:id="@id/dialpadButton" android:layout_width="1.0dip" android:layout_height="fill_parent" android:layout_marginRight="2.0dip" android:text="@string/onscreenShowDialpadText" android:drawableTop="@drawable/incall_button_dialpad_icon" android:layout_weight="1.0" style="@style/InCallTouchUpperButton" />
<Button android:id="@id/endButton" android:layout_width="1.0dip" android:layout_height="fill_parent" android:text="@string/end_call" android:drawableTop="@drawable/call_icon_endcall" android:layout_weight="1.0" style="@style/InCallTouchEndButton" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/incall_lower_button_contaienr" [COLOR="red"]##CHANGED:[/COLOR]android:layout_width="180.0dip" [COLOR="red"]##CHANGED:[/COLOR]android:layout_height="68.0dip" [COLOR="red"](##REMOVED:android:layout_marginTop="2.0dip")[/COLOR] android:splitMotionEvents="false">
<ToggleButton android:id="@id/speakerButton" android:layout_marginRight="2.0dip" android:textOn="@string/onscreenSpeakerText" android:textOff="@string/onscreenSpeakerText" android:drawableTop="@drawable/incall_button_speaker_icon" android:contentDescription="@string/description_speaker" style="@style/InCallTouchToggleButtonNoFrame" />
<ToggleButton android:id="@id/muteButton" android:layout_marginRight="2.0dip" android:textOn="@string/onscreenMuteText" android:textOff="@string/onscreenMuteText" android:drawableTop="@drawable/incall_button_mute_icon" android:contentDescription="@string/description_mute" style="@style/InCallTouchToggleButtonNoFrame" />
<ToggleButton android:id="@id/bluetoothButton" android:textOn="@string/audio_mode_bluetooth" android:textOff="@string/audio_mode_bluetooth" android:drawableTop="@drawable/incall_button_bluetooth_icon" android:contentDescription="@string/description_bluetooth" style="@style/InCallTouchToggleButtonNoFrame" />
<Button android:id="@id/rcsShareButton" android:visibility="gone" android:text="@string/rcs_share" android:drawableTop="@drawable/incall_button_rcs_share_icon" style="@style/InCallTouchButtonRcsShare" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<LinearLayout android:id="@id/inCallIconContainer" android:visibility="gone" android:layout_above="@id/inCallScreenButtonsContainer" style="@style/InCallIconContainer" />
</RelativeLayout>
Lastly, res/values styles.xml:
Code:
<style name="InCallTouchUpperButton">
<item name="android:textSize">[COLOR="red"]0.0dip[/COLOR]</item> [COLOR="red"]##CHANGED[/COLOR]
<item name="android:textStyle">normal</item>
<item name="android:textColor">@color/incall_button_text</item>
<item name="android:gravity">top|center</item>
<item name="android:background">@drawable/call_dial_btn_bg</item>
<item name="android:paddingTop">14.0dip</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:singleLine">true</item>
<item name="android:drawablePadding">2.0dip</item>
</style>
<style name="InEasyCallTouchUpperButton">
<item name="android:textSize">[COLOR="red"]0.0dip[/COLOR]</item> [COLOR="red"]##CHANGED[/COLOR]
<item name="android:textStyle">normal</item>
<item name="android:textColor">@color/incall_button_text</item>
<item name="android:gravity">top|center</item>
<item name="android:background">@drawable/call_dial_btn_bg</item>
<item name="android:paddingTop">18.0dip</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:singleLine">true</item>
<item name="android:drawablePadding">7.0dip</item>
</style>
<style name="InCallTouchToggleButtonNoFrame">
<item name="android:textSize">[COLOR="red"]0.0dip[/COLOR]</item> [COLOR="red"]##CHANGED[/COLOR]
<item name="android:textStyle">normal</item>
<item name="android:textColor">@color/incall_button_text</item>
<item name="android:gravity">top|center</item>
<item name="android:background">@drawable/call_dial_btn_bg</item>
<item name="android:paddingTop">14.0dip</item>
<item name="android:layout_width">1.0dip</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:singleLine">true</item>
<item name="android:drawableBottom">@drawable/incall_toggle_button</item>
<item name="android:layout_weight">1.0</item>
</style>
In in_call_button_voice_fragment.xml I personally would move the call_icon_endcall drawable to be on the far right or left side (depending on what hand preference you have).. But yeah, thats it guys.. Have at it.. Ask any ?'s just ask:good:
Big thank.
{
"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"
}
That's how it looks
It works with Xperia JB Lockscreen on Android 4.0.4 and 4.1.2 (confimed)
This guide is for skilled users.
HERE you may download my lockscreen and use it like template or basis
Lets start
Use apktool version 2 (beta) to prevent error while compilling
1. Decompile your UxpNxtLockScreen.apk
2. Find the file main.xml in res/layout folder and add the lines marked red
Lines those are marked blue you must add only if you dont have RelativeLayout in your main.xml. Its important.
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.sonyericsson.lockscreen.generic.LockScreenRootView android:id="@id/somc_blinds_lockscreen_root" android:layout_width="fill_parent" android:layout_height="fill_parent" android:directionality="leftToRight"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/background_image" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scaleType="centerCrop" />
[COLOR="red"]<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent">[/COLOR]
[COLOR="RoyalBlue"]<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent">[/COLOR]
<LinearLayout android:orientation="vertical" android:id="@id/alarm_and_charge" android:focusable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginTop="8.0dip" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:directionality="leftToRight">
<include layout="@layout/top_left_next_alarm" />
<include layout="@layout/charging_status" />
</LinearLayout>
<TextView android:textSize="@dimen/lockscreen_text_size_small" android:textColor="#ffffffff" android:gravity="right|center" android:id="@id/carrier" android:focusable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="8.0dip" android:layout_marginRight="8.0dip" android:maxWidth="@dimen/lockscreen_carrier_text_max_width" android:text="" android:maxLines="3" android:shadowColor="@color/text_shadow_color" android:shadowDx="@integer/text_shadow_dx" android:shadowDy="@integer/text_shadow_dy" android:shadowRadius="@integer/text_shadow_radius" android:layout_alignParentTop="true" android:layout_alignParentRight="true" />
<include layout="@layout/w_clock" />
<com.sonymobile.lockscreen.topslider.TopSlider android:id="@id/top_slider" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="@dimen/lockscreen_widget_slider_margin_top" android:layout_alignParentTop="true" android:directionality="none" />
<com.sonymobile.lockscreen.topslider.HorizontalWidgetSlider android:id="@id/horizontal_widget_slider" android:focusable="true" android:focusableInTouchMode="true" android:scrollbars="none" android:fadingEdge="none" android:clipChildren="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignTop="@id/top_slider" android:layout_alignBottom="@id/top_slider" android:directionality="none">
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/horizontal_widget_slider_layout" android:focusable="true" android:focusableInTouchMode="true" android:clipChildren="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:directionality="none">
<include layout="@layout/music_controls" />
<View android:id="@id/top_slider_placeholder_widget" android:layout_width="fill_parent" android:layout_height="1.0dip" />
</LinearLayout>
</com.sonymobile.lockscreen.topslider.HorizontalWidgetSlider>
<LinearLayout android:gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignTop="@id/top_slider" android:layout_alignBottom="@id/top_slider" android:layout_centerHorizontal="true">
<ProgressBar android:id="@id/camera_start_progress" android:padding="20.0dip" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:progressDrawable="@drawable/camera_start_progressbar" />
</LinearLayout>
<TextView android:textSize="14.0dip" android:textColor="#ffffffff" android:gravity="center" android:id="@id/screenLockMsg" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="8.0dip" android:shadowColor="@color/text_shadow_color" android:shadowDx="@integer/text_shadow_dx" android:shadowDy="@integer/text_shadow_dy" android:shadowRadius="@integer/text_shadow_radius" android:layout_alignParentBottom="true" />
<com.sonyericsson.lockscreen.generic.LockScreenNonTouchView android:id="@id/non_touch_view" android:background="#00000000" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<include android:id="@id/hint" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/lockscreen_hint_bottom_margin" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" layout="@layout/unlock_hint" />
[COLOR="RoyalBlue"]</RelativeLayout>[/COLOR]
[COLOR="red"]<LinearLayout android:gravity="center" android:layout_gravity="bottom" android:orientation="horizontal" android:background="#00000000" android:layout_width="fill_parent" android:layout_height="@dimen/botbar_height">
<RelativeLayout android:layout_width="@dimen/botbar_width_icon_bg" android:layout_height="fill_parent">
<aaa.sk0t.ui.MultyBtn android:layout_gravity="center" android:tag=".DialerEntryActivity" android:background="#00000000" android:layout_width="70.0dip" android:layout_height="70.0dip" android:contentDescription="com.sonyericsson.android.socialphonebook" />
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/botbar_call_icon" android:scaleType="center" />
</RelativeLayout>
<RelativeLayout android:layout_width="@dimen/botbar_width_icon_bg" android:layout_height="fill_parent">
<aaa.sk0t.ui.MultyBtn android:layout_gravity="center" android:tag=".activities.SocialPhonebookActivity" android:background="#00000000" android:layout_width="70.0dip" android:layout_height="70.0dip" android:contentDescription="com.sonyericsson.android.socialphonebook" />
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/botbar_contact_icon" android:scaleType="center" />
</RelativeLayout>
<RelativeLayout android:layout_width="@dimen/botbar_width_icon_bg" android:layout_height="fill_parent">
<aaa.sk0t.ui.MultyBtn android:layout_gravity="center" android:tag=".ui.ConversationListActivity" android:background="#00000000" android:layout_width="70.0dip" android:layout_height="70.0dip" android:contentDescription="com.sonyericsson.conversations" />
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/botbar_conversations_icon" android:scaleType="center" />
</RelativeLayout>
</LinearLayout>
</FrameLayout>[/COLOR]
</com.sonyericsson.lockscreen.generic.LockScreenRootView>
3. Find the file dimens.xml in res/values and add the lines marked red
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="set_button_width">220.0dip</dimen>
<dimen name="lockscreen_widget_slider_margin_top">93.0dip</dimen>
<dimen name="lockscreen_hint_bottom_margin">190.0dip</dimen>
<dimen name="lockscreen_text_size_small">12.0dip</dimen>
<dimen name="lockscreen_text_size_medium">14.0sp</dimen>
<dimen name="lockscreen_text_size_medium_large">16.0dip</dimen>
<dimen name="lockscreen_text_size_large">76.0dip</dimen>
<dimen name="lockscreen_text_padding">0.0dip</dimen>
<dimen name="lockscreen_carrier_text_max_width">168.0dip</dimen>
<dimen name="lockscreen_owner_margin_top">6.0dip</dimen>
[COLOR="Red"]<dimen name="botbar_width_icon_bg">100.0dip</dimen>
<dimen name="botbar_height">80.0dip</dimen>[/COLOR]
</resources>
4. Add icons from archive to res/drawable-hdpi (it depends on your display's resolution, be attentive)
ICONS
5. Unpack archive in smali folder
SMALI
Must be UxpNxtLockScreen\smali\aaa\sk0t\ui\MultyBtn.smali
6. Compile your lockscreen
Thats all
If you want to change shortcuts here is explaining:
Code:
<RelativeLayout android:layout_width="@dimen/botbar_width_icon_bg" android:layout_height="fill_parent">
<aaa.sk0t.ui.MultyBtn android:layout_gravity="center" [COLOR="SeaGreen"]android:tag[/COLOR]="[B].ui.ConversationListActivity[/B]" android:background="#00000000" android:layout_width="70.0dip" android:layout_height="70.0dip" [COLOR="DarkOrchid"]android:contentDescription[/COLOR]="[B]com.sonyericsson.conversations[/B]" />
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/[COLOR="RoyalBlue"]botbar_conversations_icon[/COLOR]" android:scaleType="center" />
</RelativeLayout>
android:contentDescription - search in AndroidManifest.xml of your apk (package parameter)
android:tag - search in AndroidManifest.xml (see parameter android:name, be attentive, you need main activity of app)
botbar_conversations_icon - icon of your shortcut
Thanks maks398tim for GUIDE
I just translated it and shared on XDA
If it works for you - please, write about it in this thread
It can be useful