Black on Black WeatherBug fix for Zenito

Discussion in 'Team D1-MIUI' started by tjkriegel, Oct 2, 2010.

  1. tjkriegel
    Offline

    tjkriegel New Member

    Joined:
    Mar 6, 2010
    Messages:
    153
    Likes Received:
    0
    Trophy Points:
    0
    Don't know if anyone else could use this but when I switched to Zenito I was having a black on black issue in the notification dropdown with my WeatherBug free edition. As I cannot live without my WeatherBug, I patched it up and figured I would post it in case anyone else needed it.

    *Installation instructions*

    -Uninstall WeatherBug either from settings/applications or the market
    -Download WeatherBug.zip
    -Change zip to apk
    -Install

    **This is the free edition of WeatherBug, not WeatherBug Elite**

    Attached Files:

  2. sincerity
    Offline

    sincerity New Member

    Joined:
    Dec 4, 2009
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    0
    hey how did you patch it up? I have elite?
  3. davros
    Offline

    davros Premium Member Premium Member Developer

    Joined:
    Jun 7, 2010
    Messages:
    2,837
    Likes Received:
    28
    Trophy Points:
    0
    Location:
    Worcester MA
    Do tell

    sent by draining my battery.....
  4. frostthejack
    Offline

    frostthejack New Member

    Joined:
    Sep 6, 2010
    Messages:
    329
    Likes Received:
    0
    Trophy Points:
    0
    You don't have to patch you can change in setting of weather bug.

    Sent from my Droid using Tapatalk
  5. davros
    Offline

    davros Premium Member Premium Member Developer

    Joined:
    Jun 7, 2010
    Messages:
    2,837
    Likes Received:
    28
    Trophy Points:
    0
    Location:
    Worcester MA
    Nope that's just the temp in the status bar ;)

    sent by draining my battery.....
  6. tjkriegel
    Offline

    tjkriegel New Member

    Joined:
    Mar 6, 2010
    Messages:
    153
    Likes Received:
    0
    Trophy Points:
    0
    I pulled the apk and used apk manager to decompile. There are 2 folders named layout-v3 and layout-v4 both containing xmls called notification_expanded_layout.xml.

    <?xml version="1.0" encoding="UTF-8"?>
    <RelativeLayout android:id="@id/LinearLayout01" android:layout_width="fill_parent" android:layout_height="fill_parent"
    xmlns:android="http://schemas.android.com/apk/res/android">
    <RelativeLayout android:id="@id/RelativeLayout02" android:layout_width="55.0dip" android:layout_height="wrap_content" android:layout_alignParentTop="true">
    <ImageView android:id="@id/NotificationForecastImageView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/cond045" />
    <TextView android:textColor="#ff000000" android:id="@id/NotificationTemperature" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="12.0dip" android:layout_marginTop="2.0dip" android:text="72" android:layout_below="@id/NotificationForecastImageView" android:layout_alignParentLeft="true" />
    </RelativeLayout>
    <RelativeLayout android:id="@id/RelativeLayout03" android:layout_width="75.0dip" android:layout_height="wrap_content" android:layout_alignParentRight="true">
    <TextView android:textColor="#ff000000" android:id="@id/NotificationTimeStamp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:layout_marginBottom="20.0dip" android:text="10:00" android:layout_alignParentRight="true" />
    <TextView android:textColor="#ff000000" android:id="@id/NotificationHiLo" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="75/49" android:layout_below="@id/NotificationTimeStamp" android:layout_alignParentRight="true" />
    </RelativeLayout>
    <RelativeLayout android:gravity="center_horizontal" android:id="@id/RelativeLayout01" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginTop="5.0dip" android:layout_marginRight="8.0dip" android:layout_toLeftOf="@id/RelativeLayout03" android:layout_toRightOf="@id/RelativeLayout02">
    <TextView android:textSize="17.0dip" android:textColor="#ff000000" android:ellipsize="end" android:id="@id/NotificationLocationName" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="15.0dip" android:text="Germantown, MD" android:singleLine="true" android:layout_centerHorizontal="true" />
    <TextView android:textColor="#ff000000" android:ellipsize="end" android:id="@id/NotificationForecastTextView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Partly Sunny" android:singleLine="true" android:layout_below="@id/NotificationLocationName" android:layout_centerHorizontal="true" />
    </RelativeLayout>
    </RelativeLayout>

    Edit the 5 instances where it says textColor="#ff000000" which is black to textColor="ffffffff" for white. Do this for the xmls in both of the folders.

    Recompile and resign with apk manager and you now have a weatherbug elite with white text in the notification dropdown.

    As stated before I do not own WeatherBug Elite and posting of paid apps is not allowed on this forum so I cannot make this available to download from this thread. If you have any questions feel free to pm me!
Search tags for this page
how do i change the colors on the weatherbug
,
how fix weather bug white background
,
how to change background color from black on weatherbug
,
how to change background color in weatherbug desktop
,
weatherbug change text color
,

weatherbug white background

,
white and black screen weather bug