news about miui ls2.0(coming this friday) - HTC EVO 3D

miui ls will update to v2.0 this week
new xml supported!
example:
<!-- content provider binder for google weather -->
<VariableBinders>
<ContentProviderBinder
uriFormat="content://com.google.android.apps.genie.geniewidget.weather/weather/current/%d"
uriParas="#time_sys"
columns="iconResId,location,temperature,lowTemperature,highTemperature,description"
countName="hasweather">
<Variable name="weather_id" type="int" column="iconResId"/>
<Variable name="weather_location" type="string" column="location"/>
<Variable name="weather_temperature" type="int" column="temperature"/>
<Variable name="weather_lowTemperature" type="int" column="lowTemperature"/>
<Variable name="weather_highTemperature" type="int" column="highTemperature"/>
<Variable name="weather_description" type="string" column="description"/>
</ContentProviderBinder>
</VariableBinders>
<!-- weather info display -->
<Text visibility="#hasweather" x="240" y="60" w="360" size="24" color="#FFFFFF" alpha="200" align="center"
format="%s %s %d℃"
paras="@weather_location,@weather_description,#weather_temperature" />
<Text visibility="#hasweather*not(isnull(#weather_lowTemperature))*not(isnull(#weather_highTemperature))" x="240" y="85" w="360" size="22" color="#FFFFFF" alpha="200" align="center"
format="%d℃ / %d℃" paras="#weather_lowTemperature,#weather_highTemperature"/>
<Text visibility="#hasweather*isnull(#weather_lowTemperature)*not(isnull(#weather_highTemperature))" x="240" y="85" w="360" size="22" color="#FFFFFF" alpha="200" align="center"
format="--℃ / %d℃" paras="#weather_highTemperature"/>
<Text visibility="#hasweather*not(isnull(#weather_lowTemperature))*isnull(#weather_highTemperature)" x="240" y="85" w="360" size="22" color="#FFFFFF" alpha="200" align="center"
format="%d℃ / --℃" paras="#weather_lowTemperature" />
<Image src="weather.png" visibility="#hasweather" x="240" y="100" srcid="#weather_id" align="center">
<PositionAnimation>
<Position x="-10" y="0" time="1000"/>
<Position x="10" y="0" time="3000"/>
<Position x="0" y="0" time="4000"/>
</PositionAnimation>
</Image>
u got this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
for more info:http://www.miui.com/thread-335430-1-1.html
seems scott already got it
http://forums.miui.us/content.php

Related

Better camera mod for CM7 RC3\RC4

Sorry if this is a re-post. Haven't seen it on the MT4G thread.
I'm just re-posting from the N1 forum. Also work brilliantly on the MT4G.
I too use my camera a lot and have been craving for a better camera or the original camera from the stock rom, since the one on CM just blows.
Make a backup of the existing file and replace it with the one from the post.
http://forum.xda-developers.com/showthread.php?p=12643222#post12643222
The old file yielded an image about 1.04MB in size and the new file 2.1MB. A lot less compression.
Many thanks to the OP for this.
Using this on RoyalGinger 1.4.1
Old @ 1.04MB
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
New @ 2.17MB
Just looked at the xml files and compared to the MT4G files.
I would not use xml files in the post you linked to. There are no profiles in these xml files for the Front Facing Camera.
Edit: If you want to make the change, just use root explorer and look for the following in the media_profiles.xml located in system/etc
<ImageEncoding quality="90" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
and change it to:
<ImageEncoding quality="99" />
<ImageEncoding quality="90" />
<ImageEncoding quality="80" />
As Always, do at your own risk, I would make a backup of the original file first.

[Q][MOD]Notification Panel Toggle Resizing

I'm modding System-UI.apk file.
I'm trying port samsung notification panel to jb cm10
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
to
So, First target is get bigger toggles.
And i'm searching for dimension codes in layout and dimen.xml
So, i changed
Code:
<dimen name="notification_panel_header_height">48.0dip</dimen>
<dimen name="notification_panel_brightness_height">48.0dip</dimen>
<dimen name="notification_panel_widget_height">160.0dip</dimen> 48 to 160
<dimen name="notification_panel_header_and_widget">208.0dip</dimen> and equals
<dimen name="notification_panel_header_widget_and_brightness">208.0dip</dimen> same
<dimen name="notification_panel_header_and_brightness">96.0dip</dimen> same
but didn't work after also changed res/layout/system_bar_notification_panel_title.xml -
Code:
<TableLayout android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="16.0dip" android:layout_marginBottom="16.0dip" android:stretchColumns="8" android:shrinkColumns="4" -- here 2,4 to 4
android:layout_alignParentLeft="true" android:layout_alignParentBottom="true">
and then
power_widget_button.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:id="@id/power_widget_button" android:background="@drawable/stat_power_background" android:focusable="true" android:clickable="true"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:id="@id/power_widget_button_image" android:layout_width="fill_parent" android:layout_height="70.0dip" 48 to 70 dip
android:scaleType="center" android:layout_weight="1.0" />
</LinearLayout>
but didn't work which file i should edit...
i will do something like this
first get bigger toggles
and then change toggle button drawables with samsung toggles(not orginal one , create full drawable toggle like a in picture)

JB 4.2.2 statusbar for cm7

there is someone who can try this if it works? because i tried and i got some problems..
here's the link and give feedback
http://forum.xda-developers.com/showthread.php?t=2315342&highlight=xperia
hope you try and reply
...
isko95 said:
there is someone who can try this if it works? because i tried and i got some problems..
here's the link and give feedback
http://forum.xda-developers.com/showthread.php?t=2315342&highlight=xperia
hope you try and reply
Click to expand...
Click to collapse
I have the same problem: (
have you solved?
dadroid98 said:
I have the same problem: (
have you solved?
Click to expand...
Click to collapse
nope
..
isko95 said:
nope
Click to expand...
Click to collapse
I solve problem but have many bug
how about if we help each other
http://www.mediafire.com/download/fxicsc16pfxej7a/Toggle4.2
bug : 1. Notifications are not being displayed. Though when notification come, it shows clear button.
dadroid98 said:
I solve problem but have many bug
how about if we help each other
http://www.mediafire.com/download/fxicsc16pfxej7a/Toggle4.2
bug : 1. Notifications are not being displayed. Though when notification come, it shows clear button.
Click to expand...
Click to collapse
Try to move your notifications to other LinearLayout or
put your notifications layout inside a LinearLayout (The whole ScrollView):good:
Code:
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical" >
<!-- Your Notification Here -->
</LinearLayout>
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

small tutorial color contact numbers

hello friends
I give here a mod that is simple but very nice
as were several friends who asked how he changed the color of the number decided to make this little tutorial​
1. - Decompile SecContacts.apk
2.- Go res/layout-sw359dp-xhdpi/dialpad_fragment (use Notepad + +)
3.- Change the color code that I describe below
I modify the SecContacts.apk of Wanam
HTML:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="horizontal" android:id="@id/dialpad_allorientation" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<include layout="@layout/dialpad_land" />
<LinearLayout android:orientation="vertical" android:id="@id/top" android:paddingLeft="@dimen/dialpad_horizontal_margin" android:paddingRight="@dimen/dialpad_horizontal_margin" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:id="@id/digits_container" android:layout_width="360.0dip" android:layout_height="wrap_content">
<com.sec.android.app.dialertab.dialpad.EllipsisTextView android:configChanges="keyboardHidden" android:textSize="40.0sp" android:typeface="sans" android:textColor="#ffffffff"
where is the code of color # FFFFFFFF replace the one you want
Here I give you some already modified in blue, red, green and yellow
Blue
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download
Red
Download
Green
Download
Yellow
Download
greetings and blessings
:good::fingers-crossed::victory::highfive:
scamus said:
:good::fingers-crossed::victory::highfive:
Click to expand...
Click to collapse
Very good work my friend
Hemant said:
Very good work my friend
Click to expand...
Click to collapse
Very good work my friend
hello friend
thanks
very happy you like my work
sharing should be the spirit
greetings and blessings

Modifying Kii Keyboard

I tried to modify this keyboard .. I already modified what i want except one thing > Row numbers in arabic language
It look like that
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And i want it like That
I Searched a lot in the xml files and found this one and i think it is the file i should modify but i don't know how ?
HTML:
<?xml version="1.0" encoding="utf-8"?>
<merge
xmlns:latin="http://schemas.android.com/apk/res/com.zl.inputmethod.latin">
<Key latin:moreKeys="!text/more_keys_for_symbols_1" latin:additionalMoreKeys="!text/additional_more_keys_for_symbols_1" latin:keyLabel="!text/keylabel_for_symbols_1" />
<Key latin:moreKeys="!text/more_keys_for_symbols_2" latin:additionalMoreKeys="!text/additional_more_keys_for_symbols_2" latin:keyLabel="!text/keylabel_for_symbols_2" />
<Key latin:moreKeys="!text/more_keys_for_symbols_3" latin:additionalMoreKeys="!text/additional_more_keys_for_symbols_3" latin:keyLabel="!text/keylabel_for_symbols_3" />
<Key latin:moreKeys="!text/more_keys_for_symbols_4" latin:additionalMoreKeys="!text/additional_more_keys_for_symbols_4" latin:keyLabel="!text/keylabel_for_symbols_4" />
<Key latin:moreKeys="!text/more_keys_for_symbols_5" latin:additionalMoreKeys="!text/additional_more_keys_for_symbols_5" latin:keyLabel="!text/keylabel_for_symbols_5" />
<Key latin:moreKeys="!text/more_keys_for_symbols_6" latin:additionalMoreKeys="!text/additional_more_keys_for_symbols_6" latin:keyLabel="!text/keylabel_for_symbols_6" />
<Key latin:moreKeys="!text/more_keys_for_symbols_7" latin:additionalMoreKeys="!text/additional_more_keys_for_symbols_7" latin:keyLabel="!text/keylabel_for_symbols_7" />
<Key latin:moreKeys="!text/more_keys_for_symbols_8" latin:additionalMoreKeys="!text/additional_more_keys_for_symbols_8" latin:keyLabel="!text/keylabel_for_symbols_8" />
<Key latin:moreKeys="!text/more_keys_for_symbols_9" latin:additionalMoreKeys="!text/additional_more_keys_for_symbols_9" latin:keyLabel="!text/keylabel_for_symbols_9" />
<Key latin:moreKeys="!text/more_keys_for_symbols_0" latin:additionalMoreKeys="!text/additional_more_keys_for_symbols_0" latin:keyLabel="!text/keylabel_for_symbols_0" />
</merge>
I want to know what does this text mean ( !text/keylabel_for_symbols_1 )
Any ideas ? or which file i should modify ?​
UP

Categories

Resources