WHAT IS THIS?
Hmm. You will have some weather info any where in your ExpandedView
FEATURES
Temperature (Celcius)
Weather description
Location
Weather Icon

THINGS NEEDED
Notepad++ or any other good textEditor
The attached files
Deodex ROM
STEPS
Download the attached files (PotatoWeatherSettings & Weather.zip)
Install the PotatoWeatherSettings .apk
Decompile your SystemUI,apk
Extract the Weather.zip then copy it to your decompiled SystemUI.apk (I'm assuming that you know already where to put smali files)
Go to your expandedView.xml or the xml that is responsible for your expanded layout and add this code
Compile your SystemUI then push it back to your device
NOTE
The weather is updating every 30 mins so if you don't have unlimited data plans just disable the weather.
Click GET WEATHER if you want to manually update the weather :D
CREDITS
ThePotatoInc
PacMan ROMS for coooool weather icons
Hmm. You will have some weather info any where in your ExpandedView
FEATURES
Temperature (Celcius)
Weather description
Location
Weather Icon
THINGS NEEDED
Notepad++ or any other good textEditor
The attached files
Deodex ROM
STEPS
Download the attached files (PotatoWeatherSettings & Weather.zip)
Install the PotatoWeatherSettings .apk
Decompile your SystemUI,apk
Extract the Weather.zip then copy it to your decompiled SystemUI.apk (I'm assuming that you know already where to put smali files)
Go to your expandedView.xml or the xml that is responsible for your expanded layout and add this code
Code:
<com.potato.statusbar.systemui.policy.WeatherLayout android:orientation="horizontal" android:layout_width="200.0dip" android:layout_height="48.0dip">
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="48.0dip" android:layout_weight="1.0">
<LinearLayout android:gravity="right" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="24.0dip">
<com.potato.statusbar.systemui.policy.WeatherTemp android:textStyle="bold|italic" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="4.0dip" android:singleLine="true" />
<com.potato.statusbar.systemui.policy.WeatherHypen android:textStyle="bold|italic" android:paddingRight="5.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.potato.statusbar.systemui.policy.WeatherCondition android:textStyle="bold|italic" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="4.0dip" android:singleLine="true" />
</LinearLayout>
<LinearLayout android:gravity="right" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="24.0dip">
<com.potato.statusbar.systemui.policy.WeatherLocation android:textStyle="bold|italic" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="4.0dip" android:singleLine="true" />
</LinearLayout>
</LinearLayout>
<com.potato.statusbar.systemui.policy.WeatherImage android:layout_gravity="center_vertical" android:id="@id/weatherImage1" android:padding="3.0dip" android:layout_width="50.0dip" android:layout_height="fill_parent" />
</com.potato.statusbar.systemui.policy.WeatherLayout>
NOTE
The weather is updating every 30 mins so if you don't have unlimited data plans just disable the weather.
Click GET WEATHER if you want to manually update the weather :D
CREDITS
ThePotatoInc
PacMan ROMS for coooool weather icons
0 commentaires:
Enregistrer un commentaire