Author Topic: L38c notification music player  (Read 2425 times)

0 Members and 1 Guest are viewing this topic.

L38c notification music player

« on: April 07, 2013, 02:28:28 PM »
  • Thank You
  • -Given: 0
  • -Receive: 1
  • grouchpunk08

    Posts: 25
    User Rating: +3/-0
    Offline
    • *
    • Jr. Member
    On my l38c there is a music player in my notification area. At first I wanted to change the player it used, as on mine it uses the LG music player. At this point however I just wanted to know if there would be a way to outright remove the player completely from the pull down notification area. I don't use it and it's just taking up space making me scroll up every time I wish to view my notifications.

    Sent from my LG-L38C using Tapatalk 2

    • Stock
    • Optimus Dynamic LG-L38C
    • Stock
    • No Rom

    Re: L38c notification music player

    « Reply #1 on: April 07, 2013, 07:20:50 PM »
  • Thank You
  • -Given: 0
  • -Receive: 0
  • monkeyboy

    Posts: 29
    User Rating: +0/-0
    Offline
    • *
    • Jr. Member
    Yeah I researched that a week or two ago it involves unpacking a certain file from the ROM and replacing code I would mess with it but I've already come pretty close a couple times to bricking my phone from messing around with stuff above my tech level so I just live with it. There are several threads about it over at the XDA developers forum.
    • Stock
    • Stock
    • No Rom
    • n/a

    Re: L38c notification music player

    « Reply #2 on: April 22, 2013, 10:38:04 PM »
  • Thank You
  • -Given: 0
  • -Receive: 0
  • monkeyboy

    Posts: 29
    User Rating: +0/-0
    Offline
    • *
    • Jr. Member
    I finally got educated enough to decompile the systemUI to remove the stock music controls. The isntructions for doing this were for other LG models where within /res/Layout/indi_music_control_bar.xml where you simply change the height value to 0.0dip to get rid of the controller. On the LG-L38C there is no music control'ish xml to be found in that directory however if you open \res\Layout\lge_status_bar_expanded.xml which makes sense cuz thats where the player is shown is in the expanded status bar you find code mapping out the music controller. Can anyone tell me which values to change here to remove the player? I highlighted some key terms where I think the modification is to take place.

    <?xml version="1.0" encoding="UTF-8"?>
    -<com.android.systemui.statusbar.ExpandedView xmlns:android="You are not allowed to view links. Register or Login" android:descendantFocusability="afterDescendants" android:focusable="true" android:orientation="vertical"> -<LinearLayout android:orientation="horizontal" android:layout_height="71.0dip" android:layout_width="fill_parent" android:paddingBottom="10.0dip" android:paddingRight="10.0dip" android:paddingTop="9.0dip" android:paddingLeft="10.0dip" android:background[b]="@drawable/indi_noti_icon_bg"[/b] android:id="@id/quick_setting_port" android:gravity="center"> <ImageView android:layout_height="52.0dip" android:layout_width="52.0dip" android:id="@id/sound_button_toggle_port" android:layout_marginRight="10.0dip"/> <ImageView android:layout_height="52.0dip" android:layout_width="52.0dip" android:id="@id/wifi_button_toggle_port" android:layout_marginRight="10.0dip"/> <ImageView android:layout_height="52.0dip" android:layout_width="52.0dip" android:id="@id/bt_button_toggle_port" android:layout_marginRight="10.0dip"/> <ImageView android:layout_height="52.0dip" android:layout_width="52.0dip" android:id="@id/gps_button_toggle_port" android:layout_marginRight="10.0dip"/> <ImageView android:layout_height="52.0dip" android:layout_width="52.0dip" android:id="@id/nfc_button_toggle_port" android:layout_marginRight="10.0dip"/> <ImageView android:layout_height="52.0dip" android:layout_width="52.0dip" android:id="@id/network_button_toggle_port"/> </LinearLayout> -<LinearLayout android:orientation="horizontal" android:layout_height="53.0dip" android:layout_width="fill_parent" android:paddingBottom="1.0dip" android:paddingRight="10.0dip" android:paddingTop="1.0dip" android:paddingLeft="10.0dip" android:background="@drawable/indi_noti_icon_bg" android:id="@id/quick_setting_land" android:gravity="center"> <ImageView android:layout_height="52.0dip" android:layout_width="84.0dip" android:id="@id/sound_button_toggle_land" android:layout_marginRight="10.0dip"/> <ImageView android:layout_height="52.0dip" android:layout_width="84.0dip" android:id="@id/wifi_button_toggle_land" android:layout_marginRight="10.0dip"/> <ImageView android:layout_height="52.0dip" android:layout_width="84.0dip" android:id="@id/bt_button_toggle_land" android:layout_marginRight="10.0dip"/> <ImageView android:layout_height="52.0dip" android:layout_width="84.0dip" android:id="@id/gps_button_toggle_land" android:layout_marginRight="10.0dip"/> <ImageView android:layout_height="52.0dip" android:layout_width="84.0dip" android:id="@id/nfc_button_toggle_land" android:layout_marginRight="10.0dip"/> <ImageView android:layout_height="52.0dip" android:layout_width="84.0dip" android:id="@id/network_button_toggle_land"/> </LinearLayout> -<LinearLayout android:orientation="horizontal" android:layout_height="wrap_content" android:layout_width="wrap_content" android:paddingBottom="3.0dip" android:paddingRight="9.0dip" android:paddingTop="3.0dip" android:paddingLeft="3.0dip" android:background="@drawable/indi_noti_music_bg" android:id="@id/music_status_bar_port" android:gravity="left" android:layout_gravity="center"> -<FrameLayout android:layout_height="69.0dip" android:layout_width="68.0dip" android:id="@id/Music_Control_FrameLayout_port" android:layout_marginBottom="2.0dip"> <ImageView android:layout_height="66.0dip" android:layout_width="66.0dip" android:background="@drawable/music_album_border" android:id="@id/musicStatusBar_album_bg_port" android:layout_gravity="center_vertical"/> <ImageView android:layout_height="65.0dip" android:layout_width="65.0dip" android:id="@id/musicStatusBar_album_image_port" android:layout_gravity="center_vertical"/> <ImageView android:layout_height="65.0dip" android:layout_width="65.0dip" android:background="#00ffffff" android:id="@id/musicStatusBar_album_animation_port" android:layout_gravity="center_vertical"/> </FrameLayout> -<RelativeLayout android:layout_height="69.0dip" android:layout_width="fill_parent" android:id="@id/Control_RelativeLayout_port" android:gravity="bottom" android:layout_marginLeft="9.0dip"> <TextView android:layout_height="20.0dip" android:layout_width="fill_parent" android:id="@id/musicStatusBar_title_text_view_port" android:gravity="top" android:layout_marginBottom="3.0dip" android:singleLine="true" android:ellipsize="marquee" android:textColor="@color/white" android:typeface="sans" android:textSize="15.0dip"/> <ProgressBar android:layout_height="4.0dip" android:layout_width="fill_parent" android:paddingRight="4.0dip" android:paddingLeft="4.0dip" android:background="#00ffffff" android:id="@id/musicStatusBar_ProgressBar_port" android:layout_gravity="center" android:layout_marginBottom="3.0dip" style="?android:progressBarStyleHorizontal" android:layout_below="@id/musicStatusBar_title_text_view_port" android:progressDrawable="@drawable/progress_horizontal"/> -<LinearLayout android:orientation="horizontal" android:layout_height="36.0dip" android:layout_width="fill_parent" android:id="@id/button_LinearLayout_port" android:layout_below="@id/musicStatusBar_ProgressBar_port"> <ImageButton android:layout_height="36.0dip" android:layout_width="77.0dip" android:background="#00ffffff" android:id="@id/musicStatusBar_control_rew_port" android:scaleType="center"/> <ImageButton android:layout_height="36.0dip" android:layout_width="76.0dip" android:background="#00ffffff" android:id="@id/musicStatusBar_control_play_port" android:scaleType="center"/> <ImageButton android:layout_height="36.0dip" android:layout_width="77.0dip" android:background="#00ffffff" android:id="@id/musicStatusBar_control_ff_port" android:scaleType="center"/> </LinearLayout> </RelativeLayout> </LinearLayout> -<LinearLayout android:orientation="horizontal" android:layout_height="wrap_content" android:layout_width="wrap_content" android:paddingBottom="3.0dip" android:paddingRight="3.0dip" android:paddingTop="3.0dip" android:paddingLeft="3.0dip" android:background="@drawable/indi_noti_music_bg" android:id="@id/music_status_bar_land" android:gravity="left" android:layout_gravity="center"> -<FrameLayout android:layout_height="69.0dip" android:layout_width="68.0dip" android:id="@id/Music_Control_FrameLayout_land" android:layout_marginBottom="2.0dip"> <ImageView android:layout_height="66.0dip" android:layout_width="66.0dip" android:background="@drawable/music_album_border" android:id="@id/musicStatusBar_album_bg_land" android:layout_gravity="center_vertical"/> <ImageView android:layout_height="65.0dip" android:layout_width="65.0dip" android:id="@id/musicStatusBar_album_image_land" android:layout_gravity="center_vertical"/> <ImageView android:layout_height="65.0dip" android:layout_width="65.0dip" android:background="#00ffffff" android:id="@id/musicStatusBar_album_animation_land" android:layout_gravity="center_vertical"/> </FrameLayout> -<RelativeLayout android:layout_height="69.0dip" android:layout_width="fill_parent" android:id="@id/Control_RelativeLayout_land" android:gravity="bottom" android:layout_marginLeft="9.0dip"> <TextView android:layout_height="20.0dip" android:layout_width="fill_parent" android:id="@id/musicStatusBar_title_text_view_land" android:gravity="top" android:layout_marginBottom="3.0dip" android:singleLine="true" android:ellipsize="marquee" android:textColor="@color/white" android:typeface="sans" android:textSize="15.0dip"/> <ProgressBar android:layout_height="4.0dip" android:layout_width="fill_parent" android:paddingRight="4.0dip" android:paddingLeft="4.0dip" android:background="#00ffffff" android:id="@id/musicStatusBar_ProgressBar_land" android:layout_gravity="center" android:layout_marginBottom="3.0dip" style="?android:progressBarStyleHorizontal" android:layout_below="@id/musicStatusBar_title_text_view_land" android:progressDrawable="@drawable/progress_horizontal"/> -<LinearLayout android:orientation="horizontal" android:layout_height="36.0dip" android:layout_width="fill_parent" android:id="@id/button_LinearLayout_land" android:layout_below="@id/musicStatusBar_ProgressBar_land"> <ImageButton android:layout_height="36.0dip" android:layout_width="109.0dip" android:background="#00ffffff" android:id="@id/musicStatusBar_control_rew_land" android:scaleType="center"/> <ImageButton android:layout_height="36.0dip" android:layout_width="112.0dip" android:background="#00ffffff" android:id="@id/musicStatusBar_control_play_land" android:scaleType="center"/> <ImageButton android:layout_height="36.0dip" android:layout_width="109.0dip" android:background="#00ffffff" android:id="@id/musicStatusBar_control_ff_land" android:scaleType="center"/> </LinearLayout> </RelativeLayout> </LinearLayout> -<LinearLayout android:orientation="horizontal" android:layout_height="64.0dip" android:layout_width="fill_parent" android:paddingBottom="5.0dip" android:paddingRight="3.0dip" android:paddingTop="3.0dip" android:background="@drawable/status_bar_item_background_normal"> <com.android.systemui.statusbar.CarrierLabel android:layout_height="wrap_content" android:layout_width="0.0dip" android:paddingBottom="1.0dip" android:paddingLeft="4.0dip" android:layout_gravity="center_vertical" android:layout_marginLeft="5.0dip" android:textColor="#ffdfdfdf" android:layout_weight="1.0" android:layout_marginTop="1.0dip" android:textAppearance="?android:textAppearanceLarge"/> <TextView android:layout_height="wrap_content" android:layout_width="wrap_content" android:paddingRight="19.0dip" android:paddingLeft="19.0dip" android:background="@android:drawable/btn_default" android:id="@id/clear_all_button" android:layout_gravity="center_vertical" android:layout_marginBottom="1.0dip" android:textColor="#ff000000" android:textSize="16.0sp" style="?android:attr/buttonStyle" android:layout_marginTop="4.0dip" android:text="@string/status_bar_clear_all_button"/> </LinearLayout> -<FrameLayout android:layout_height="wrap_content" android:layout_width="fill_parent" android:layout_weight="1.0"> -<ScrollView android:layout_height="fill_parent" android:layout_width="fill_parent" android:id="@id/scroll" android:overScrollMode="ifContentScrolls" android:fadingEdge="none"> -<com.android.systemui.statusbar.NotificationLinearLayout android:orientation="vertical" android:layout_height="wrap_content" android:layout_width="fill_parent" android:id="@id/notificationLinearLayout"> <TextView android:layout_height="wrap_content" android:layout_width="fill_parent" android:paddingLeft="5.0dip" android:background="@drawable/indi_noti_bar" android:id="@id/noNotificationsTitle" android:textAppearance="@style/TextAppearance.StatusBar.Title" android:text="@string/status_bar_no_notifications_title"/> <TextView android:layout_height="wrap_content" android:layout_width="fill_parent" android:paddingLeft="5.0dip" android:background="@drawable/indi_noti_bar" android:id="@id/ongoingTitle" android:textAppearance="@style/TextAppearance.StatusBar.Title" android:text="@string/status_bar_ongoing_events_title"/> <LinearLayout android:orientation="vertical" android:layout_height="wrap_content" android:layout_width="fill_parent" android:id="@id/ongoingItems"/> <TextView android:layout_height="wrap_content" android:layout_width="fill_parent" android:paddingLeft="5.0dip" android:background="@drawable/indi_noti_bar" android:id="@id/latestTitle" android:textAppearance="@style/TextAppearance.StatusBar.Title" android:text="@string/status_bar_latest_events_title"/> <LinearLayout android:orientation="vertical" android:layout_height="wrap_content" android:layout_width="fill_parent" android:id="@id/latestItems"/> </com.android.systemui.statusbar.NotificationLinearLayout> </ScrollView> <ImageView android:layout_height="fill_parent" android:layout_width="fill_parent" android:scaleType="fitXY" android:src="@drawable/title_bar_shadow"/> </FrameLayout> </com.android.systemui.statusbar.ExpandedView>
    « Last Edit: April 22, 2013, 11:26:41 PM by monkeyboy »
    • Stock
    • Stock
    • No Rom
    • n/a

    Re: L38c notification music player

    « Reply #3 on: April 23, 2013, 10:19:21 AM »
  • Thank You
  • -Given: 0
  • -Receive: 0
  • monkeyboy

    Posts: 29
    User Rating: +0/-0
    Offline
    • *
    • Jr. Member
    went through and searched the word music and changed all attached height values to 0.0dip recompiled and pushed back onto the phone but status bar and music controls remain unchanged so I'll go back through and read line for line and see if I can find the crucial setting I missed.
    • Stock
    • Stock
    • No Rom
    • n/a

    Re: L38c notification music player

    « Reply #4 on: April 23, 2013, 08:30:35 PM »
  • Thank You
  • -Given: 0
  • -Receive: 1
  • kingmt01

    Posts: 401
    User Rating: +113/-3
    Rom Developer -- Beta Tester
    Offline
    • Global Moderator
    • *
    • Hero Member
    :layout_height="36.0dip" android:layout_width="fill_parent" android:id="@id/button_LinearLayout_land" android:layout_below="@id/musicStatusBar_ProgressBar_land"> <ImageButton android:layout_height="36.0dip" android:layout_width="109.0dip" android:background="#00ffffff" android:id="@id/musicStatusBar_control_rew_land" android:scaleType="center"/> <ImageButton android:layout_height="36.0dip" android:layout_width="112.0dip" android:background="#00ffffff" android:id="@id/musicStatusBar_control_play_land" android:scaleType="center"/> <ImageButton android:layout_height="36.0dip" android:layout_width="109.0dip" android:background="#00ffffff"

    Would have been my guess.

    You might just change the drawable to a 0x0 image or even 1x1.
    • Custom
    • ZTE Merit / LG LGL35G
    • Clock Work Mod
    • No Rom
    • n/a
    If we have helped you please consider donating to the site so we will be here tomorrow to help the next guy or even you again.
    PAYPAL DIRECT EMAIL == You are not allowed to view links. Register or Login
    If I have helped you please hit the thanks button.

    Re: L38c notification music player

    « Reply #5 on: April 23, 2013, 09:29:51 PM »
  • Thank You
  • -Given: 0
  • -Receive: 1
  • grouchpunk08

    Posts: 25
    User Rating: +3/-0
    Offline
    • *
    • Jr. Member
    If i were to experiment with these what would i use? Adb?

    Sent from my LG-L38C using Tapatalk 2

    • Stock
    • Optimus Dynamic LG-L38C
    • Stock
    • No Rom

    Re: L38c notification music player

    « Reply #6 on: April 23, 2013, 09:50:47 PM »
  • Thank You
  • -Given: 0
  • -Receive: 0
  • monkeyboy

    Posts: 29
    User Rating: +0/-0
    Offline
    • *
    • Jr. Member
    Since noby jumped in for a while and I dont blame you thats too much java code and not enough coffee lol thanks for the tip I might go back in a day or two and give that a try. I went a different route and installed super taskbar premium and a new launcher Ice Cream 4.0 . The task bar can be custom configured or theme selected to mimic that of a couple dozen different popular roms and launchers I went with ice cream sandwich to match my launcher. between the new status bar and the new launcher my phone is insainely customizable
    Home Screen
    You are not allowed to view links. Register or Login
    Expanded notifications bar
    You are not allowed to view links. Register or Login
    « Last Edit: April 23, 2013, 09:52:44 PM by monkeyboy »
    • Stock
    • Stock
    • No Rom
    • n/a

    Re: L38c notification music player

    « Reply #7 on: October 10, 2013, 09:09:15 PM »
  • Thank You
  • -Given: 0
  • -Receive: 0
  • whodisname

    Posts: 40
    User Rating: +4/-0
    Offline
    • *
    • Jr. Member
    • Personal Text
      i like to assist when i can
    This might be pointless for me to add but i had an lg thrill. First phone i ever rooted. The notificatio  bar was clear  of this music widget until i removed a stock music player. I think google music. When i deleted that i had the same thing i  my status bar  its funny because i could delete the music player widget apk and have no problem but as soon as i deleted the stock  music app this showed up. And its the same exact thing because i had tk deal with it  until i learned how to flash roms. I never fixed it but  acidhazardrom didnt have it. Just some e info that migbt jog something aloose from an actual dev! ;)
    • AK51 Centura OC
    • LG-L38C
    • Clock Work Mod
    • AreaRom v1.0b
    • Rooted-Rom
    Shane everydevice i get my hands on gets different

    Re: L38c notification music player

    « Reply #8 on: October 12, 2013, 09:35:08 PM »
  • Thank You
  • -Given: 0
  • -Receive: 1
  • kingmt01

    Posts: 401
    User Rating: +113/-3
    Rom Developer -- Beta Tester
    Offline
    • Global Moderator
    • *
    • Hero Member
    Looks good moneyboy.
    • Custom
    • ZTE Merit / LG LGL35G
    • Clock Work Mod
    • No Rom
    • n/a
    If we have helped you please consider donating to the site so we will be here tomorrow to help the next guy or even you again.
    PAYPAL DIRECT EMAIL == You are not allowed to view links. Register or Login
    If I have helped you please hit the thanks button.

    Tags: