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
Related
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.
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
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)
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
decompile SystemUI_ZTE.apk
open layout/mifaver_recent_button.xml
remove
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:gravity="center" android:layout_gravity="bottom|center" android:id="@id/clearall" android:layout_width="wrap_content" android:layout_height="@dimen/mifavor_recent_app_bottom_bar_height"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/sys_delete" />
<TextView android:textSize="12.0dip" android:textColor="#ffffffff" android:ellipsize="end" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/recent_app_clearall" android:singleLine="true" android:paddingStart="@dimen/mifavor_recent_app_start_padding" />
</LinearLayout>
Replace
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:gravity="center" android:layout_gravity="bottom|center" android:id="@id/clearall" android:layout_width="wrap_content" android:layout_height="@dimen/mifavor_recent_app_bottom_bar_height"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/sys_delete" />
<TextView android:textSize="12.0dip" android:textColor="#ffffffff" android:ellipsize="end" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/recent_app_clearall" android:singleLine="true" android:paddingStart="@dimen/mifavor_recent_app_start_padding" />
</LinearLayout>
<HorizontalScrollView android:scrollbars="none" android:layout_width="wrap_content" android:layout_height="75.0dip">
<com.android.systemui.statusbar.policy.quicklaunch.QuickLaunchContainer android:gravity="center" android:layout_width="wrap_content" android:layout_height="75.0dip" android:layout_centerHorizontal="true" />
</HorizontalScrollView>
</LinearLayout>
open values/dimens.xml
search
Code:
<dimen name="mifavor_recent_app_bottom_bar_height">67.0dip</dimen>
Replace
Code:
<dimen name="mifavor_recent_app_bottom_bar_height">95.0dip</dimen>
download smalis and replace them so as path in zip file
recompile SystemUI.
{
"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"
}
Thanks
@gharrington For smalis
@josete_197601 For your help with the code
Did you add 3minit also? I just know we had a working verso OK n before the update and it's no m0te...would love to have 3minit again