Hello,
On my s2 there was a great mod that allowed to have the control buttons at the bottom of the notificationscreen. As the opo is such a huge device it would be easier to acces. Can somebody explain how to do it, bc aosp differs a lot from stocksamsung?...
kondroid said:
Hello,
On my s2 there was a great mod that allowed to have the control buttons at the buttom of the notificationscreen. As the opo is such a huge device it would be easier to acces. Can somebody explain how to do it, bc aosp differs a lot from stocksamsung?...
Click to expand...
Click to collapse
this is already present on custom roms.
Cool...i never ran into it, i tried cm11, slim, Mahdi, temasek, Heisenberg, aicp, aokp on my opo, but never noticed it. What rom are you talking about?
Still i haven't found a opo-rom, which supports it.
again: asking for help
i stil haven't found a rom on opo that has got this option.
searching google and xda i always ended in threads of samsung devices. they all say that you have to decompile systemUI and edit some lines in the StatusBarExpanded Xml.
So far, so ugly. i looked at this xml, but i don't know what line is what for.
does somebody know what has to be edited or point me at least to a rom for opo so i could compare??
thx for looking
Text from status_bar_expanded.xml out of SystemUI.apk (Mahdi sabermod)
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.NotificationPanelView android:id="@id/notification_panel" android:background="@drawable/notification_panel_bg" androidaddingTop="@dimen/notification_panel_padding_top" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginStart="@dimen/notification_panel_margin_left"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<ImageView android:id="@id/notification_wallpaper" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scaleType="centerCrop" />
<View android:id="@id/handle" android:background="@drawable/status_bar_close" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height" />
<include android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="@dimen/carrier_label_height" android:layout_marginBottom="@dimen/close_handle_height" layout="@layout/carrier_label" />
<LinearLayout androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/close_handle_underlap" android:animateLayoutChanges="false">
<include android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height" layout="@layout/status_bar_expanded_header" />
<include android:layout_width="fill_parent" android:layout_height="32.0dip" layout="@layout/notification_reminder" />
<ViewStub android:id="@id/ribbon_settings_stub" android:layout="@layout/ribbon_settings" android:layout_width="fill_parent" android:layout_height="@dimen/qs_ribbon_height_big" />
<ViewStub android:id="@id/notification_brightness_slider" android:layout="@layout/quick_settings_brightness_dialog" android:layout_width="fill_parent" android:layout_height="@dimen/notification_row_min_height" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.EmergencyOnly" android:gravity="center" android:id="@id/emergency_calls_only" androidadding="4.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
<ViewStub android:id="@id/flip_settings_stub" android:layout="@layout/flip_settings" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" androidverScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_row_min_height" />
</ScrollView>
</FrameLayout>
</LinearLayout>
<HorizontalScrollView android:layout_gravity="bottom" android:id="@id/custom_notification_scrollview" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/notification_shortcuts_close_handle_height" android:fillViewport="true" android:layout_above="@id/handle" androidverScrollMode="never" android:requiresFadingEdge="none">
<com.android.systemui.statusbar.phone.ShortcutsWidget androidrientation="horizontal" android:id="@id/custom_notificiation_shortcuts" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</HorizontalScrollView>
</com.android.systemui.statusbar.phone.NotificationPanelView>
Related
Hello Guys im Master&Slave™ and im going to show you a few Status bar Mods. Right now I own a T-Mobile Galaxy S II so these MODs are based on the Samsung Touchwiz 2.3.6 Systemui.apk. This may or may not work for your phone, im not very sure but its knowledge worth sharing. You could try copy and pasting these codes to your XMLs and see if they work. Like I stated I dont know if they will wok on all devices so the code may vary depending on your device.
Lets get started
Requirements
-Brain
-Patience
-A tool to decompile the Systemui.apk
-Notepad++
StatusBar.xml only
Center Clock
-This will move your clock to the center of the status bar
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="16.0sp" android:gravity="center" android:id="@id/clock" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.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/TextAppearance.StatusBar.Ticker" android:id="@id/ticker_1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:id="@id/ticker_2" 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="left|center" android:id="@id/date" android:background="#ff000000" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>
No Clock
-This will remove the clock from the status bar
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.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/TextAppearance.StatusBar.Ticker" android:id="@id/ticker_1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:id="@id/ticker_2" 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="left|center" android:id="@id/date" android:background="#ff000000" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>
No Date
-This will remove the date from the status bar
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="16.0sp" android:gravity="center_vertical" android:id="@id/clock" 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/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.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/TextAppearance.StatusBar.Ticker" android:id="@id/ticker_1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:id="@id/ticker_2" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.StatusBarView>
Statusbar_Expanded.xml Only
Pulldown Clock|Center Clear Button
-This will remove the clock from the statusbar and place it where the clear button originally sits, moving the clear button to the middle of the pulldown under your notifications . To do this you must first remove the clock code from the statusbar.xml. You will see an example of this in the code below
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/carrier_label_background" android:background="@drawable/title_bar_portrait" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<com.android.systemui.statusbar.CarrierLabel android:textSize="18.659973dip" android:textColor="@color/status_bar_carrier_label_text" android:layout_gravity="center_vertical" android:id="@id/carrier_label" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="14.669983dip" android:layout_marginTop="8.669983dip" android:layout_marginBottom="10.0dip" android:layout_weight="1.0" />
<com.android.systemui.statusbar.Clock android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textSize="16.0sp" android:gravity="center_vertical" android:id="@id/clock" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/noNotificationsTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_no_notifications_title" />
<TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/ongoingTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_ongoing_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/latestTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_latest_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textSize="14.0dip" android:textColor="@color/status_bar_clear_all_button_text" android:gravity="center" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="@drawable/btn_default_small" android:focusable="true" android:clickable="true" android:layout_width="76.66998dip" android:layout_height="34.0dip" android:layout_marginTop="5.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="5.0dip" android:text="@string/status_bar_clear_all_button" />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
<ImageView android:id="@id/title_bar_shadow" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</com.android.systemui.statusbar.ExpandedView>
Center Clear Button
-This will just put your clear in the middle of the pulldown under your notifications.
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/carrier_label_background" android:background="@drawable/title_bar_portrait" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<com.android.systemui.statusbar.CarrierLabel android:textSize="18.659973dip" android:textColor="@color/status_bar_carrier_label_text" android:layout_gravity="center_vertical" android:id="@id/carrier_label" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="14.669983dip" android:layout_marginTop="8.669983dip" android:layout_marginBottom="10.0dip" android:layout_weight="1.0" />
</LinearLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/noNotificationsTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_no_notifications_title" />
<TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/ongoingTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_ongoing_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/latestTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_latest_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textSize="14.0dip" android:textColor="@color/status_bar_clear_all_button_text" android:gravity="center" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="@drawable/btn_default_small" android:focusable="true" android:clickable="true" android:layout_width="76.66998dip" android:layout_height="34.0dip" android:layout_marginTop="5.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="5.0dip" android:text="@string/status_bar_clear_all_button" />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
<ImageView android:id="@id/title_bar_shadow" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</com.android.systemui.statusbar.ExpandedView>
Remove Carrier Text
-This will remove the carrier text from the pulldown, however this may not work for none Tmobile phones because they may have their carrier text in a different location.
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@id/carrier_label_background" android:background="@drawable/title_bar_portrait" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<TextView android:textSize="14.0dip" android:textColor="@color/status_bar_clear_all_button_text" android:gravity="center" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:background="@drawable/btn_default_small" android:focusable="true" android:clickable="true" android:layout_width="76.66998dip" android:layout_height="34.0dip" android:layout_marginTop="5.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="5.0dip" android:text="@string/status_bar_clear_all_button" />
</LinearLayout>
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/noNotificationsTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_no_notifications_title" />
<TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/ongoingTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_ongoing_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textSize="14.669983dip" android:textColor="@color/notification_header_text_color" android:gravity="center_vertical" android:id="@id/latestTitle" android:background="@drawable/quickpanel_title_background" android:paddingLeft="13.329987dip" android:layout_width="fill_parent" android:layout_height="26.669983dip" android:text="@string/status_bar_latest_events_title" />
<LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
<ImageView android:id="@id/title_bar_shadow" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</com.android.systemui.statusbar.ExpandedView>
-If you are going to use these in your ROMs or Themes be sure to do so, Credit is all I ask for. Dont forget to hit the Thanks
Reserved!
....
I need more! ))
ZiViTi_13 said:
I need more! ))
Click to expand...
Click to collapse
I gotta play around more with the code, Ill update this with whatever I come up with!
Sweet..time for me to learn how to decompile the systemui...looks like rocket science to me lol..Thanks!
IllBill said:
Sweet..time for me to learn how to decompile the systemui...looks like rocket science to me lol..Thanks!
Click to expand...
Click to collapse
If you can copy and paste, then rocket science is a thing of the past lol
Master&Slave™ said:
If you can copy and paste, then rocket science is a thing of the past lol
Click to expand...
Click to collapse
Gonna follow your famous line and actually learn something today lol gonna try these out in a few
IllBill said:
Gonna follow your famous line and actually learn something today lol gonna try these out in a few
Click to expand...
Click to collapse
Iight be sure to study the codes and learn how they work
"Church..."
scribbles92 said:
"Church..."
Click to expand...
Click to collapse
Im not sure i follow you lol
M&S
Master&Slave™ said:
If you can copy and paste, then rocket science is a thing of the past lol
Click to expand...
Click to collapse
Rocket science?...chrononauts hehe ;-)
leo.o said:
Rocket science?...chrononauts hehe ;-)
Click to expand...
Click to collapse
Yea lol
This is easier than trick or treating at 20 years old
M&S
Master&Slave thanks your guide your guide was work on lg optimus one and me with some change thanks
cips gokhle said:
Master&Slave thanks your guide your guide was work on lg optimus one and me with some change thanks
Click to expand...
Click to collapse
No problem...ill look into more tweaks
M&S
WOOOOWW!
GEKTHEBOSS said:
WOOOOWW!
Click to expand...
Click to collapse
Wowwwwwwwwwwoooooooowwwww!!!
Lol
M&S
working on getting the clock where the date is in the pulldown
Will it be possible to add like extra info somewhere on the pulldown like unread messages or not answered phone calls?
Just guessing.
Nice work by the way..
jaggyjags said:
Will it be possible to add like extra info somewhere on the pulldown like unread messages or not answered phone calls?
Just guessing.
Nice work by the way..
Click to expand...
Click to collapse
Isnt that already present by default lol
M&S
Not if you cleared the notifications...
I meant something like read/unread count on the extended bar, when sliding it down, like in place of the carrier name..
But nevermind..Thankyou!
Sent from my HTC Explorer A310e using Tapatalk 2 Beta-4
Yo peeps, this is my second guide!! So if i am wrong anywhere please help me!!
Click to expand...
Click to collapse
Warning: This method is only working on CM9 and CM10 roms
Click to expand...
Click to collapse
Requirements:
-Notepad++
-Apktool
-Deodexed SystemUI.apk
Credits:
-Adi Aisiteru Reborn Original Link
-Xda
-Google
Instructions:
Step 1:
Decompile SystemUI.apk and go to res/values/ids.xml and open it and add this at the end
Code:
<item type="id" name="automatic">false</item>
Step 2:
Go to res/values/strings.xml and add these two lines to the end
Code:
<string name="brightness_settings_automatic">AUTO</string>
<string name="brightness_settings_title" />
Step 3 for CM10:
Go to res/layout/status_bar_expanded.xml and add the RED line
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:id="@id/notification_panel" android:background="@drawable/notification_panel_bg" android:paddingTop="@dimen/notification_panel_padding_top" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_margin_left"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:layout_gravity="bottom" android:id="@id/carrier_label" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="@dimen/carrier_label_height" android:layout_marginBottom="@dimen/close_handle_height" />
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/close_handle_underlap">
<include android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height" layout="@layout/status_bar_expanded_header" />
<com.android.systemui.statusbar.powerwidget.PowerWidget android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_widget_height" />
[COLOR="Red"]<include layout="@layout/adi_brightness" />[/COLOR]
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network.EmergencyOnly" android:gravity="center" android:id="@id/emergency_calls_only" android:paddingBottom="4.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="always">
<com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_row_min_height" />
</ScrollView>
</LinearLayout>
<com.android.systemui.statusbar.phone.CloseDragHandle android:layout_gravity="bottom" android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height">
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="@dimen/close_handle_height" android:src="@drawable/status_bar_close" android:scaleType="fitXY" />
</com.android.systemui.statusbar.phone.CloseDragHandle>
</FrameLayout>
Step 3 for CM9:
Go to res/layout/status_bar_expanded.xml and add the RED line
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<LinearLayout android:orientation="vertical" android:background="@drawable/notification_header_bg" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.powerwidget.PowerWidget android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<RelativeLayout android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="5.0dip" android:layout_width="fill_parent" android:layout_height="52.0dip">
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Date" android:gravity="left|center" android:id="@id/date" android:paddingLeft="16.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_alignParentLeft="true" />
<ImageView android:id="@id/settings_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_quicksettings" android:layout_toRightOf="@id/date" android:contentDescription="@string/accessibility_settings_button" />
<ImageView android:id="@id/clear_all_button" android:paddingLeft="8.0dip" android:paddingRight="8.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_notify_clear" android:layout_alignParentRight="true" android:contentDescription="@string/accessibility_clear_all" />
</RelativeLayout>
[COLOR="Red"]<include layout="@layout/adi_brightness" />[/COLOR]
</LinearLayout>
<View android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="2.0dip" />
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@*android:style/TextAppearance.Large" android:gravity="left" android:layout_gravity="top" android:id="@id/noNotificationsTitle" android:padding="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/status_bar_no_notifications_title" />
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.policy.NotificationRowLayout android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_height" />
</LinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</com.android.systemui.statusbar.phone.ExpandedView>
Step 4: CM9 skip this step
Go to res/layout/status_bar_expanded_header and do the Red mod
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" [COLOR="Red"]android:background="#ff000000"[/COLOR] android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false"
Step 5:
Download this file and extract contents to respective folders
Step 6:
Recompile and add to ur rom!!
All the best guys!!
Appreciate the work but there's already the same guide here. Better give credits bro or else the thread might be closed.
swat4samp said:
Appreciate the work but there's already the same guide here. Better give credits bro or else the thread might be closed.
Click to expand...
Click to collapse
thanks bro i forgot to give the credits part
Hey guys, i've been modding the stock lockscreen a bit but i've got 2 questions regarding this, i hope someone can give me the correct answer: first, how to delete the annoying carrier name on the bot? i've tried all the layouts but none of them did anything, i got rid of the emergency button and text but that's as far as i get, and also, how to change the icons for the shortcuts? they automatically use the app's one and i want to give a custom one, tried adding the android:src line but still nothing. Thanks in advance
EDIT: I figured out the carrier name already, just those icons now. Thanks
anerik said:
Hey guys, i've been modding the stock lockscreen a bit but i've got 2 questions regarding this, i hope someone can give me the correct answer: first, how to delete the annoying carrier name on the bot? i've tried all the layouts but none of them did anything, i got rid of the emergency button and text but that's as far as i get, and also, how to change the icons for the shortcuts? they automatically use the app's one and i want to give a custom one, tried adding the android:src line but still nothing. Thanks in advance
EDIT: I figured out the carrier name already, just those icons now. Thanks
Click to expand...
Click to collapse
You mind sharing ? I'm trying to get rid of those too. Just started out modding. I edited res/layout/keyguard_screen_unlock_portrait but there's no emergency button info there. What file did you edit ?
f3bruary said:
You mind sharing ? I'm trying to get rid of those too. Just started out modding. I edited res/layout/keyguard_screen_unlock_portrait but there's no emergency button info there. What file did you edit ?
Click to expand...
Click to collapse
No longer own this phone, and also dont remember. grab the rom i made and compare files
Did a little edit on my own:
f3bruary said:
You mind sharing ? I'm trying to get rid of those too. Just started out modding. I edited res/layout/keyguard_screen_unlock_portrait but there's no emergency button info there. What file did you edit ?
Click to expand...
Click to collapse
Just delete in "res/layout/keyguard_screen_tab_unlock.xml":
Code:
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/moto_keyguard_lockscreen_statusview_textsize" android:textStyle="bold" android:textColor="?textColorSecondary" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/carrier" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="32.0dip" android:layout_marginBottom="6.0dip" android:singleLine="true" />
<include layout="@layout/zz_moto_keyguard_bottom" />
</LinearLayout>
FourOne82 said:
Did a little edit on my own:
Just delete in "res/layout/keyguard_screen_tab_unlock.xml":
Code:
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/moto_keyguard_lockscreen_statusview_textsize" android:textStyle="bold" android:textColor="?textColorSecondary" android:ellipsize="marquee" android:gravity="center_horizontal" android:id="@id/carrier" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="32.0dip" android:layout_marginBottom="6.0dip" android:singleLine="true" />
<include layout="@layout/zz_moto_keyguard_bottom" />
</LinearLayout>
Click to expand...
Click to collapse
Thanks a lot, and dude, I want your lockscreen man ! Care to share ?
f3bruary said:
Thanks a lot, and dude, I want your lockscreen man ! Care to share ?
Click to expand...
Click to collapse
Just take my framework-res from here, you also need my "AndroidClock_Highlight.ttf" font for the bigger clock.
FourOne82 said:
Just take my framework-res from here, you also need my "AndroidClock_Highlight.ttf" font for the bigger clock.
Click to expand...
Click to collapse
I'm on Omar's JBX rom though, can I do that ?
I only want the lockscreen, no other mods.
As i said, u just need framework-res and the clock font.
FourOne82 said:
As i said, u just need framework-res and the clock font.
Click to expand...
Click to collapse
OK, just did that. Seemed to work although the navbar is a bit shorter now, but no worries.
I seem to have an issue though. There's some redundant space between the clock and the ring. It seems to happen to more variants of framework-res.apk.
The result is this and somehow it didn't exactly came to look like yours.
This is my "res/layout/keyguard_screen_tab_unlock.xml", sould work with the right font.
Code:
<?xml version="1.0" encoding="utf-8"?>
<GridLayout android:gravity="center_horizontal" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="42.0dip" android:layout_marginBottom="-8.0dip" >
<com.android.internal.widget.DigitalClock android:id="@id/time" android:layout_width="wrap_content" android:layout_height="wrap_content" >
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textColor="@color/lockscreen_clock_background" android:ellipsize="none" android:gravity="center_vertical" android:id="@id/timeDisplayBackground" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="6.0dip" android:singleLine="true" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textColor="@color/lockscreen_clock_foreground" android:ellipsize="none" android:id="@id/timeDisplayForeground" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="6.0dip" android:singleLine="true" android:layout_alignLeft="@id/timeDisplayBackground" android:layout_alignTop="@id/timeDisplayBackground" />
</com.android.internal.widget.DigitalClock>
</LinearLayout>
<LinearLayout android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textAllCaps="true" android:fontFamily="sans-serif-condensed" android:ellipsize="marquee" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textColor="#80ffffff" android:textAllCaps="true" android:fontFamily="sans-serif-condensed" android:ellipsize="marquee" android:id="@id/alarm_status" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" android:drawablePadding="4.0dip" />
</LinearLayout>
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:ellipsize="marquee" android:layout_gravity="center" android:id="@id/status1" android:singleLine="true" android:drawablePadding="4.0dip" />
<include android:id="@id/transport" android:layout_width="fill_parent" android:layout_height="80.0dip" android:layout_marginLeft="@dimen/secured_lockscreen_status_side_margin" android:layout_marginTop="6.0dip" android:layout_marginRight="@dimen/secured_lockscreen_status_side_margin" android:layout_marginBottom="-85.0dip" layout="@layout/keyguard_transport_control" />
<FrameLayout android:gravity="bottom" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="320.0dip" android:layout_marginTop="80.0dip">
<com.android.internal.widget.multiwaveview.GlowPadView android:gravity="top" android:layout_gravity="center_horizontal" android:orientation="horizontal" android:id="@id/unlock_widget" android:focusable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:innerRadius="@dimen/glowpadview_inner_radius" android:targetDescriptions="@array/lockscreen_target_descriptions_with_camera" android:directionDescriptions="@array/lockscreen_direction_descriptions" android:outerRingDrawable="@drawable/ic_lockscreen_outerring" android:pointDrawable="@drawable/ic_lockscreen_glowdot" android:glowRadius="@dimen/glowpadview_glow_radius" android:targetDrawables="@array/lockscreen_targets_with_camera" android:handleDrawable="@drawable/ic_lockscreen_handle" android:outerRadius="@dimen/glowpadview_target_placement_radius" android:vibrationDuration="20" android:snapMargin="@dimen/glowpadview_snap_margin" android:feedbackCount="1" />
</FrameLayout>
</GridLayout>
FourOne82 said:
This is my "res/layout/keyguard_screen_tab_unlock.xml", sould work with the right font.
Code:
<?xml version="1.0" encoding="utf-8"?>
<GridLayout android:gravity="center_horizontal" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="42.0dip" android:layout_marginBottom="-8.0dip" >
<com.android.internal.widget.DigitalClock android:id="@id/time" android:layout_width="wrap_content" android:layout_height="wrap_content" >
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textColor="@color/lockscreen_clock_background" android:ellipsize="none" android:gravity="center_vertical" android:id="@id/timeDisplayBackground" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="6.0dip" android:singleLine="true" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textColor="@color/lockscreen_clock_foreground" android:ellipsize="none" android:id="@id/timeDisplayForeground" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="6.0dip" android:singleLine="true" android:layout_alignLeft="@id/timeDisplayBackground" android:layout_alignTop="@id/timeDisplayBackground" />
</com.android.internal.widget.DigitalClock>
</LinearLayout>
<LinearLayout android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textAllCaps="true" android:fontFamily="sans-serif-condensed" android:ellipsize="marquee" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textColor="#80ffffff" android:textAllCaps="true" android:fontFamily="sans-serif-condensed" android:ellipsize="marquee" android:id="@id/alarm_status" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" android:drawablePadding="4.0dip" />
</LinearLayout>
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:ellipsize="marquee" android:layout_gravity="center" android:id="@id/status1" android:singleLine="true" android:drawablePadding="4.0dip" />
<include android:id="@id/transport" android:layout_width="fill_parent" android:layout_height="80.0dip" android:layout_marginLeft="@dimen/secured_lockscreen_status_side_margin" android:layout_marginTop="6.0dip" android:layout_marginRight="@dimen/secured_lockscreen_status_side_margin" android:layout_marginBottom="-85.0dip" layout="@layout/keyguard_transport_control" />
<FrameLayout android:gravity="bottom" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="320.0dip" android:layout_marginTop="80.0dip">
<com.android.internal.widget.multiwaveview.GlowPadView android:gravity="top" android:layout_gravity="center_horizontal" android:orientation="horizontal" android:id="@id/unlock_widget" android:focusable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:innerRadius="@dimen/glowpadview_inner_radius" android:targetDescriptions="@array/lockscreen_target_descriptions_with_camera" android:directionDescriptions="@array/lockscreen_direction_descriptions" android:outerRingDrawable="@drawable/ic_lockscreen_outerring" android:pointDrawable="@drawable/ic_lockscreen_glowdot" android:glowRadius="@dimen/glowpadview_glow_radius" android:targetDrawables="@array/lockscreen_targets_with_camera" android:handleDrawable="@drawable/ic_lockscreen_handle" android:outerRadius="@dimen/glowpadview_target_placement_radius" android:vibrationDuration="20" android:snapMargin="@dimen/glowpadview_snap_margin" android:feedbackCount="1" />
</FrameLayout>
</GridLayout>
Click to expand...
Click to collapse
Thanks, replacing that file with the code above worked. The clock is now centered. But the date is still a but pushed down by this empty area. The unlock circle is a bit too low too. Any idea what section I need to edit to raise it a bit ? Screenshot below
f3bruary said:
Thanks, replacing that file with the code above worked. The clock is now centered. But the date is still a but pushed down by this empty area. The unlock circle is a bit too low too. Any idea what section I need to edit to raise it a bit ? Screenshot below
Click to expand...
Click to collapse
Try to replace your font with the one in the attachment.
FourOne82 said:
Try to replace your font with the one in the attachment.
Click to expand...
Click to collapse
That took care of the empty area somehow.
The unlock ring is still too low though. You can see in the previous screenshot that it partially falls under the 'invisible' navigation bar. Maybe this happens because your ROM shrinks the navigation bar a bit so the lock screen appears normally.
Try:
Code:
<?xml version="1.0" encoding="utf-8"?>
<GridLayout android:gravity="center_horizontal" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="36.0dip" android:layout_marginBottom="-8.0dip" >
<com.android.internal.widget.DigitalClock android:id="@id/time" android:layout_width="wrap_content" android:layout_height="wrap_content" >
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textColor="@color/lockscreen_clock_background" android:ellipsize="none" android:gravity="center_vertical" android:id="@id/timeDisplayBackground" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="6.0dip" android:singleLine="true" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textColor="@color/lockscreen_clock_foreground" android:ellipsize="none" android:id="@id/timeDisplayForeground" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="6.0dip" android:singleLine="true" android:layout_alignLeft="@id/timeDisplayBackground" android:layout_alignTop="@id/timeDisplayBackground" />
</com.android.internal.widget.DigitalClock>
</LinearLayout>
<LinearLayout android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textAllCaps="true" android:fontFamily="sans-serif-condensed" android:ellipsize="marquee" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textColor="#80ffffff" android:textAllCaps="true" android:fontFamily="sans-serif-condensed" android:ellipsize="marquee" android:id="@id/alarm_status" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" android:drawablePadding="4.0dip" />
</LinearLayout>
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:ellipsize="marquee" android:layout_gravity="center" android:id="@id/status1" android:singleLine="true" android:drawablePadding="4.0dip" />
<include android:id="@id/transport" android:layout_width="fill_parent" android:layout_height="80.0dip" android:layout_marginLeft="@dimen/secured_lockscreen_status_side_margin" android:layout_marginTop="6.0dip" android:layout_marginRight="@dimen/secured_lockscreen_status_side_margin" android:layout_marginBottom="-85.0dip" layout="@layout/keyguard_transport_control" />
<FrameLayout android:gravity="bottom" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="320.0dip" android:layout_marginTop="80.0dip">
<com.android.internal.widget.multiwaveview.GlowPadView android:gravity="top" android:layout_gravity="center_horizontal" android:orientation="horizontal" android:id="@id/unlock_widget" android:focusable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:innerRadius="@dimen/glowpadview_inner_radius" android:targetDescriptions="@array/lockscreen_target_descriptions_with_camera" android:directionDescriptions="@array/lockscreen_direction_descriptions" android:outerRingDrawable="@drawable/ic_lockscreen_outerring" android:pointDrawable="@drawable/ic_lockscreen_glowdot" android:glowRadius="@dimen/glowpadview_glow_radius" android:targetDrawables="@array/lockscreen_targets_with_camera" android:handleDrawable="@drawable/ic_lockscreen_handle" android:outerRadius="@dimen/glowpadview_target_placement_radius" android:vibrationDuration="20" android:snapMargin="@dimen/glowpadview_snap_margin" android:feedbackCount="1" />
</FrameLayout>
</GridLayout>
FourOne82 said:
Try:
Code:
<?xml version="1.0" encoding="utf-8"?>
<GridLayout android:gravity="center_horizontal" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="36.0dip" android:layout_marginBottom="-8.0dip" >
<com.android.internal.widget.DigitalClock android:id="@id/time" android:layout_width="wrap_content" android:layout_height="wrap_content" >
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textColor="@color/lockscreen_clock_background" android:ellipsize="none" android:gravity="center_vertical" android:id="@id/timeDisplayBackground" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="6.0dip" android:singleLine="true" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_clock_font_size" android:textColor="@color/lockscreen_clock_foreground" android:ellipsize="none" android:id="@id/timeDisplayForeground" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="6.0dip" android:singleLine="true" android:layout_alignLeft="@id/timeDisplayBackground" android:layout_alignTop="@id/timeDisplayBackground" />
</com.android.internal.widget.DigitalClock>
</LinearLayout>
<LinearLayout android:gravity="center_horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textAllCaps="true" android:fontFamily="sans-serif-condensed" android:ellipsize="marquee" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:textColor="#80ffffff" android:textAllCaps="true" android:fontFamily="sans-serif-condensed" android:ellipsize="marquee" android:id="@id/alarm_status" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:singleLine="true" android:drawablePadding="4.0dip" />
</LinearLayout>
<TextView android:textAppearance="?textAppearanceMedium" android:textSize="@dimen/keyguard_lockscreen_status_line_font_size" android:ellipsize="marquee" android:layout_gravity="center" android:id="@id/status1" android:singleLine="true" android:drawablePadding="4.0dip" />
<include android:id="@id/transport" android:layout_width="fill_parent" android:layout_height="80.0dip" android:layout_marginLeft="@dimen/secured_lockscreen_status_side_margin" android:layout_marginTop="6.0dip" android:layout_marginRight="@dimen/secured_lockscreen_status_side_margin" android:layout_marginBottom="-85.0dip" layout="@layout/keyguard_transport_control" />
<FrameLayout android:gravity="bottom" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="320.0dip" android:layout_marginTop="80.0dip">
<com.android.internal.widget.multiwaveview.GlowPadView android:gravity="top" android:layout_gravity="center_horizontal" android:orientation="horizontal" android:id="@id/unlock_widget" android:focusable="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:innerRadius="@dimen/glowpadview_inner_radius" android:targetDescriptions="@array/lockscreen_target_descriptions_with_camera" android:directionDescriptions="@array/lockscreen_direction_descriptions" android:outerRingDrawable="@drawable/ic_lockscreen_outerring" android:pointDrawable="@drawable/ic_lockscreen_glowdot" android:glowRadius="@dimen/glowpadview_glow_radius" android:targetDrawables="@array/lockscreen_targets_with_camera" android:handleDrawable="@drawable/ic_lockscreen_handle" android:outerRadius="@dimen/glowpadview_target_placement_radius" android:vibrationDuration="20" android:snapMargin="@dimen/glowpadview_snap_margin" android:feedbackCount="1" />
</FrameLayout>
</GridLayout>
Click to expand...
Click to collapse
Great ! That did the trick. Thanks a lot !
It is possible ?
It is possible to achieve this configuration by editing command lines?
Items Required:-
Apktool
SystemUI.apk
Text Editor (notepad ++)
Procedure:-
1) Decompile systemui.apk
2) Then goto res/layout and open gemini_status_bar_expanded.xml (mtk) or tw_status_bar_expanded.xml (touchwiz).
3) Then you have to divide your panel into 4 parts.
4) Now after dividing it make sure your expanded look like this;-
BLUE COLOR = PLACEMENT FOR 4 PARTS
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:layout_gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.TogglesButton2 android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content">
[COLOR="blue"] Paste here your HEADER code[/COLOR]
</com.tenten.TogglesButton2>
</LinearLayout>
<LinearLayout android:layout_gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.LayoutAnimation1 android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
[COLOR="blue"] Paste here your brightness slider code[/COLOR]
</com.tenten.LayoutAnimation1>
</LinearLayout>
<LinearLayout android:layout_gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.LayoutAnimation2 android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
[COLOR="blue"] paste here your android L toggles code [/COLOR]
</com.tenten.LayoutAnimation2>
</LinearLayout>
<LinearLayout android:layout_gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.LayoutAnimation3 android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.tenten.UpDownBoomPaw android:layout_width="fill_parent" android:layout_height="wrap_content">
[COLOR="blue]Paste here the notification part[/COLOR]
</com.tenten.UpDownBoomPaw>
</com.tenten.LayoutAnimation3>
</LinearLayout>
</LinearLayout>
5) Download Required files from here
6) Merge the required files to smali/com/here
7) Save Recompile. :thumbup:
Header (Part 1) acts as show hide button for Your toggles
Credits:-
Tentenponce For smalis
MAAADR
Tested in JB 4.1.2 AND JB 4.2.2
For ScreenShot click HERE
Don't understand points 3 and 4
Slash137 said:
Don't understand points 3 and 4
Click to expand...
Click to collapse
+1
Slash137 said:
Don't understand points 3 and 4
Click to expand...
Click to collapse
they simply mean to divide the xml codes of your panel into 4 parts.,..then put those 4 parts in between the codes mentioned in step 4
Snapdragon815 said:
+1
Click to expand...
Click to collapse
step 1 is decompiling systemui by apktool
eboybasit said:
step 1 is decompiling systemui by apktool
Click to expand...
Click to collapse
I understood up to step 2. I didn't understand what to do next.
Can u provide a screen record or screenshots of doing the work
error SS
eboybasit said:
Items Required:-
Apktool
SystemUI.apk
Text Editor (notepad ++)
Procedure:-
1) Decompile systemui.apk
2) Then goto res/layout and open gemini_status_bar_expanded.xml (mtk) or tw_status_bar_expanded.xml (touchwiz).
3) Then you have to divide your panel into 4 parts.
4) Now after dividing it make sure your expanded look like this;-
BLUE COLOR = PLACEMENT FOR 4 PARTS
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:layout_gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.TogglesButton2 android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content">
[COLOR="blue"] Paste here your HEADER code[/COLOR]
</com.tenten.TogglesButton2>
</LinearLayout>
<LinearLayout android:layout_gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.LayoutAnimation1 android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
[COLOR="blue"] Paste here your brightness slider code[/COLOR]
</com.tenten.LayoutAnimation1>
</LinearLayout>
<LinearLayout android:layout_gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.LayoutAnimation2 android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
[COLOR="blue"] paste here your android L toggles code [/COLOR]
</com.tenten.LayoutAnimation2>
</LinearLayout>
<LinearLayout android:layout_gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.LayoutAnimation3 android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.tenten.UpDownBoomPaw android:layout_width="fill_parent" android:layout_height="wrap_content">
[COLOR="blue]Paste here the notification part[/COLOR]
</com.tenten.UpDownBoomPaw>
</com.tenten.LayoutAnimation3>
</LinearLayout>
</LinearLayout>
5) Download Required files from here
6) Merge the required files to smali/com/here
7) Save Recompile. :thumbup:
Header (Part 1) acts as show hide button for Your toggles
Credits:-
Tentenponce For smalis
MAAADR
Tested in JB 4.1.2 AND JB 4.2.2
For ScreenShot click HERE
Click to expand...
Click to collapse
eroor ss
mr.nameless_24 said:
eroor ss
Click to expand...
Click to collapse
Error ? What error
eboybasit said:
Error ? What error
Click to expand...
Click to collapse
Could you please add some screenshots relating to the creation of 4 parts in the xml as I find it difficut to find which codes belong to header/notification toggles/broghtness slider exactly...
Your post is awesome but the screenshots will make them complete
aki_007 said:
Could you please add some screenshots relating to the creation of 4 parts in the xml as I find it difficut to find which codes belong to header/notification toggles/broghtness slider exactly...
Your post is awesome but the screenshots will make them complete
Click to expand...
Click to collapse
Ah okay sir
aki_007 said:
Could you please add some screenshots relating to the creation of 4 parts in the xml as I find it difficut to find which codes belong to header/notification toggles/broghtness slider exactly...
Your post is awesome but the screenshots will make them complete
Click to expand...
Click to collapse
This is my panel
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:layout_gravity="center" androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.TogglesButton2 androidrientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content">
<include layout="@layout/l_header" />
</com.tenten.TogglesButton2>
</LinearLayout>
<LinearLayout android:layout_gravity="center" androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.LayoutAnimation1 androidrientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include layout="@layout/slider" />
</com.tenten.LayoutAnimation1>
</LinearLayout>
<LinearLayout android:layout_gravity="center" androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.LayoutAnimation2 androidrientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include layout="@layout/ltoggle_mda" />
</com.tenten.LayoutAnimation2>
</LinearLayout>
<LinearLayout android:layout_gravity="center" androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.LayoutAnimation3 androidrientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.tenten.UpDownBoomPaw android:layout_width="fill_parent" android:layout_height="wrap_content">
<include layout="@layout/eboy_fbui_layout" />
</com.tenten.UpDownBoomPaw>
</com.tenten.LayoutAnimation3>
</LinearLayout>
</LinearLayout>
L Header = header
Slider = brightness slider
Ltoggle_mda = ltoggles
Eboy_fbui_layout = notifications
Plz can you add some screenshot
eboybasit said:
This is my panel
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:layout_gravity="center" androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.TogglesButton2 androidrientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content">
<include layout="@layout/l_header" />
</com.tenten.TogglesButton2>
</LinearLayout>
<LinearLayout android:layout_gravity="center" androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.LayoutAnimation1 androidrientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include layout="@layout/slider" />
</com.tenten.LayoutAnimation1>
</LinearLayout>
<LinearLayout android:layout_gravity="center" androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.LayoutAnimation2 androidrientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include layout="@layout/ltoggle_mda" />
</com.tenten.LayoutAnimation2>
</LinearLayout>
<LinearLayout android:layout_gravity="center" androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.LayoutAnimation3 androidrientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.tenten.UpDownBoomPaw android:layout_width="fill_parent" android:layout_height="wrap_content">
<include layout="@layout/eboy_fbui_layout" />
</com.tenten.UpDownBoomPaw>
</com.tenten.LayoutAnimation3>
</LinearLayout>
</LinearLayout>
L Header = header
Slider = brightness slider
Ltoggle_mda = ltoggles
Eboy_fbui_layout = notifications
Click to expand...
Click to collapse
THE LINK TO SCREENSHOT IS NOT WORKING PLZ ADD THME :good:
I am getting this error
eboybasit said:
This is my panel
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:layout_gravity="center" androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.TogglesButton2 androidrientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content">
<include layout="@layout/l_header" />
</com.tenten.TogglesButton2>
</LinearLayout>
<LinearLayout android:layout_gravity="center" androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.LayoutAnimation1 androidrientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include layout="@layout/slider" />
</com.tenten.LayoutAnimation1>
</LinearLayout>
<LinearLayout android:layout_gravity="center" androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.LayoutAnimation2 androidrientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include layout="@layout/ltoggle_mda" />
</com.tenten.LayoutAnimation2>
</LinearLayout>
<LinearLayout android:layout_gravity="center" androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.LayoutAnimation3 androidrientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.tenten.UpDownBoomPaw android:layout_width="fill_parent" android:layout_height="wrap_content">
<include layout="@layout/eboy_fbui_layout" />
</com.tenten.UpDownBoomPaw>
</com.tenten.LayoutAnimation3>
</LinearLayout>
</LinearLayout>
L Header = header
Slider = brightness slider
Ltoggle_mda = ltoggles
Eboy_fbui_layout = notifications
Click to expand...
Click to collapse
D:\Apps And Development\apktool>apktool b SystemUI
I: Using Apktool 2.0.0-RC4
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
SystemUI\smali\com\tenten\LayoutAnimation1$1.smali[38,4] Error for input '.param
eter': Invalid directive
SystemUI\smali\com\tenten\LayoutAnimation1$1.smali[39,4] Error for input '.param
eter': Invalid directive
SystemUI\smali\com\tenten\LayoutAnimation1$1.smali[38,15] mismatched input '"con
text"' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file
: com/tenten/LayoutAnimation1$1.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:71)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:55)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:354)
at brut.androlib.Androlib.buildSources(Androlib.java:294)
at brut.androlib.Androlib.build(Androlib.java:280)
at brut.androlib.Androlib.build(Androlib.java:255)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
AATRONIX said:
D:\Apps And Development\apktool>apktool b SystemUI
I: Using Apktool 2.0.0-RC4
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
SystemUI\smali\com\tenten\LayoutAnimation1$1.smali[38,4] Error for input '.param
eter': Invalid directive
SystemUI\smali\com\tenten\LayoutAnimation1$1.smali[39,4] Error for input '.param
eter': Invalid directive
SystemUI\smali\com\tenten\LayoutAnimation1$1.smali[38,15] mismatched input '"con
text"' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file
: com/tenten/LayoutAnimation1$1.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:71)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:55)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:354)
at brut.androlib.Androlib.buildSources(Androlib.java:294)
at brut.androlib.Androlib.build(Androlib.java:280)
at brut.androlib.Androlib.build(Androlib.java:255)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Click to expand...
Click to collapse
Restart the whole process using apktool 1.5.2
Deleted
force closure. I'm doing wrong. thx
excuse my English
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:layout_gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.TogglesButton2 android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content">
<RelativeLayout android:background="@drawable/fondo1" android:paddingLeft="6.0dip" android:paddingTop="3.0dip" android:paddingRight="6.0dip" android:paddingBottom="5.0dip" android:layout_width="320.0dip" android:layout_height="50.0dip">
<com.android.systemui.statusbar.StatusBarJellyHeaderView android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<Button android:textColor="@*android:color/transparent" android:id="@id/clear_all_button" android:background="@drawable/btn_clear" android:paddingLeft="16.0dip" android:layout_width="32.0dip" android:layout_height="0.0dip" android:layout_marginTop="4.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="4.0dip" android:text="@string/status_bar_clear_all_button" android:layout_toRightOf="@id/date" />
<ImageView android:id="@id/settings_button" android:paddingLeft="19.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginTop="4.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="4.0dip" android:src="@drawable/ic_notify_quicksettings" android:scaleType="center" android:layout_toRightOf="@id/clear_all_button" android:contentDescription="@string/accessibility_settings_button" />
</RelativeLayout>
</com.tenten.TogglesButton2>
</LinearLayout>
<LinearLayout android:layout_gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.LayoutAnimation1 android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.powerwidget.PowerWidget android:background="@drawable/fondo1" android:paddingLeft="6.0dip" android:paddingTop="10.0dip" android:paddingRight="6.0dip" android:paddingBottom="10.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="center_vertical" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</RelativeLayout>
<include android:paddingLeft="6.0dip" android:paddingRight="6.0dip" layout="@layout/qp_brightness" />
<LinearLayout android:orientation="vertical" android:id="@id/power_and_carrier" android:background="#ffee0b0b" android:paddingTop="0.0dip" android:paddingRight="0.0dip" android:paddingBottom="0.0dip" android:layout_width="fill_parent" android:layout_height="0.0dip">
<com.android.systemui.statusbar.powerwidget.PowerWidget android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/carrier_label_layout" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</LinearLayout>
</com.tenten.LayoutAnimation1>
</LinearLayout>
<LinearLayout android:layout_gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.LayoutAnimation2 android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include layout="@layout/eboy_toggle_mda" />
</com.tenten.LayoutAnimation2>
</LinearLayout>
<LinearLayout android:layout_gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.LayoutAnimation3 android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.tenten.UpDownBoomPaw android:layout_width="fill_parent" android:layout_height="wrap_content">
<FrameLayout android:id="@id/notifications" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:paddingLeft="5.0dip" android:paddingRight="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:textColor="#ff009688" android:gravity="right" android:id="@id/noNotificationsTitle" android:background="@drawable/shade_header_background" android:paddingRight="2.0dip" android:layout_width="fill_parent" android:layout_height="0.0dip" android:text="@string/status_bar_no_notifications_title" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:textColor="#ff009688" android:gravity="right" android:id="@id/ongoingTitle" android:background="@drawable/shade_header_background" android:paddingRight="10.0dip" android:layout_width="fill_parent" android:layout_height="0.0dip" android:text="@string/status_bar_ongoing_events_title" />
<LinearLayout android:textColor="#ff009688" android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:textColor="#ff009688" android:gravity="right" android:id="@id/latestTitle" android:background="@drawable/shade_header_background" android:paddingRight="10.0dip" android:layout_width="fill_parent" android:layout_height="0.0dip" android:text="@string/status_bar_latest_events_title" />
<LinearLayout android:textColor="#ff009688" android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textColor="#ff009688" android:layout_gravity="right|center" android:id="@id/compact_clear_all_button" android:background="@drawable/btn_clear" android:paddingLeft="15.0dip" android:paddingRight="15.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4.0dip" android:layout_marginBottom="1.0dip" android:text=" " />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
<ScrollView android:id="@id/bottomScroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout android:layout_gravity="bottom" android:orientation="vertical" android:id="@id/bottomNotificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</ScrollView>
<LinearLayout android:orientation="horizontal" android:id="@id/compact_carrier_layout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Title" android:gravity="bottom|right|center" android:background="@*android:color/transparent" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="6.0dip" android:singleLine="true" android:layout_alignParentRight="true" />
</LinearLayout>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</com.tenten.UpDownBoomPaw>
</com.tenten.LayoutAnimation3>
</LinearLayout>
</LinearLayout>
shelowe said:
force closure. I'm doing wrong. thx
excuse my English
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:layout_gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.TogglesButton2 android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content">
<RelativeLayout android:background="@drawable/fondo1" android:paddingLeft="6.0dip" android:paddingTop="3.0dip" android:paddingRight="6.0dip" android:paddingBottom="5.0dip" android:layout_width="320.0dip" android:layout_height="50.0dip">
<com.android.systemui.statusbar.StatusBarJellyHeaderView android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<Button android:textColor="@*android:color/transparent" android:id="@id/clear_all_button" android:background="@drawable/btn_clear" android:paddingLeft="16.0dip" android:layout_width="32.0dip" android:layout_height="0.0dip" android:layout_marginTop="4.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="4.0dip" android:text="@string/status_bar_clear_all_button" android:layout_toRightOf="@id/date" />
<ImageView android:id="@id/settings_button" android:paddingLeft="19.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginTop="4.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="4.0dip" android:src="@drawable/ic_notify_quicksettings" android:scaleType="center" android:layout_toRightOf="@id/clear_all_button" android:contentDescription="@string/accessibility_settings_button" />
</RelativeLayout>
</com.tenten.TogglesButton2>
</LinearLayout>
<LinearLayout android:layout_gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.LayoutAnimation1 android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.powerwidget.PowerWidget android:background="@drawable/fondo1" android:paddingLeft="6.0dip" android:paddingTop="10.0dip" android:paddingRight="6.0dip" android:paddingBottom="10.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="center_vertical" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</RelativeLayout>
<include android:paddingLeft="6.0dip" android:paddingRight="6.0dip" layout="@layout/qp_brightness" />
<LinearLayout android:orientation="vertical" android:id="@id/power_and_carrier" android:background="#ffee0b0b" android:paddingTop="0.0dip" android:paddingRight="0.0dip" android:paddingBottom="0.0dip" android:layout_width="fill_parent" android:layout_height="0.0dip">
<com.android.systemui.statusbar.powerwidget.PowerWidget android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/carrier_label_layout" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</LinearLayout>
</com.tenten.LayoutAnimation1>
</LinearLayout>
<LinearLayout android:layout_gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.LayoutAnimation2 android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include layout="@layout/eboy_toggle_mda" />
</com.tenten.LayoutAnimation2>
</LinearLayout>
<LinearLayout android:layout_gravity="center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.tenten.LayoutAnimation3 android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.tenten.UpDownBoomPaw android:layout_width="fill_parent" android:layout_height="wrap_content">
<FrameLayout android:id="@id/notifications" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:id="@id/notificationLinearLayout" android:paddingLeft="5.0dip" android:paddingRight="5.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:textColor="#ff009688" android:gravity="right" android:id="@id/noNotificationsTitle" android:background="@drawable/shade_header_background" android:paddingRight="2.0dip" android:layout_width="fill_parent" android:layout_height="0.0dip" android:text="@string/status_bar_no_notifications_title" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:textColor="#ff009688" android:gravity="right" android:id="@id/ongoingTitle" android:background="@drawable/shade_header_background" android:paddingRight="10.0dip" android:layout_width="fill_parent" android:layout_height="0.0dip" android:text="@string/status_bar_ongoing_events_title" />
<LinearLayout android:textColor="#ff009688" android:orientation="vertical" android:id="@id/ongoingItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Title" android:textColor="#ff009688" android:gravity="right" android:id="@id/latestTitle" android:background="@drawable/shade_header_background" android:paddingRight="10.0dip" android:layout_width="fill_parent" android:layout_height="0.0dip" android:text="@string/status_bar_latest_events_title" />
<LinearLayout android:textColor="#ff009688" android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<TextView android:textColor="#ff009688" android:layout_gravity="right|center" android:id="@id/compact_clear_all_button" android:background="@drawable/btn_clear" android:paddingLeft="15.0dip" android:paddingRight="15.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4.0dip" android:layout_marginBottom="1.0dip" android:text=" " />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
<ScrollView android:id="@id/bottomScroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:overScrollMode="ifContentScrolls">
<com.android.systemui.statusbar.NotificationLinearLayout android:layout_gravity="bottom" android:orientation="vertical" android:id="@id/bottomNotificationLinearLayout" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</ScrollView>
<LinearLayout android:orientation="horizontal" android:id="@id/compact_carrier_layout" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Title" android:gravity="bottom|right|center" android:background="@*android:color/transparent" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="6.0dip" android:singleLine="true" android:layout_alignParentRight="true" />
</LinearLayout>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
</com.tenten.UpDownBoomPaw>
</com.tenten.LayoutAnimation3>
</LinearLayout>
</LinearLayout>
Click to expand...
Click to collapse
Provide your logcat
AATRONIX said:
THE LINK TO SCREENSHOT IS NOT WORKING PLZ ADD THME :good:
Click to expand...
Click to collapse
video http://m.youtube.com/watch?v=8XVy5Wmf9Z4
request
eboybasit said:
video http://m.youtube.com/watch?v=8XVy5Wmf9Z4
Click to expand...
Click to collapse
Just one request my friend can you make a tut on getting lollipop on-touch button (ripple effect) plzz
AATRONIX said:
Just one request my friend can you make a tut on getting lollipop on-touch button (ripple effect) plzz
Click to expand...
Click to collapse
Okay
Items Required:-
Apktool
Notepad++
brain.apk
common sense.jar :what:
Let's Start
Procedure:-
Decompile Systemui.apk
Merge the file given in attachment to drawable folder
Now goto res/layout-port
Make you status_bar_recent_item.xml look like this
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingBottom="0.0dip" android:paddingTop="0.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="-60.0dip" android:importantForAccessibility="no"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_horizontal" android:id="@id/recent_item" android:layout_width="wrap_content" android:layout_height="wrap_content" android:clipChildren="false" android:rotationX="-10.0">
<FrameLayout android:id="@id/app_thumbnail" android:background="@drawable/recents_thumbnail_bg" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:foreground="@drawable/recents_thumbnail_fg" android:layout_alignParentTop="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="260.0dip" android:layout_height="170.0dip" />
<RelativeLayout android:layout_width="260.0dip" android:layout_height="42.0dip" android:layout_alignParentTop="true" android:background="@drawable/aji_lolli_recent_header">
<ImageView android:id="@id/app_icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_marginLeft="3.0dip" android:layout_marginTop="8.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="48.0dip" android:maxHeight="48.0dip" />
<TextView android:textSize="14.0dip" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:layout_centerVertical="true" android:layout_toRightOf="@id/app_icon" android:id="@id/app_label" android:fadingEdge="horizontal" android:fadingEdgeLength="20.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scrollHorizontally="true" android:importantForAccessibility="no" android:singleLine="true" />
</RelativeLayout>
</FrameLayout>
<View android:id="@id/recents_callout_line" android:background="@drawable/recents_callout_line" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="1.0dip" android:layout_marginLeft="3.0dip" android:layout_marginTop="3.0dip" android:layout_marginRight="3.0dip" android:layout_toLeftOf="@id/app_thumbnail" android:layout_alignParentLeft="true" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:visibility="gone" android:fadingEdge="horizontal" android:fadingEdgeLength="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="0.0dip" android:layout_marginTop="3.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/recents_callout_line" android:layout_alignParentLeft="true" />
</RelativeLayout>
</FrameLayout>
Make you status_bar_recent_panel.xml look like this
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent" systemui:recentItemLayout="@layout/status_bar_recent_item"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<View android:id="@id/recents_transition_background" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true">
<ImageView android:id="@id/recents_transition_placeholder_icon" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.recent.RecentsVerticalScrollView android:layout_gravity="bottom|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="vertical" android:fadingEdgeLength="10.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null" android:rotationX="10.0">
<LinearLayout android:orientation="vertical" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsVerticalScrollView>
<LinearLayout android:layout_gravity="bottom|center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:layout_gravity="center" android:id="@id/shortcut_line" android:visibility="gone" android:layout_width="300.0dip" android:layout_height="1.0dip" android:src="@drawable/shortcut_head_line" android:scaleType="center" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/application_shortcut_layout" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="7.0dip">
<LinearLayout android:gravity="center" android:orientation="vertical" android:id="@id/shortcut1_layout" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:layout_marginRight="10.0dip">
<ImageView android:id="@id/shortcut1_icon" android:layout_width="52.0dip" android:layout_height="52.0dip" />
<TextView android:textSize="14.0dip" android:textColor="#ffd7d7d7" android:ellipsize="marquee" android:id="@id/shortcut1_text" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="1" />
</LinearLayout>
<LinearLayout android:gravity="center" android:orientation="vertical" android:id="@id/shortcut2_layout" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:layout_marginRight="10.0dip">
<ImageView android:id="@id/shortcut2_icon" android:layout_width="52.0dip" android:layout_height="52.0dip" />
<TextView android:textSize="14.0dip" android:textColor="#ffd7d7d7" android:ellipsize="marquee" android:id="@id/shortcut2_text" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="1" />
</LinearLayout>
<LinearLayout android:gravity="center" android:orientation="vertical" android:id="@id/shortcut3_layout" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:layout_marginRight="10.0dip">
<ImageView android:id="@id/shortcut3_icon" android:layout_width="52.0dip" android:layout_height="52.0dip" />
<TextView android:textSize="14.0dip" android:textColor="#ffd7d7d7" android:ellipsize="marquee" android:id="@id/shortcut3_text" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="1" />
</LinearLayout>
<LinearLayout android:gravity="center" android:orientation="vertical" android:id="@id/shortcut4_layout" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:layout_marginRight="10.0dip">
<ImageView android:id="@id/shortcut4_icon" android:layout_width="52.0dip" android:layout_height="52.0dip" />
<TextView android:textSize="14.0dip" android:textColor="#ffd7d7d7" android:ellipsize="marquee" android:id="@id/shortcut4_text" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="1" />
</LinearLayout>
</LinearLayout>
<LinearLayout android:layout_gravity="bottom" android:orientation="horizontal" android:background="@drawable/tw_ab_bottom_transparent_dark_holo" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ImageButton android:id="@id/recents_launch_button" android:background="@drawable/tw_recent_panel_button_forphone" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/tw_recent_panel_ic_task_manager_holo_dark" android:layout_weight="1.0" android:contentDescription="@string/status_bar_recent_launch_task_manager_title" style="?android:attr/buttonStyle" />
<LinearLayout android:layout_gravity="center_vertical" android:background="@drawable/tw_divider_vertical_holo_dark" android:layout_width="1.0dip" android:layout_height="29.0dip" />
<ImageButton android:id="@id/recents_google_button" android:background="@drawable/tw_recent_panel_button_forphone" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/tw_recent_panel_ic_google_holo_dark" android:layout_weight="1.0" android:contentDescription="@string/status_bar_recent_launch_google_button" style="?android:attr/buttonStyle" />
<LinearLayout android:layout_gravity="center_vertical" android:background="@drawable/tw_divider_vertical_holo_dark" android:layout_width="1.0dip" android:layout_height="29.0dip" />
<ImageButton android:id="@id/recents_RemoveAll_button" android:background="@drawable/tw_recent_panel_button_forphone" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/tw_recent_panel_ic_delete_holo_dark" android:layout_weight="1.0" android:contentDescription="@string/status_bar_recent_remove_all_button" style="?android:attr/buttonStyle" />
</LinearLayout>
</LinearLayout>
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/tw_status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
Tested in Samsung Jb 4.1.2 Touchwiz by me.
Bug:- One header missing in only one recent thumbnail
Dont forget to hit thanks button
Note:- Dont Cook Up Your Phone
Credits:-
Aji wahyu
Dhenz Anarchy
Arta Bagger
Download attachment from here:- https://db.tt/VVvTLQ6H
Good one :good:
syaeful said:
Good one :good:
Click to expand...
Click to collapse
thanks bro
I cannot seem to find my brain.apk and commonsense.jar he he just kidding...
BTW can you post ss on the thread my connection is really slow
Here is the ss https://scontent-iad3-1.xx.fbcdn.ne...=247ab03a780303d5e386419863bbf4f1&oe=56444E78
Thanks
Jcvillar said:
Thanks
Click to expand...
Click to collapse
welcome
eboybasit said:
welcome
Click to expand...
Click to collapse
please bro make this for me ive posted my files in previous post of urs(lollipop card recent view)
please do this for me
Me too pls make this for me 2. My computer lags all the time because ram is only 512mb. thanks will post systemui.
Now goto res/layout-port
Click to expand...
Click to collapse
i have only layout-land and layout folder .....
???
timuralaskara said:
i have only layout-land and layout folder .....
???
Click to expand...
Click to collapse
Then you will get the mentioned xmls in layout folder :v
manikar said:
please bro make this for me ive posted my files in previous post of urs(lollipop card recent view)
please do this for me
Click to expand...
Click to collapse
Sorry sir i have different jobs which needs to be completed in time,,, i dont think the guide is much difficult,,,, its only compare and nothing more hope you will make it by yourself
Snow Golem28 said:
Me too pls make this for me 2. My computer lags all the time because ram is only 512mb. thanks will post systemui.
Click to expand...
Click to collapse
Try to make yourself :v giving any excuse wont make this for u ,,,,use apktool mobile to make yourself
manikar said:
please bro make this for me ive posted my files in previous post of urs(lollipop card recent view)
please do this for me
Click to expand...
Click to collapse
Its simply compare and make its not a tough guide so you can make it by yourself
eboybasit said:
Items Required:-
Apktool
Notepad++
brain.apk
common sense.jar :what:
Let's Start
Procedure:-
Decompile Systemui.apk
Merge the file given in attachment to drawable folder
Now goto res/layout-port
Make you tw_status_bar_recent_item.xml look like this
Code:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:paddingBottom="0.0dip" android:paddingTop="0.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="-60.0dip" android:importantForAccessibility="no"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="center_horizontal" android:id="@id/recent_item" android:layout_width="wrap_content" android:layout_height="wrap_content" android:clipChildren="false" android:rotationX="-10.0">
<FrameLayout android:id="@id/app_thumbnail" android:background="@drawable/recents_thumbnail_bg" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:foreground="@drawable/recents_thumbnail_fg" android:layout_alignParentTop="true">
<ImageView android:id="@id/app_thumbnail_image" android:layout_width="260.0dip" android:layout_height="170.0dip" />
<RelativeLayout android:layout_width="260.0dip" android:layout_height="42.0dip" android:layout_alignParentTop="true" android:background="@drawable/aji_lolli_recent_header">
<ImageView android:id="@id/app_icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_marginLeft="3.0dip" android:layout_marginTop="8.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="48.0dip" android:maxHeight="48.0dip" />
<TextView android:textSize="14.0dip" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:layout_centerVertical="true" android:layout_toRightOf="@id/app_icon" android:id="@id/app_label" android:fadingEdge="horizontal" android:fadingEdgeLength="20.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:scrollHorizontally="true" android:importantForAccessibility="no" android:singleLine="true" />
</RelativeLayout>
</FrameLayout>
<View android:id="@id/recents_callout_line" android:background="@drawable/recents_callout_line" android:visibility="gone" android:layout_width="0.0dip" android:layout_height="1.0dip" android:layout_marginLeft="3.0dip" android:layout_marginTop="3.0dip" android:layout_marginRight="3.0dip" android:layout_toLeftOf="@id/app_thumbnail" android:layout_alignParentLeft="true" />
<TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:visibility="gone" android:fadingEdge="horizontal" android:fadingEdgeLength="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="0.0dip" android:layout_marginTop="3.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/recents_callout_line" android:layout_alignParentLeft="true" />
</RelativeLayout>
</FrameLayout>
Make you tw_status_bar_recent_panel.xml look like this
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.recent.RecentsPanelView android:id="@id/recents_root" android:layout_width="fill_parent" android:layout_height="fill_parent" systemui:recentItemLayout="@layout/status_bar_recent_item"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<View android:id="@id/recents_transition_background" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<FrameLayout android:id="@id/recents_bg_protect" android:background="@drawable/status_bar_recents_background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentBottom="true">
<ImageView android:id="@id/recents_transition_placeholder_icon" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.recent.RecentsVerticalScrollView android:layout_gravity="bottom|center" android:id="@id/recents_container" android:scrollbars="none" android:fadingEdge="vertical" android:fadingEdgeLength="10.0dip" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginRight="0.0dip" android:stackFromBottom="true" android:divider="@null" android:rotationX="10.0">
<LinearLayout android:orientation="vertical" android:id="@id/recents_linear_layout" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.recent.RecentsVerticalScrollView>
<LinearLayout android:layout_gravity="bottom|center" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:layout_gravity="center" android:id="@id/shortcut_line" android:visibility="gone" android:layout_width="300.0dip" android:layout_height="1.0dip" android:src="@drawable/shortcut_head_line" android:scaleType="center" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/application_shortcut_layout" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="7.0dip">
<LinearLayout android:gravity="center" android:orientation="vertical" android:id="@id/shortcut1_layout" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:layout_marginRight="10.0dip">
<ImageView android:id="@id/shortcut1_icon" android:layout_width="52.0dip" android:layout_height="52.0dip" />
<TextView android:textSize="14.0dip" android:textColor="#ffd7d7d7" android:ellipsize="marquee" android:id="@id/shortcut1_text" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="1" />
</LinearLayout>
<LinearLayout android:gravity="center" android:orientation="vertical" android:id="@id/shortcut2_layout" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:layout_marginRight="10.0dip">
<ImageView android:id="@id/shortcut2_icon" android:layout_width="52.0dip" android:layout_height="52.0dip" />
<TextView android:textSize="14.0dip" android:textColor="#ffd7d7d7" android:ellipsize="marquee" android:id="@id/shortcut2_text" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="1" />
</LinearLayout>
<LinearLayout android:gravity="center" android:orientation="vertical" android:id="@id/shortcut3_layout" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:layout_marginRight="10.0dip">
<ImageView android:id="@id/shortcut3_icon" android:layout_width="52.0dip" android:layout_height="52.0dip" />
<TextView android:textSize="14.0dip" android:textColor="#ffd7d7d7" android:ellipsize="marquee" android:id="@id/shortcut3_text" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="1" />
</LinearLayout>
<LinearLayout android:gravity="center" android:orientation="vertical" android:id="@id/shortcut4_layout" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10.0dip" android:layout_marginRight="10.0dip">
<ImageView android:id="@id/shortcut4_icon" android:layout_width="52.0dip" android:layout_height="52.0dip" />
<TextView android:textSize="14.0dip" android:textColor="#ffd7d7d7" android:ellipsize="marquee" android:id="@id/shortcut4_text" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="1" />
</LinearLayout>
</LinearLayout>
<LinearLayout android:layout_gravity="bottom" android:orientation="horizontal" android:background="@drawable/tw_ab_bottom_transparent_dark_holo" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0">
<ImageButton android:id="@id/recents_launch_button" android:background="@drawable/tw_recent_panel_button_forphone" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/tw_recent_panel_ic_task_manager_holo_dark" android:layout_weight="1.0" android:contentDescription="@string/status_bar_recent_launch_task_manager_title" style="?android:attr/buttonStyle" />
<LinearLayout android:layout_gravity="center_vertical" android:background="@drawable/tw_divider_vertical_holo_dark" android:layout_width="1.0dip" android:layout_height="29.0dip" />
<ImageButton android:id="@id/recents_google_button" android:background="@drawable/tw_recent_panel_button_forphone" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/tw_recent_panel_ic_google_holo_dark" android:layout_weight="1.0" android:contentDescription="@string/status_bar_recent_launch_google_button" style="?android:attr/buttonStyle" />
<LinearLayout android:layout_gravity="center_vertical" android:background="@drawable/tw_divider_vertical_holo_dark" android:layout_width="1.0dip" android:layout_height="29.0dip" />
<ImageButton android:id="@id/recents_RemoveAll_button" android:background="@drawable/tw_recent_panel_button_forphone" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/tw_recent_panel_ic_delete_holo_dark" android:layout_weight="1.0" android:contentDescription="@string/status_bar_recent_remove_all_button" style="?android:attr/buttonStyle" />
</LinearLayout>
</LinearLayout>
</FrameLayout>
<include android:id="@id/recents_no_apps" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/tw_status_bar_no_recent_apps" />
</com.android.systemui.recent.RecentsPanelView>
Tested in Samsung Jb 4.1.2 Touchwiz by me.
Bug:- One header missing in only one recent thumbnail
Note:- Dont Cook Up Your Phone
Credits:-
Aji wahyu
Dhenz Anarchy
Arta Bagger
Click to expand...
Click to collapse
hey can you make a guide how to make lollipop recent apps on Touchwiz 4.4.2 Kitkat ? Thanks
Does this also work for kitkat devices?
I got this sir.. Any improvement from this sir??
Sent from my GT-I8552 using XDA Free mobile app
Ashwin Asher said:
I got this sir.. Any improvement from this sir??
Sent from my GT-I8552 using XDA Free mobile app
Click to expand...
Click to collapse
Sr
How do u stretched the layout image
I tried set but i could not. This is mine, how can i fix it?
View attachment 3348249
@eboybasit
Can u help me fix?
tks
Sent from my GT-I8552B using XDA Free mobile app
mjraogr said:
Sr
How do u stretched the layout image
I tried set but i could not. This is mine, how can i fix it?
View attachment 3348249
@eboybasit
Can u help me fix?
tks
Sent from my GT-I8552B using XDA Free mobile app
Click to expand...
Click to collapse
Change thumbnail width as well as height