Samsung Galaxy Gear Compatability - Zooper Widget General

Hi there guys,
This thread is regarding the zooper widget's galaxy gear compatibility ! For the most part it works excellent.. its truly a extremely useful tool especially on a smartwatch.
Although there are some qwerks, as I said previous it does work for the most part although one of the main issues is the color picker dialog.
As you can see in the screenshot attached:
{
"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"
}
You are unable to complete your color selection.. obviously its a crucial part of making widgets.. Iv been forced to manually edit the themes on my desktop and transfer them back to the gear in order to change colors.
If anyone has any ideas ? Maybe make the view scrollable ? Or even resize the color picker to fit the confirm buttons ?
EDIT:
By simply reordering the elements, I was able to achieve:
Need to reconfigure the marigns and what not, although for the most part it works...
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:paddingLeft="5.0dip" android:paddingRight="5.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="40.0dip"
android:layout_marginBottom="10.0dip"
android:orientation="horizontal" >
<org.zooper.zwlib.widget.colorpicker.ColorPickerPanelView
android:id="@id/old_color_panel"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="0.5" />
<TextView
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_marginLeft="10.0dip"
android:layout_marginRight="10.0dip"
android:gravity="center"
android:text="→"
android:textSize="20.0dip" />
<org.zooper.zwlib.widget.colorpicker.ColorPickerPanelView
android:id="@id/new_color_panel"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginRight="10.0dip"
android:layout_weight="0.5" />
<EditText
android:id="@id/editor"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="monospace"
android:maxLength="9"
android:singleLine="true"
android:textSize="20.0dip" >
<requestFocus />
</EditText>
</LinearLayout>
<org.zooper.zwlib.widget.colorpicker.ColorPickerView android:id="@id/color_picker_view" android:tag="portrait" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layerType="software" />
</LinearLayout>

Related

m2d skin problem on cruise 09 - iolite

Hi,
How can I fix this annoyng bug ?
My device HTC Cruise 09 -IOLITE
{
"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"
}
You need to edite your HTCHomeSettings.xml so the calander1 and 2 items do not overlap.
Here are mine, but they may not be in the right location for you.
Just use them as a guide to avoid the overlap.
Notice voicemallcallbtn settings match calendarbtn1 settings.
Code:
<Property name="IDHMWG_MISSEDCALLBTN_RECT" id="30" value="6,135,226,160" />
<Property name="IDHMWG_MISSEDCALLBTN_IMG" id="31" value="45" />
<Property name="IDHMWG_MISSEDCALLBTN_IMGPOS" id="32" value="3,140" />
<Property name="IDHMWG_MISSEDCALLBTN_TEXT_RECT" id="33" value="20,136,225,159" />
<Property name="IDHMWG_MISSEDCALLBTN_IMG_FOCUS" id="34" value="181" />
<Property name="IDHMWG_MISSEDCALLBTN_IMG_FOCUS_DN" id="35" value="182" />
<Property name="IDHMWG_CALENDARBTN1_RECT" id="40" value="6,160,228,194" />
<Property name="IDHMWG_CALENDARBTN1_IMG" id="41" value="46" />
<Property name="IDHMWG_CALENDARBTN1_IMGPOS" id="42" value="9,167" />
<Property name="IDHMWG_CALENDARBTN1_TEXT_RECT" id="43" value="35,161,213,194" />
<Property name="IDHMWG_CALENDARBTN1_TEXT_TIME_RECT" id="44" value="9,161,213,173" />
<Property name="IDHMWG_CALENDARBTN1_TEXT_SUBJECT_RECT" id="45" value="9,173,213,193" />
<Property name="IDHMWG_CALENDARBTN1_IMG_FOCUS" id="46" value="181" />
<Property name="IDHMWG_CALENDARBTN1_IMG_FOCUS_DN" id="47" value="182" />
<Property name="IDHMWG_CALENDARBTN2_RECT" id="50" value="6,194,228,228" />
<Property name="IDHMWG_CALENDARBTN2_IMG" id="51" value="46" />
<Property name="IDHMWG_CALENDARBTN2_IMGPOS" id="52" value="9,201" />
<Property name="IDHMWG_CALENDARBTN2_TEXT_RECT" id="53" value="35,195,213,228" />
<Property name="IDHMWG_CALENDARBTN2_TEXT_TIME_RECT" id="54" value="9,195,213,207" />
<Property name="IDHMWG_CALENDARBTN2_TEXT_SUBJECT_RECT" id="55" value="9,207,213,227" />
<Property name="IDHMWG_CALENDARBTN2_IMG_FOCUS" id="56" value="181" />
<Property name="IDHMWG_CALENDARBTN2_IMG_FOCUS_DN" id="57" value="182" />
<Property name="IDHMWG_VOICEMALLCALLBTN_RECT" id="60" value="6,160,228,194" />
<Property name="IDHMWG_VOICEMALLCALLBTN_IMG" id="61" value="228" />
<Property name="IDHMWG_VOICEMALLCALLBTN_IMGPOS" id="62" value="9,167" />
<Property name="IDHMWG_VOICEMALLCALLBTN_TEXT_RECT" id="63" value="35,161,213,194" />
<Property name="IDHMWG_VOICEMALLCALLBTN_IMG_FOCUS" id="64" value="181" />
<Property name="IDHMWG_VOICEMALLCALLBTN_IMG_FOCUS_DN" id="65" value="182" />

System UI

Can any one help, How to saperate overlapping Battery icon and time in 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 in advance
I think you must decompile the .apk, edit .xml files (I don't know what exactly) and recompile the apk. :good:
Try Apktool and take a look at the XML files, if you see positions/coordinates files of battery & time, just invert them.
WrathChild08 said:
I think you must decompile the .apk, edit .xml files (I don't know what exactly) and recompile the apk. :good:
Try Apktool and take a look at the XML files, if you see positions/coordinates files of battery & time, just invert them.
Click to expand...
Click to collapse
Thanks for reply, but I dont know which xml files to edit and how.
I'll take a look.
EDIT : Can't find what XML files to edit.. So :/
Wait someone else. ^^
WRONG TOPIC!!!
Can you peeps find the Q/A topic ??
Very anoying this
Best Regards
..:: [email protected]€m!c ::..
chiragvagh said:
Thanks for reply, but I dont know which xml files to edit and how.
Click to expand...
Click to collapse
Which? res/layout/status_bar.xml
How? I don't know. Compare your xml to original one, especially that section:
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<ImageView android:id="@id/battery" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
btw, you'll learn more and faster by yourself through comparing, watching other work etc. Leave questions for really hard things

[MOD][HOW TO] AOSP Signal layout on touchwiz

This will guide will show you how to replace the touchwiz signal style with that of standard android AOSP style.
Preview
{
"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"
}
I assume the reader has basic knowledge of de-compiling and recompiling APK files, if you do not know how to do this use the search feature on XDA as this is covered in a ton of post's and really isn't that hard to do with some patience.
Step 1) Decompile systemui.apk
Step 2) Navigate to
HTML:
res/layout/tw_signal_cluster_view.xml
Step 3) Delete everything here and replace it with this
HTML:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="-6.0dip">
<ImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<View android:id="@id/spacer" android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/new_mobile_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<View android:visibility="gone" android:layout_width="6.0dip" android:layout_height="6.0dip" />
<FrameLayout android:id="@id/mobile_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_roaming" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
</FrameLayout>
<FrameLayout android:id="@id/separate_mobile" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="-18.0dip">
<ImageView android:id="@id/separate_mobile_type" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<ImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<ImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/separate_mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="-23.0dip" />
</com.android.systemui.statusbar.SignalClusterView>
4) Replace desired icon's in
HTML:
res/drawable-xhdpi
this is my standard AOSP signal icon's that I use in my ROM Dandroid, get it here
5) Recompile with apktool
6) Open up the old systemui and new systemui with 7zip and copy over the meta-inf folder and androidmanifest.xml to the new systemUI
7) Push to system and enjoy
cheers
Dan
Simple and straightforward! If i ever go back to TW, I'll be sure to try this one out. Thanks!

[MOD][HowTo] JWR66Y DEODX Op.app & Debug LatinIme (themes) integration on dev options

[MOD][HowTo] JWR66Y DEODX Op.app & Debug LatinIme (themes) integration on dev options
{
"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"
}
This is flashable mod for JWR66Y DEODEXED to show hidden features like OP.APP and Latin Ime Debug Settings (there's themes inside!! )... on developer options
http://d-h.st/hr6
If You want to add this to Your ROM or try make for stock Odex follow these guidelines using Apktool and Notepad++ (There's a plenty of guides on XDA ):
1) Install framework-res from the ROM
2) Decompile Settings.apk from the ROM
3) Navigate to /res/xml and find/open development_prefs.xml in Notepad++
4) Put GREEN lines at the end of the file to show like this:
Code:
<CheckBoxPreference android:title="@string/disable_overlays" android:key="disable_overlays" android:summary="@string/disable_overlays_summary" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/debug_monitoring_category" android:key="debug_monitoring_category">
<CheckBoxPreference android:title="@string/strict_mode" android:key="strict_mode" android:summary="@string/strict_mode_summary" />
<CheckBoxPreference android:title="@string/show_cpu_usage" android:key="show_cpu_usage" android:summary="@string/show_cpu_usage_summary" />
<ListPreference android:persistent="false" android:entries="@array/track_frame_time_entries" android:title="@string/track_frame_time" android:key="track_frame_time" android:entryValues="@array/track_frame_time_values" />
<ListPreference android:persistent="false" android:entries="@array/enable_opengl_traces_entries" android:title="@string/enable_opengl_traces_title" android:key="enable_opengl_traces" android:entryValues="@array/enable_opengl_traces_values" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/debug_applications_category" android:key="debug_applications_category">
<CheckBoxPreference android:title="@string/immediately_destroy_activities" android:key="immediately_destroy_activities" android:summary="@string/immediately_destroy_activities_summary" />
<ListPreference android:persistent="false" android:entries="@array/app_process_limit_entries" android:title="@string/app_process_limit_title" android:key="app_process_limit" android:entryValues="@array/app_process_limit_values" />
<CheckBoxPreference android:title="@string/show_all_anrs" android:key="show_all_anrs" android:summary="@string/show_all_anrs_summary" />
<CheckBoxPreference android:title="@string/experimental_webview" android:key="experimental_webview" android:summary="@string/experimental_webview_summary" />
[B][COLOR="Lime"][COLOR="SeaGreen"] </PreferenceCategory>
<PreferenceCategory android:title="LatinImeGoogle Debug Mode" android:key="english_ime_debug_settings">
<PreferenceScreen android:title="Android keyboard Debug settings" android:key="english_ime_debug_settings">
<intent android:targetPackage="com.google.android.inputmethod.latin" android:action="android.intent.action.MAIN" android:targetClass="com.android.inputmethod.latin.DebugSettingsActivity" />
</PreferenceScreen>
</PreferenceCategory>
<PreferenceCategory android:title="App Permission Manager" android:key="app_ops_settings">
<PreferenceScreen android:title="@string/app_ops_settings" android:key="app_ops_settings">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.Settings$AppOpsSummaryActivity" />
</PreferenceScreen>
</PreferenceCategory>[/COLOR][/COLOR][/B]
</PreferenceScreen>
And recompile back properly.

[Guide] Add theme preview to Xperia theme

Hello everyone
It's not important to have a preview but I think (maybe others too) it's just nice to have a preview. That's why I'm gonna show it to you. Let's start.
{
"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"
}
First put the screenshots or pictures you want to set as preview in to the drawable folder of your theme and name it for example semc_theme_preview_screenshot.
jpg and pngs are both supported.
Example: themefolder/res/drawable-xxhdpi/semc_theme_preview_screenshot.jpg
Then open your AndroidManifest.xml of the theme and add the red marked line:
Code:
<uses-permission android:name="com.sonymobile.permission.RUNTIME_SKIN"/>
<application android:icon="@drawable/semc_theme_preview" android:label="@string/somc_theme_title">
<uses-library android:name="com.sonymobile.runtimeskinning"/>
<meta-data android:name="com.sonymobile.runtimeskinning.core.image_wallpaper" android:resource="@drawable/semc_theme_wallpaper"/>
<meta-data android:name="com.sonymobile.runtimeskinning.core.lockscreen_background" android:resource="@drawable/semc_theme_lockscreen_wallpaper"/>
<meta-data android:name="com.sonymobile.runtimeskinning.core.SKIN_COLOR" android:resource="@color/skin_color"/>
[COLOR="Red"] <meta-data android:name="com.sonymobile.runtimeskinning.core.SKIN_PREVIEW" android:resource="@array/previews"/>[/COLOR]
</application>
Now go to themefolder/res/value and create a xml file called arrays.xml which should look like this (you can also just use my attached arrays.xml file if you like):
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<array name="previews">
<item>@drawable/semc_theme_preview_screenshot</item>
</array>
</resources>
If you want to add more screenshots you have to add more item in arrays.xml.
Now recompile your theme and you've done it.
Attatchments
arrays.xml
How to order the screenshots / pictures
It depends on the name of the screenshots / pictures. You have to call them for example this way:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<array name="previews">
<item>@drawable/theme_ss_a</item>
<item>@drawable/theme_ss_b</item>
<item>@drawable/theme_ss_c</item>
<item>@drawable/theme_ss_d</item>
<item>@drawable/theme_ss_e</item>
<item>@drawable/theme_ss_f</item>
</array>
</resources>
Just changing the order in string file won't have any effect to the preview order!
I don't know if there is a limitation of pictures you can set, but 6 are defenetly possible
Good one
Just figured out how to change order of the screenshoots/pictures (first, second,..) in preview.
It depends on the name of the screenshots/pictures. You have to call them for example this way:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<array name="previews">
<item>@drawable/theme_ss_a</item>
<item>@drawable/theme_ss_b</item>
<item>@drawable/theme_ss_c</item>
<item>@drawable/theme_ss_d</item>
<item>@drawable/theme_ss_e</item>
<item>@drawable/theme_ss_f</item>
</array>
</resources>
I don't know if there is a limitation of pictures you can set, but 6 are defenetly possible
Edit: Added it to second post

Categories

Resources