Skin VGA for Resco RADIO - Windows Mobile Development and Hacking General

Hi
These are the links for my modded VGA skins for Resco Radio (from the original 240x320):
Portrait
http://rapidshare.com/files/170275826/Skin_VGA_port.rar
{
"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"
}
Landscape
http://rapidshare.com/files/170275918/Skin_VGA_land.rar

"Modded" isn't correct. It's just a scaled up QVGA skin. But I wonder why you did this. Resco Radio already has a VGA skin included. And that one looks better than a scaled up skin could ever do.

peterbonge said:
"Modded" isn't correct. It's just a scaled up QVGA skin. But I wonder why you did this. Resco Radio already has a VGA skin included. And that one looks better than a scaled up skin could ever do.
Click to expand...
Click to collapse
that's not really nice

Would u please make a WVGA's skin for us?
thanks....

for WVGA skin
modify the file \Program\Resco Pocket Radio\Skins\default_vga\default.rs (swedish version) for VGA to WVGA:
<info [480,800] name="480x800" author="Klaus" comments="" presets=14/>
<panel [0,0] name="presetspanel" file="main.png" src=[0,0,480,350]>
<button [2,2,236,66] name="presetbtn1" src=[0,536,236,330]>
<text [18,20,196,30] font="Tahoma" size=-26 weight=700 cleartype/>
</button>
<button [242,2,236,66] name="presetbtn2" src=[236,536,236,330]>
<text [18,20,196,30] font="Tahoma" size=-26 weight=700 cleartype/>
</button>
<button [2,72,236,66] name="presetbtn3" src=[0,536,236,330]>
<text [18,20,196,30] font="Tahoma" size=-26 weight=700 cleartype/>
</button>
<button [242,72,236,66] name="presetbtn4" src=[236,536,236,330]>
<text [18,20,196,30] font="Tahoma" size=-26 weight=700 cleartype/>
</button>
<button [2,142,236,66] name="presetbtn5" src=[0,536,236,330]>
<text [18,20,196,30] font="Tahoma" size=-26 weight=700 cleartype/>
</button>
<button [242,142,236,66] name="presetbtn6" src=[236,536,236,330]>
<text [18,20,196,30] font="Tahoma" size=-26 weight=700 cleartype/>
</button>
<button [2,212,236,66] name="presetbtn7" src=[0,536,236,330]>
<text [18,20,196,30] font="Tahoma" size=-26 weight=700 cleartype/>
</button>
<button [242,212,236,66] name="presetbtn8" src=[236,536,236,330]>
<text [18,20,196,30] font="Tahoma" size=-26 weight=700 cleartype/>
</button>
<button [2,282,236,66] name="presetbtn9" src=[0,536,236,330]>
<text [18,20,196,30] font="Tahoma" size=-26 weight=700 cleartype/>
</button>
<button [242,282,236,66] name="presetbtn10" src=[236,536,236,330]>
<text [18,20,196,30] font="Tahoma" size=-26 weight=700 cleartype/>
</button>
<button [2,352,236,66] name="presetbtn11" src=[0,536,236,330]>
<text [18,20,196,30] font="Tahoma" size=-26 weight=700 cleartype/>
</button>
<button [242,352,236,66] name="presetbtn12" src=[236,536,236,330]>
<text [18,20,196,30] font="Tahoma" size=-26 weight=700 cleartype/>
</button>
<button [2,422,236,66] name="presetbtn13" src=[0,536,236,330]>
<text [18,20,196,30] font="Tahoma" size=-26 weight=700 cleartype/>
</button>
<button [242,422,236,66] name="presetbtn14" src=[236,536,236,330]>
<text [18,20,196,30] font="Tahoma" size=-26 weight=700 cleartype/>
</button>
</panel>
<panel [0,500] name="mainpanel" file="main.png" src=[0,350,480,186]>
<button [342,50,84,84] name="playbtn" alpha="playbtn_alpha.png" src=[0,866,420,84]/>
<button [162,154,126,30] name="recbtn" src=[284,950,126,150]/>
<button [326,8,116,56] name="volupbtn" alpha="volumeupbtn_alpha.png" src=[168,950,116,168]/>
<button [326,120,116,56] name="voldownbtn" alpha="volumedownbtn_alpha.png" src=[168,1118,116,168]/>
<button [412,34,56,118] name="nextbtn" alpha="nextbtn_alpha.png" src=[0,1068,168,118]/>
<button [300,34,56,118] name="prevbtn" alpha="prevbtn_alpha.png" src=[0,950,168,118]/>
<button [34,154,126,30] name="dispbtn" src=[284,1100,126,90]/>
<text [25,50,260,26] name="statictext" font="Tahoma" size=-26/>
<text [25,84,260,18] name="livetext" font="Tahoma" size=-18 scrolling/>
<text [25,112,260,18] name="statetext" font="Tahoma" size=-18 scrolling/>
<text [25,112,260,18] name="infotext" font="Tahoma" size=-18 scrolling/>
</panel>
Works on my X1
Cheers!

HTC Blackstone
This wvga modification ain´t working on my HTC Touch HD.
Is there any skin running on HTC Blackstone?

get this skin at skinzone.org
This skin is done by Voltage in VGA and QVGA. Works and looks fantastic, check it out at skinzone and the rest of the work of the skinners there.

Cetin said:
This wvga modification ain´t working on my HTC Touch HD.
Is there any skin running on HTC Blackstone?
Click to expand...
Click to collapse
working on my hd thanks!!!
i include the file for wvga users,just replace the default.rs file into resco radio/skins/vga skin directory
enjoy.

drew2000 said:
This skin is done by Voltage in VGA and QVGA. Works and looks fantastic, check it out at skinzone and the rest of the work of the skinners there.
Click to expand...
Click to collapse
This skin doesn't work on my Qvga device...verizon vx6900

It will, we will get it done....
Quadman said:
This skin doesn't work on my Qvga device...verizon vx6900
Click to expand...
Click to collapse
After you run the cab look in your programs folder in your device memory (device/programs) To assist you I reloaded my Resco Pocket Radio after removal and then ran the cab file I just downloaded from SkinZone.org when it asked me where to have it installed I picked "Storage Card" because that is where I have Resco Radio installed but I found the folder in my "Device" memory programs folder even though I picked "Storage Card". Now if this is where you find the folder just cut and paste the default folder your find there it into your (either "Device" or Storage Card" where ever you have the Resco Pocket Radio installed) Programs/Resco Pocket Radio/Skins and paste it overwriting the default folder. Now all you have to do is reboot and everything will look and function great, I just did it just now. If this doesn't work let me know...........later.

Thx drew2000 so much!!! Works perfectly and looks great...

Just trying to help
Quadman said:
Thx drew2000 so much!!! Works perfectly and looks great...
Click to expand...
Click to collapse
Glad I could assist you, Voltage made a great looking skin if you could just say thanks over on SkinZone.org I know he would appreciate it. He has put in alot of work skinning and helping out. Enjoy and take it easy........later.

thank you drew!!
its cool to see you on here helping out SZ. much appreciated.

Related

New Theme Idea (With Screenshot). Anyone want to help me develop it?

Hello,
I quickly put together a picture that represents what I want my theme to look like (XiaMultiTheme). I want it to be small, quick, but have a classy look. I could develop this by myself, but it could take awhile, but having someone help would speed this up greatly!
{
"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 would like the wallpaper to change depending on the chosen weather location. Is there a mortscript to change the Today Screen Wallpaper depending on the weather? (I know this is available for S2U2).
No icons in this screenshot are original, so I will either have to get permission to use them in a final version or create my own.
Please tell my your thoughts, and contact me if you would like to help develop it!
Edit: I am using XIAMultitheme, but having trouble with the XML. For some reason, nothing is showing up with certain code. Also, is there a good visual XML editor I could use? Right now, I just have to edit the coordinates...
Here is the code for the Browsers page, which will not show up...
Code:
<Page name="Browsers" group="Browsers" visible="1">
<Image x="14" y="12" source="icons\internetexplorer.png" >
<OnClick event="0" File="\Windows\Start Menu\Programs\Internet Explorer Mobile.lnk" />
</Image>
<Text name="InternetExplorer" x="20" y="66" alignment="left" color="RGB(255,255,255)" text="Internet Explorer">
<Font size="20" font="Helvetica LT Light"/>
</Text>
<Image x="51" y="4" source="icons\line.png" >
</Image>
<Image x="56" y="14" source="icons\opera.png" >
<OnClick event="0" File="\Windows\Start Menu\Programs\Opera Mini.lnk" />
</Image>
<Text name="OperaMini" x="64" y="66" alignment="left" color="RGB(255,255,255)" text="Opera Mini">
<Font size="20" font="Helvetica LT Light"/>
</Text>
</Image>
<Image x="98" y="4" source="icons\line.png" >
</Image>
<Image x="104" y="14" source="icons\opera.png" >
<OnClick event="0" File="\Windows\Start Menu\Programs\Opera Mobile.lnk" />
</Image>
<Text name="OperaMobile" x="112" y="66" alignment="left" color="RGB(255,255,255)" text="Opera Mobile">
<Font size="20" font="Helvetica LT Light"/>
</Text>
</Image>
<Image x="146" y="4" source="icons\line.png" >
</Image>
<Image x="151" y="14" source="icons\skyfire.png" >
<OnClick event="0" File="\Windows\Start Menu\Programs\Skyfire.lnk" />
</Image>
<Text name="SkyFire" x="159" y="66" alignment="left" color="RGB(255,255,255)" text="SkyFire">
<Font size="20" font="Helvetica LT Light"/>
</Text>
</Image>
<Image x="194" y="4" source="icons\line.png" >
</Image>
<Image x="4" y="199" source="icons\1.png" >
<OnClick event="0" File="\Program Files\XIAMultiTheme\Tools\ShowMissedCalls.exe" />
<OnClick event="1" File="mscr\Selectapp1.mscr"/>
</Image>
<Registry name="messageCountButton" x="50" y="191" alignment="right" source="0.png" sensor="registry" key="HKEY_CURRENT_USER\System\State\Phone\Missed Call Count" group="Browsers">
<Font font="folder:messagecount"/>
<OnEvent event="34" File="move:messageCountButton=58,167" Command="" />
<OnEvent event="33" File="move:messageCountButton=58,167" Command="" />
</Registry>
<Text name="messageCount" x="41" y="199" alignment="center" text="" unknown="" sensor="registry" key="HKEY_CURRENT_USER\System\State\Phone\Missed Call Count" group="Browsers" color="RGB(255,255,255)">
<Font size="4" font="Helvetica LT Light"/>
<OnEvent event="34" File="move:messageCount=47,175" Command="" />
<OnEvent event="33" File="move:messageCount=47,175" Command="" />
</Text>
<Image x="66" y="199" source="icons\2.png" >
<OnClick event="0" File="\windows\tmail.exe" />
<OnClick event="1" File="mscr\Selectapp2.mscr"/>
</Image>
<Registry name="messageCountButton" x="120" y="191" alignment="right" source="0.png" sensor="registry" key="HKEY_CURRENT_USER\System\State\Messages\SMS\Unread\Count" group="Browsers">
<Font font="folder:messagecount"/>
<OnEvent event="34" File="move:messageCountButton=181,167" Command="" />
<OnEvent event="33" File="move:messageCountButton=181,167" Command="" />
</Registry>
<Text name="messageCount" x="111" y="199" alignment="center" text="" unknown="" sensor="registry" key="HKEY_CURRENT_USER\System\State\Messages\SMS\Unread\Count" group="Browsers" color="RGB(255,255,255)">
<Font size="4" font="Helvetica LT Light"/>
<OnEvent event="34" File="move:messageCount=171,175" Command="" />
<OnEvent event="33" File="move:messageCount=171,175" Command="" />
</Text>
<Image x="133" y="199" source="icons\3.png" >
<OnClick event="0" File="\Program Files\S2P\S2P.exe" />
</Image>
<Image x="190" y="199" source="icons\4.png" >
<OnClick event="0" File="\Windows\Start Menu\Programs\Internet Explorer Mobile.lnk" />
<OnClick event="1" File="mscr\Selectapp3.mscr"/>
</Image>
</Page>
I think that its quite easy to get this look with weatherpanel. There is allready exists a weatherpanel theme that have this look and the background changes depend on the weather. I think it is bliss alive theme. Maybe needs some tweaking but its for sure can look like your picture.
For clock , missed calls and the other stuff, you can use rltoday and make a skin with the graphics that you have in the picture. Again its quite easy to make it(you have allreade the graphics part) and can looks the same like your picture.
And finally I think that you can use XiaMultiTheme(or for sure Ultimate Launch) to load these plugins(weatherpanel and rl today)
It is all one can make by means of XIAMultiTheme. But need make weather wallpaper. Good luck!!!
Hi,
i think its all makeable with rlToday only.
Theres simpleWeather.mscr for weather and changing
"normaly" an weather-icon but when your weather-pics are big,
you can edit it as background-pic for rlTodayScreen.
The Buttons and texts are allways configurable with rlToday.
Maybe 1-2 hours for work ?
Look here, theres a developer-kit also : klick
Edit :
i try the first time to skin in rlToday, so this is the summary.
Not perfect...change the icons to a size what confirm.
Thanks guys!
I am hoping in later versions to have those icons link to different screens in the theme, such as the Windows Media icon linking to a screen with the album art and audio controls, the mail icon linking to a screen showing the most recent text message, and the phone icon to link to a favorite contacts list. Would this be possible in rltoday?
derekwilkinson said:
Thanks guys!
I am hoping in later versions to have those icons link to different screens in the theme, such as the Windows Media icon linking to a screen with the album art and audio controls, the mail icon linking to a screen showing the most recent text message, and the phone icon to link to a favorite contacts list. Would this be possible in rltoday?
Click to expand...
Click to collapse
Not free, but this can all be done with phoneAlarm and PocketWeather, as well ... just to give you an alternative.
-pvs
pvs said:
Not free, but this can all be done with phoneAlarm and PocketWeather, as well ... just to give you an alternative.
-pvs
Click to expand...
Click to collapse
Well, it will not be free when out of RC state, but Wisbar Advance Desktop 2 will make you easy to build everything you want
Hmm, I would like to use free software, so XIAMultiTheme it is. I will start developing the UI first, then work on the scripts for the background. Maybe someone with experience in XIAMultiTheme could help me with the mortsript? That is probably the only thing I don't know how to do (for now, this is my first skin, I don't know what I might run into )
Here is something I did a little while ago using rl today and weather panel if you want to change it. This cab basically changes the background based on the weather. You can change the update interval in the mortscript but is still limited by weather panel update. FYI: Weather Panel needs to be running on the Today screen. I found that if you go into the weather panel file that is for the today screen and delete everthing that it will still update and it will not show up on the today which is what you want. Let me know if you need anything.
http://forum.xda-developers.com/showpost.php?p=2266271&postcount=134
edited the code again,
i hope it may help :
http://rapidshare.de/files/40116689/bigWeather.zip.html
I have the script working, but it seems that XIAMultiTheme won't change the wallpaper... so I guess I will use RLToday to develop the theme. Can I make different pages or tabs in RLToday?
Weather Main Screen
derekwilkinson said:
Hello,
I quickly put together a picture that represents what I want my theme to look like (XiaMultiTheme). I want it to be small, quick, but have a classy look. I could develop this by myself, but it could take awhile, but having someone help would speed this up greatly!
I would like the wallpaper to change depending on the chosen weather location. Is there a mortscript to change the Today Screen Wallpaper depending on the weather? (I know this is available for S2U2).
No icons in this screenshot are original, so I will either have to get permission to use them in a final version or create my own.
Please tell my your thoughts, and contact me if you would like to help develop it!
Click to expand...
Click to collapse
You should check out homeboy BeyondIvisible's Theme for weather to change on the main screen.
http://forum.xda-developers.com/showthread.php?p=2464233#post2464233
derekwilkinson said:
I have the script working, but it seems that XIAMultiTheme won't change the wallpaper... so I guess I will use RLToday to develop the theme. Can I make different pages or tabs in RLToday?
Click to expand...
Click to collapse
yes, you can change the wallpaper in XIAMultiTheme, i try to change the picture or icon in my theme, but maybe this is a stupid way.
first you need to write the mortscript move the existing picture to other folder then copy the new one to the original folder and redraw today screen.
and i think the XMT is a easy way to write a Multi Page Theme
sorry! the above way is a really stupid way, the easy method is your picture is not a wallpaper , that is a icon and change it by registry
i would do it with batterystatus. it is easy to change the wallpaper if you set it as image in the background and the other elements are implemented in short time
Maybe I'm being stupid, but HOW do you find the x/y corrdinates??? Is their an XML editor that you guys use?
I using S2U2 and hope weather paper shown on today , can you modify yours script to yahoo weather , so I don need to install weatherpanel ,can you help me ?

Manila 2D for QVGA Landscape Devices

I am not sure this will be useful to many people, but I am trying to get TouchFlo 2D working on landscape QVGA devices (I have a TechFaithWireless Ubiquio 501). Basically I've installed the Manila cabs and read up about editing the homesettings.xml file.
Manila 2d cabs: http://forum.xda-developers.com/showthread.php?t=398173
HomeSettings.xml explained: http://forum.xda-developers.com/showthread.php?t=427531
You will also need to install the HTC Opal Blue theme and the edited graphics (attached below).
Tab Widget
This brings the tabs to the bottom of the screen when in QVGA.
Code:
<TabWidget>
<Property name="IDTABWG_WIDGET_RECT" id="0" value="0,0,240,230, 0,0,320,230" />
<Property name="IDTABWG_TITLE_RECT" id="1" value="8,0,224,25, 8,0,304,25" />
<Property name="IDTABWG_TAB_RECT" id="2" value="0,217,240,51, 0,140,320,51" />
<Property name="IDTABWG_TABBG_ICON_WIDTH" id="3" value="48, 55" />
<Property name="IDTABWG_TABBG_IMAGE" id="4" value="2" />
<Property name="IDTABWG_TABBTN_IMAGE" id="5" value="3,4, 3,4" />
<Property name="IDTABWG_TABBTN_FOCUS_RECT" id="6" value="8,6,54,45, 8,6,54,45" />
<Property name="IDTABWG_WIDGETBG_IMAGE" id="7" value="1" />
<Property name="IDTABWG_BIGICON_YPOS" id="8" value="52, 10" />
<Property name="IDTABWG_BIGTEXT_RECT" id="9" value="0,133,240,30, 0,100,320,30" />
<Property name="IDTABWG_MOVE_FRAMERATE" id="10" value="12, 12" />
<Property name="IDTABWG_BACKGROUND_IMAGE" id="11" value="0, 0" />
<Property name="IDTABWG_UNREAD_IMAGE" id="12" value="5,6" />
<Property name="IDTABWG_UNREAD_TABBG_POS" id="13" value="23,12, 23,12" />
<Property name="IDTABWG_UNREAD_TABBTN_POS" id="14" value="35,25, 35,25" />
<Property name="IDTABWG_UNREAD_TEXT_TABBG_RECT" id="15" value="23,8,26,30, 23,8,26,30" />
<Property name="IDTABWG_UNREAD_TEXT_TABBTN_RECT" id="16" value="35,21,26,30, 35,21,26,30" />
<Property name="IDTABWG_WIDGET_FOCUS_BG_IMG" id="17" value="227, 227" />
</TabWidget>
Home Screen
{
"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"
}
Code updated 2008-10-03: The end of appointments used to be chopped off if the text was more than 218 pixels wide. This has now been fixed so it spans the whole home screen.
The xml code for this is as follows:
Code:
<HomeWidget>
<Property name="IDHMWG_CLOCKBTN_BGIMG" id="0" value="40" />
<Property name="IDHMWG_CLOCKBTN_BGIMG_POS" id="1" value="145, 78" />
<Property name="IDHMWG_CLOCKBTN_RECT" id="2" value="12, 31, 308, 86" />
<Property name="IDHMWG_CLOCKBTN_1STDIGIT_POS" id="3" value="208, 61" />
<Property name="IDHMWG_CLOCKBTN_2NDDIGIT_POS" id="4" value="221, 61" />
<Property name="IDHMWG_CLOCKBTN_SEPARATOR_POS" id="5" value="236, 66" />
<Property name="IDHMWG_CLOCKBTN_3RDDIGIT_POS" id="6" value="241, 61" />
<Property name="IDHMWG_CLOCKBTN_4THDIGIT_POS" id="7" value="254, 61" />
<Property name="IDHMWG_CLOCKBTN_ALARM_POS" id="8" value="283, 66" />
<Property name="IDHMWG_CLOCKBTN_AMPM_POS" id="9" value="268, 69" />
<Property name="IDHMWG_CLOCKBTN_FOCUS_POS" id="10" value="12, 31" />
<Property name="IDHMWG_CLOCKBTN_IMG_0" id="11" value="48" />
<Property name="IDHMWG_CLOCKBTN_IMG_1" id="12" value="49" />
<Property name="IDHMWG_CLOCKBTN_IMG_2" id="13" value="50" />
<Property name="IDHMWG_CLOCKBTN_IMG_3" id="14" value="51" />
<Property name="IDHMWG_CLOCKBTN_IMG_4" id="15" value="52" />
<Property name="IDHMWG_CLOCKBTN_IMG_5" id="16" value="53" />
<Property name="IDHMWG_CLOCKBTN_IMG_6" id="17" value="54" />
<Property name="IDHMWG_CLOCKBTN_IMG_7" id="18" value="55" />
<Property name="IDHMWG_CLOCKBTN_IMG_8" id="19" value="56" />
<Property name="IDHMWG_CLOCKBTN_IMG_9" id="20" value="57" />
<Property name="IDHMWG_CLOCKBTN_IMG_SEPARATOR" id="21" value="47" />
<Property name="IDHMWG_CLOCKBTN_IMG_ALARM_ON" id="22" value="41" />
<Property name="IDHMWG_CLOCKBTN_IMG_ALARM_OFF" id="23" value="42" />
<Property name="IDHMWG_CLOCKBTN_IMG_AM" id="24" value="43" />
<Property name="IDHMWG_CLOCKBTN_IMG_PM" id="25" value="44" />
<Property name="IDHMWG_CLOCKBTN_IMG_FOCUS" id="26" value="178" />
<Property name="IDHMWG_CLOCKBTN_IMG_FOCUS_DN" id="27" value="179" />
<Property name="IDHMWG_MISSEDCALLBTN_RECT" id="30" value="12,88,291,118" />
<Property name="IDHMWG_MISSEDCALLBTN_IMG" id="31" value="45" />
<Property name="IDHMWG_MISSEDCALLBTN_IMGPOS" id="32" value="29,95" />
<Property name="IDHMWG_MISSEDCALLBTN_TEXT_RECT" id="33" value="55,89,291,118" />
<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="12,117,291,137" />
<Property name="IDHMWG_CALENDARBTN1_IMG" id="41" value="46" />
<Property name="IDHMWG_CALENDARBTN1_IMGPOS" id="42" value="29,124" />
<Property name="IDHMWG_CALENDARBTN1_TEXT_RECT" id="43" value="55,124,291,147" />
<Property name="IDHMWG_CALENDARBTN1_TEXT_TIME_RECT" id="44" value="29,114,291,137" />
<Property name="IDHMWG_CALENDARBTN1_TEXT_SUBJECT_RECT" id="45" value="29,130,291,147" />
<Property name="IDHMWG_CALENDARBTN1_IMG_FOCUS" id="46" value="181" />
<Property name="IDHMWG_CALENDARBTN1_IMG_FOCUS_DN" id="47" value="182" />
<Property name="IDHMWG_ANALOGCLOCK_RECT" id="80" value="0,0,320,240" />
<Property name="IDHMWG_ANALOGCLOCK_CENTER_POS" id="81" value="159,73" />
<Property name="IDHMWG_ANALOGCLOCK_ALARM_IMG" id="82" value="121,122,123,124" />
<Property name="IDHMWG_ANALOGCLOCK_HOUR_IMG" id="83" value="125,126,127,128" />
<Property name="IDHMWG_ANALOGCLOCK_MINUTE_IMG" id="84" value="209,210,211,212" />
<Property name="IDHMWG_ANALOGCLOCK_DOT_IMG" id="85" value="213,214,215,216" />
<Property name="IDHMWG_ALARMSTATUS_RECT" id="90" value="29,7,291,139" />
<Property name="IDHMWG_ALARMSTATUS_IMG_ON" id="91" value="41" />
<Property name="IDHMWG_ALARMSTATUS_IMG_OFF" id="92" value="42" />
<Property name="IDHMWG_LINE_IMG" id="100" value="180" />
<Property name="IDHMWG_LINE1_IMGPOS" id="101" value="28,88" />
<Property name="IDHMWG_LINE2_IMGPOS" id="102" value="28,117" />
<Property name="IDHMWG_LINE3_IMGPOS" id="103" value="28,146" />
<Property name="IDHMWG_DATE_RECT" id="104" value="28,127,291,148" />
</HomeWidget>
Weather
There isn't much space in the QVGA format so I've found it difficult to squeeze the full five day forecast into this tab, hence only current weather shows. The xml for this is:
Code:
<WeatherWidget>
<Property name="IDWEWG_LASTUPDATEBTN_RECT" id="0" value="160,40,70,15,202,0,15,15"/>
<Property name="IDWEWG_WEATHERBTN_RECT" id="1" value="4,47,232,60,4,47,292,60" />
<Property name="IDWEWG_LOCATIONBTN_RECT" id="2" value="4,51,232,200,4,136,312,23" />
<Property name="IDWEWG_STATUSTXT_RECT" id="3" value="15,91,210,60,45,102,275,60" />
<Property name="IDWEWG_LOCATIONTXT_RECT" id="4" value="15,121,210,22,55,104,210,22" />
<Property name="IDWEWG_LASTUPDATETXT_RECT" id="5" value="156,50,82,15,164,54,151,15" />
<Property name="IDWEWG_ADDCITYTXT_RECT" id="6" value="15,51,210,60,15,51,290,60" />
<Property name="IDWEWG_ARROWTXT_RECT" id="7" value="0,28,10,13,0,28,10,13" />
<Property name="IDWEWG_TEMPERATURETXT_RECT" id="8" value="8,33,80,40,8,33,80,40" />
<Property name="IDWEWG_DOWNARROWRELEASE_IMGID" id="9" value="83" />
<Property name="IDWEWG_DOWNARROWPRESS_IMGID" id="10" value="82" />
<Property name="IDWEWG_REFRESH_IMGID" id="11" value="84" />
<Property name="IDWEWG_SEPERATELINE_IMGID" id="12" value="86" />
<Property name="IDWEWG_DOWNARROW_POS" id="14" value="216,110,300,108" />
<Property name="IDWEWG_UPARROW_POS" id="15" value="216,82,300,82" />
<Property name="IDWEWG_REFRESH_POS" id="16" value="220,116,300,10" />
<Property name="IDWEWG_WEATHER_POS" id="17" value="0,0,100,5" />
<Property name="IDWEWG_SEPERATELINE_POS" id="18" value="0,210,0,210" />
<Property name="IDWEWG_HIGHTEMPTEXT_TODAY_RECT" id="19" value="8,78,60,15,8,78,60,15" />
<Property name="IDWEWG_LOWTEMPTEXT_TODAY_RECT" id="20" value="8,93,60,15,8,93,60,15" />
<Property name="IDWEWG_DAYTEXT_WEEK_RECT" id="27" value="0,4,100,12,0,5,100,25" />
<Property name="IDWEWG_HIGHTEMPTEXT_WEEK_RECT" id="28" value="0,0,26,15,175,5,30,15" />
<Property name="IDWEWG_LOWTEMPTEXT_WEEK_RECT" id="29" value="0,0,26,15,210,5,25,15" />
<Property name="IDWEWG_SEPERATELINE_IMGID_P" id="30" value="116" />
<Property name="IDWEWG_SEPERATELINE_POS1" id="31" value="47,123,47,125" />
<Property name="IDWEWG_SEPERATELINE_POS2" id="32" value="0,166,0,168" />
<Property name="IDWEWG_LOCATIONINDEXTXT_RECT" id="33" value="205,100,34,20,288,90,34,20" />
<Property name="IDWEWG_FORECASTCONTROL_RECT" id="34" value="0,0,0,62,0,0,0,62" />
<Property name="IDWEWG_LASTUPDATETITLE_RECT" id="35" value="90,38,150,15,167,40,151,15" />
<Property name="IDWEWG_SEPERATELINE1_IMGID" id="36" value="197" />
<Property name="IDWEWG_SEPERATELINE2_IMGID" id="37" value="198" />
<Property name="IDWEWG_WEATHERTEXT_RECT" id="38" value="0,141,240,22,15,122,290,22" />
<Property name="IDWEWG_UPARROWRELEASE_IMGID" id="39" value="85" />
<Property name="IDWEWG_UPARROWPRESS_IMGID" id="40" value="84" />
</WeatherWidget>
Launcher
The code for this is:
Code:
<LauncherWidget>
<Property name="IDLAUNCHERWG_START_POINT" id="0" value="20, 2" />
<Property name="IDLAUNCHERWG_Y_INTERVAL" id="1" value="2" />
<Property name="IDLAUNCHERWG_ROW" id="2" value="6" />
<Property name="IDLAUNCHERWG_COLUMN" id="3" value="4" />
<Property name="IDLAUNCHERWG_LASTPROP" id="4" value="0" />
<Property name="IDLAUNCHERWG_BTNSELECTED_IMG" id="5" value="HH_LAUNCHER_BTN_SELECTED.png" />
<Property name="IDLAUNCHERWG_BTNSELECTED_MASKIMG" id="6" value="HH_LAUNCHER_BTN_SELECTED_MASK.png" />
<Property name="IDLAUNCHERWG_BTNPRESSED_IMG" id="7" value="HH_LAUNCHER_BTN_PRESS.png" />
<Property name="IDLAUNCHERWG_BTNPRESSED_MASKIMG" id="8" value="HH_LAUNCHER_BTN_PRESS_MASK.png" />
<Property name="IDLAUNCHERWG_BTN_IMG" id="9" value="HH_LAUNCHER_BTN.png" />
<Property name="IDLAUNCHERWG_BTN_IMGMASK" id="10" value="HH_LAUNCHER_BTN_MASK.png" />
<Property name="IDLAUNCHERWG_BTNPLUS_IMG" id="11" value="HH_LAUNCHER_ITEM_ADD.png" />
<Property name="IDLAUNCHERWG_BTNPLUS_IMGMASK" id="12" value="HH_LAUNCHER_ITEM_ADD_MASK.png" />
<Property name="IDLAUNCHERWG_BTNDELETE_IMG" id="13" value="HH_LAUNCHER_ITEM_DELETE.png" />
<Property name="IDLAUNCHERWG_BTNDELETEPRESSED_IMG" id="14" value="HH_LAUNCHER_ITEM_DELETE_PRESS.png" />
<Property name="IDLAUNCHERWG_BTNLOCK_IMG" id="15" value="HH_LAUNCHER_ITEM_LOCK.png" />
<Property name="IDLAUNCHERWG_BTNLOCKPRESSED_IMG" id="16" value="HH_LAUNCHER_ITEM_LOCK_PRESS.png" />
<Property name="IDLAUNCHERWG_BTN_DELETE_LOCK_MASKIMG" id="17" value="HH_LAUNCHER_ITEM_LOCK_PRESS_MASK.png" />
<Property name="IDLAUNCHERWG_BTT_DELETE_ICON_POS" id="18" value="36, 36" />
<Property name="IDLAUNCHERWG_BTNICON_DIMENSION" id="19" value="32" />
<Property name="IDLAUNCHERWG_BTN_LASTPROP" id="20" value="0" />
</LauncherWidget>
I am working on the other tabs but it really is unbelieveably tedious, so I'd appreciate it if there are other people out there interested who could take over some of the other tabs!
This may also be useful for those interested in manila 2D on 320x320 devices. Unfortunately I don't have such a device and can't 'see' what goes on below the bottom edge of the landscape QVGA screen, so it might be a mess!
excellent work, will try it on my Kaiser
hmmmm. interesting. I can't guinea pig right now though. My day is about to start.
I must warn you that for some of the tabs there is no differentiation between portrait and landscape. The home tab for instance does not have a separate definition for landscape. That means the layout probably won't work on devices which can switch from portrait to landscape.
YMMV!
just awesome...i've been playing around with editing the .xml too - tough getting it just right for landscape. this looks great...loading now! Looks awesome on my ipaq 910.
I also like the way btprice2001 did his weather page...a little more detail (http://forum.xda-developers.com/showpost.php?p=2716480&postcount=1680)
ZSX said:
I must warn you that for some of the tabs there is no differentiation between portrait and landscape. The home tab for instance does not have a separate definition for landscape. That means the layout probably won't work on devices which can switch from portrait to landscape.
YMMV!
Click to expand...
Click to collapse
Umm..
Did you see this?
Good Work!!! 2 bad i went back to spb shell until this app uses up less than half the memory that it does not and allows 4x contacts along with all the other things that can be done in spb shell that this app cant..
eazy2001x said:
Good Work!!! 2 bad i went back to spb shell until this app uses up less than half the memory that it does not and allows 4x contacts along with all the other things that can be done in spb shell that this app cant..
Click to expand...
Click to collapse
True, but I will switch back to SPB Mobile Shell when they fix the battery drain!
That thing sucks up my battery so fast.
looks great...but somehow lost the analog clock in the transfer. any ideas? i copied your xml into mine (complete change...no leftovers). but can't get the clock to show. thanks in advance.
if we get all taps in landscape i will put in a new update on main 2d manila thread
Music
The code for this is:
Code:
<MusicWidget>
<Property name="IDMUSICWG_MUSICBTN_IMG" id="0" value="87" />
<Property name="IDMUSICWG_MUSICBTNPRESSED_IMG" id="1" value="105" />
<Property name="IDMUSICWG_MUSICBTN_IMG_LANDSCAPE" id="2" value="88" />
<Property name="IDMUSICWG_MUSICBTNPRESSED_IMG_LANDSCAPE" id="3" value="106" />
<Property name="IDMUSICWG_PREVIOUSBTN_ENABLE_IMG" id="4" value="102" />
<Property name="IDMUSICWG_PREVIOUSBTN_DISABLE_IMG" id="5" value="103" />
<Property name="IDMUSICWG_PREVIOUSBTN_PRESSED_IMG" id="6" value="104" />
<Property name="IDMUSICWG_PREVIOUSBTN_RECT" id="7" value="200, 47, 238, 85" />
<Property name="IDMUSICWG_PREVIOUSBTN_RECT_LANDSCAPE" id="8" value="276, 24, 308, 62" />
<Property name="IDMUSICWG_PREVIOUSBTN_LASTPROP" id="9" value="0" />
<Property name="IDMUSICWG_PLAYBTN_ENABLE_IMG" id="10" value="99" />
<Property name="IDMUSICWG_PLAYBTN_DISABLE_IMG" id="11" value="100" />
<Property name="IDMUSICWG_PLAYBTN_PRESSED_IMG" id="12" value="101" />
<Property name="IDMUSICWG_PAUSEBTN_ENABLE_IMG" id="13" value="96" />
<Property name="IDMUSICWG_PAUSEBTN_DISABLE_IMG" id="14" value="97" />
<Property name="IDMUSICWG_PAUSEBTN_PRESSED_IMG" id="15" value="98" />
<Property name="IDMUSICWG_PLAYPAUSEBTN_RECT" id="16" value="199, 90, 237, 128" />
<Property name="IDMUSICWG_PLAYPAUSEBTN_RECT_LANDSCAPE" id="17" value="276, 55, 308, 93" />
<Property name="IDMUSICWG_PLAYPAUSEBTN_LASTPORP" id="18" value="0" />
<Property name="IDMUSICWG_NEXTBTN_ENABLE_IMG" id="19" value="93" />
<Property name="IDMUSICWG_NEXTBTN_DISABLE_IMG" id="20" value="94" />
<Property name="IDMUSICWG_NEXTBTN_PRESSED_IMG" id="21" value="95" />
<Property name="IDMUSICWG_NEXTBTN_RECT" id="22" value="200, 133, 238, 171" />
<Property name="IDMUSICWG_NEXTBTN_RECT_LANDSCAPE" id="23" value="276, 88, 308, 126" />
<Property name="IDMUSICWG_NEXTBTN_LASTPORP" id="24" value="0" />
<Property name="IDMUSICWG_LAUNCHERBTN_ENABLE_IMG" id="25" value="90" />
<Property name="IDMUSICWG_LAUNCHERBTN_DISABLE_IMG" id="26" value="91" />
<Property name="IDMUSICWG_LAUNCHERBTN_PRESSED_IMG" id="27" value="92" />
<Property name="IDMUSICWG_LAUNCHERBTN_RECT" id="28" value="2, 2, 22, 2" />
<Property name="IDMUSICWG_LAUNCHERBTN_RECT_LANDSCAPE" id="29" value="230, 27, 295, 62" />
<Property name="IDMUSICWG_LAUNCHERBTN_LASTPORP" id="30" value="0" />
<Property name="IDMUSICWG_INFO_DEFAULT_IMG" id="31" value="119" />
<Property name="IDMUSICWG_INFO_IMG_RECT" id="32" value="45, 32, 189, 176" />
<Property name="IDMUSICWG_INFO_ANIAREA_RECT" id="33" value="0, 0, 193, 180" />
<Property name="IDMUSICWG_INFO_TITLE_RECT" id="34" value="29, 180, 205, 198" />
<Property name="IDMUSICWG_INFO_ARTIST_RECT" id="35" value="29, 202, 205, 218" />
<Property name="IDMUSICWG_INFO_TIME_RECT" id="36" value="172, 194, 237, 204" />
<Property name="IDMUSICWG_INFO_TIMECURRENT_RECT" id="37" value="2, 194, 67, 204" />
<Property name="IDMUSICWG_INFO_IMG_RECT_LANDSCAPE" id="38" value="120, 30, 194, 104" />
<Property name="IDMUSICWG_INFO_ANIAREA_RECT_LANDSCAPE" id="39" value="120, 30, 198, 108" />
<Property name="IDMUSICWG_INFO_TITLE_RECT_LANDSCAPE" id="40" value="29, 110, 285, 278" />
<Property name="IDMUSICWG_INFO_ARTIST_RECT_LANDSCAPE" id="41" value="29, 130, 285, 298" />
<Property name="IDMUSICWG_INFO_TIME_RECT_LANDSCAPE" id="42" value="178, 125, 312, 135" />
<Property name="IDMUSICWG_INFO_TIMECURRENT_RECT_LANDSCAPE" id="43" value="2, 125, 67, 135" />
<Property name="IDMUSICWG_INFO_LASTPROP" id="44" value="0" />
<Property name="IDMUSICWG_PROGRESS_BGIMG" id="45" value="109" />
<Property name="IDMUSICWG_PROGRESS_FILLIMG" id="46" value="108" />
<Property name="IDMUSICWG_PROGRESS_RECT" id="47" value="32, 199, 202, 201" />
<Property name="IDMUSICWG_PROGRESS_BGIMG_LANDSCAPE" id="48" value="107" />
<Property name="IDMUSICWG_PROGRESS_FILLIMG_LANDSCAPE" id="49" value="89" />
<Property name="IDMUSICWG_PROGRESS_RECT_LANDSCAPE" id="50" value="32, 129, 282, 131" />
<Property name="IDMUSICWG_PROGRESS_LASTPROP" id="51" value="0" />
<Property name="IDMUSICWG_LOOPBTN_ENABLE_ON_IMG" id="52" value="184" />
<Property name="IDMUSICWG_LOOPBTN_ENABLE_OFF_IMG" id="53" value="185" />
<Property name="IDMUSICWG_LOOPBTN_DISABLE_ON_IMG" id="54" value="186" />
<Property name="IDMUSICWG_LOOPBTN_DISABLE_OFF_IMG" id="55" value="187" />
<Property name="IDMUSICWG_LOOPBTN_PRESSED_IMG" id="56" value="188" />
<Property name="IDMUSICWG_LOOPBTN_RECT" id="57" value="220, 5, 233, 17" />
<Property name="IDMUSICWG_LOOPBTN_RECT_LANDSCAPE" id="58" value="302, 5, 319, 17" />
<Property name="IDMUSICWG_LOOPBTN_LASTPORP" id="59" value="0" />
<Property name="IDMUSICWG_SHUFFLEBTN_ENABLE_ON_IMG" id="60" value="189" />
<Property name="IDMUSICWG_SHUFFLEBTN_ENABLE_OFF_IMG" id="61" value="190" />
<Property name="IDMUSICWG_SHUFFLEBTN_DISABLE_ON_IMG" id="62" value="191" />
<Property name="IDMUSICWG_SHUFFLEBTN_DISABLE_OFF_IMG" id="63" value="192" />
<Property name="IDMUSICWG_SHUFFLEBTN_PRESSED_IMG" id="64" value="193" />
<Property name="IDMUSICWG_SHUFFLEBTN_RECT" id="65" value="204, 5, 217, 17" />
<Property name="IDMUSICWG_SHUFFLEBTN_RECT_LANDSCAPE" id="66" value="286, 5, 303, 17" />
<Property name="IDMUSICWG_SHUFFLEBTN_LASTPORP" id="67" value="0" />
</MusicWidget>
There are currently several problems with this tab which i am not sure it is possible to fix just by editing the xml file.
Progress bar: I just can't get the progress bar to display at all in landscape. You can see a bit of it appears between the title of the song and the name of the artiste but no more than that!
Time elapsed / time remaining counters: If you play the track the timers do not change in real time. If you pause they will update themselves, but if you resume the timers once again do not change.
Animations: The way the animations occur in TF2D is by blanking out a segment of the screen 193 px by 180 px and then redrawing the new album art over it. This is invisible in portrait but in landscape it takes out half the tab bar, like this:
If you refresh the page (e.g. by pausing and restarting the track) the page refreshes and it looks fine.
Anyone have ideas on how to fix this?
pmorganii said:
just awesome...i've been playing around with editing the .xml too - tough getting it just right for landscape. this looks great...loading now! Looks awesome on my ipaq 910.
I also like the way btprice2001 did his weather page...a little more detail (http://forum.xda-developers.com/showpost.php?p=2716480&postcount=1680)
Click to expand...
Click to collapse
That's great. I do like his layout. The good thing about the xml file is that the code for each tab can be interchanged easily, so you can really choose the tab layout you prefer. I'm hoping that other people will come up with the code for the other tabs as well!
pmorganii said:
looks great...but somehow lost the analog clock in the transfer. any ideas? i copied your xml into mine (complete change...no leftovers). but can't get the clock to show. thanks in advance.
Click to expand...
Click to collapse
Hmm. Very odd. Do the clock hands show when you use the default xml file? It is working fine on mine. I am assuming that you took the code and just pasted it over the corresponding section in your own xml file? It really should work.
eazy2001x said:
Umm..
Did you see this?
Good Work!!! 2 bad i went back to spb shell until this app uses up less than half the memory that it does not and allows 4x contacts along with all the other things that can be done in spb shell that this app cant..
Click to expand...
Click to collapse
Yes of course I saw that!
What I mean is that for some of the tabs (e.g. music) there is a separate xml code for the different layouts in portrait and landscape formats. The home tab doesn't have this, which means that in devices which switch orientation, the portrait version looks like this:
good point...you are right. do you have the default xml on hand?...i was using a build that I had made. duh....
ZSX said:
That's great. I do like his layout. The good thing about the xml file is that the code for each tab can be interchanged easily, so you can really choose the tab layout you prefer. I'm hoping that other people will come up with the code for the other tabs as well!
Hmm. Very odd. Do the clock hands show when you use the default xml file? It is working fine on mine. I am assuming that you took the code and just pasted it over the corresponding section in your own xml file? It really should work.
Click to expand...
Click to collapse
This is great. is anyone working on both portrait and landscape coinciding
great idea, thnk you for your share
ZSX said:
I am not sure this will be useful to many people, but I am trying to get TouchFlo 2D working on landscape QVGA devices (I have a TechFaithWireless Ubiquio 501). Basically I've installed the Manila cabs and read up about editing the homesettings.xml file.
Manila 2d cabs: http://forum.xda-developers.com/showthread.php?t=398173
HomeSettings.xml explained: http://forum.xda-developers.com/showthread.php?t=427531
You will also need to install the HTC Opal Blue theme and the edited graphics (attached below)...
Okay, so now I'll sound like a real noob, but...
I've looked at the files and the other links provided and can't figure out how this installs. I guess I'm too used to cabs. Any direction towards a page with instructions would be greatly appreciated.
Nice work!
-OZ
Click to expand...
Click to collapse
Nice work I will have to have a look at it when I get the time
NICE WORK
You Does Nice Work It Is So Usefull To Manila Lover Community
Your Work Appreciated By Us
does your rain animation work? mine is not.
ZSX said:
Weather
Click to expand...
Click to collapse

Ask Your Mother, Ask Your Father...

I have successfully managed to incorporate orientation changes into the Ticker Display!!! However, my part/know-how is done with... The coding for the rotation is in there, and it works great, however I need modified XML Layouts for the main Ticker display in LANDSCAPE... I wouldn't even know where to begin...
So basically, I would like it if when the phone is put into landscape, the main ticker display goes into landscape also! So, your job is here... Either you figure it out, or ask around, if you can take the main ticker display (standbymode.xml in framework-res.apk) and rotate it....
Right now, I have it set as my own custom text instead Pics:
I automatically made it go back to the default vertical view when you lock the phone...
{
"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"
}
Please help my dream come true! (P.S. I am really tired while writing this, so.... yeah... haha)
awesome job as always!
Scavanger hunt time! Ill try and make some time to look into or redirect to what I find.
Questions:
1. The layout code (<Layout> etc) needed you say are ones for whatever you want to put on that screen ie shorcuts or even a ticker apk?
2. Thus needing deminisions and actions and parameters?
I need hints lol
ciscogee said:
awesome job as always!
Scavanger hunt time! Ill try and make some time to look into or redirect to what I find.
Questions:
1. The layout code (<Layout> etc) needed you say are ones for whatever you want to put on that screen ie shorcuts or even a ticker apk?
2. Thus needing deminisions and actions and parameters?
I need hints lol
Click to expand...
Click to collapse
Thanks man! and haha, alright sounds good!
And the only thing that needs to be done is just rotating the Layouts, TextViews, and ImageViews of the main ticker Display, NOT the code for them! The code for them is already stored within the Services file, thanks to me, but they need to be properly defined! So basically, take this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:layout_gravity="bottom" android:orientation="horizontal" android:id="@id/standbymode_default_vertical" android:background="@null" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="top|left|center" android:id="@id/RelativeLayout01" android:layout_width="103.0px" android:layout_height="96.0px">
<ImageView android:layout_gravity="top" android:id="@id/WeatherIcon" android:layout_width="80.0px" android:layout_height="80.0px" android:layout_marginLeft="8.0px" android:layout_marginTop="8.0px" />
<ImageView android:id="@id/IconSel" android:background="@drawable/weather_press" android:visibility="gone" android:layout_width="80.0px" android:layout_height="80.0px" android:layout_marginLeft="8.0px" android:layout_marginTop="8.0px" android:layout_marginBottom="8.0px" />
</RelativeLayout>
<LinearLayout android:orientation="vertical" android:id="@id/LinearLayout02" android:layout_width="0.0dip" android:layout_height="96.0px" android:layout_weight="1.0">
<TextView android:textSize="@dimen/data.text.size" android:textStyle="bold" android:textColor="#ffffffff" android:layout_gravity="top|left|center" android:id="@id/TextView02" android:layout_width="wrap_content" android:layout_height="@dimen/data.layout.height" android:layout_marginTop="@dimen/data.layout.margin.top" android:layout_marginBottom="@dimen/data.layout.margin.bottom" />
<LinearLayout android:gravity="top" android:layout_width="fill_parent" android:layout_height="fill_parent">
<TextView android:textSize="@dimen/time.text.size" android:typeface="normal" android:textColor="@color/clockcolor" android:layout_gravity="top|left|center" android:id="@id/TextView03" android:layout_width="wrap_content" android:layout_height="@dimen/time.layout.height" android:layout_marginBottom="@dimen/time.layout.margin.bottom" />
<TextView android:textSize="@dimen/data.text.size" android:typeface="normal" android:textColor="@color/clockcolor" android:layout_gravity="top|left|center" android:id="@id/TextView04" android:paddingLeft="5.0px" android:layout_width="wrap_content" android:layout_height="@dimen/time.layout.height" android:layout_marginBottom="@dimen/time.layout.margin.bottom" />
</LinearLayout>
</LinearLayout>
<RelativeLayout android:id="@id/RelativeLayout02" android:layout_width="68.0px" android:layout_height="wrap_content">
<ImageButton android:id="@id/HistoryButton" android:background="@null" android:focusable="true" android:layout_width="68.0px" android:layout_height="wrap_content" android:src="@drawable/tt_tickerhistory_buttonup" android:scaleType="fitXY" android:layout_alignParentRight="true" />
</RelativeLayout>
</LinearLayout>
and make it for ONLY Landscape, so it is forced into that position!
Oh, and important side note for any and all developers, I cleaned up the standbymode XML, so that all of the layouts (vertical, horizontal, quick launch, sleep mode) aren't being called in the same place... Instead, they are being branched out into specific sub-XMLs... So, for the vertical view, the file where the layout is stored is now "standbymode_default_vertical." This is all just behind the scenes, nothing changes up front, but in the background it makes everything a lot neater
I haven't released the framework-res with this in it yet, (or the specific source) because it isn't really a big deal, but once I get the modified layout for the Horizontal (Landscape) view of the code above, i'll incorporate the cleaner format and the code into my new release
im on it.
ticker port question:
have u discovered all the stock ticker functions files (from the platform ie smali and xmls)? i ask because im looking at i500 gb sources and i may be able to either port the ticker into the build (but platform would also have to be ported with ticker inserted etc) or if its feasible, to just mod the gb kernel with our display specs?
try this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:layout_gravity="bottom" android:orientation="horizontal" android:id="@id/standbymode_default_vertical" android:background="@null" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout android:layout_gravity="top|left|center" android:id="@id/RelativeLayout01" android:layout_width="103.0px" android:layout_height="96.0px">
<ImageView android:layout_gravity="top" android:id="@id/WeatherIcon" android:layout_width="80.0px" android:layout_height="80.0px" android:layout_marginLeft="8.0px" android:layout_marginTop="8.0px" />
<ImageView android:id="@id/IconSel" android:background="@drawable/weather_press" android:visibility="gone" android:layout_width="80.0px" android:layout_height="80.0px" android:layout_marginLeft="8.0px" android:layout_marginTop="8.0px" android:layout_marginBottom="8.0px" />
</RelativeLayout>
<LinearLayout android:orientation="vertical" android:id="@id/LinearLayout02" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="1.0">
<TextView android:textSize="@dimen/data.text.size" android:textStyle="bold" android:textColor="#ffffffff" android:layout_gravity="top|left|center" android:id="@id/TextView02" android:layout_width="wrap_content" android:layout_height="@dimen/data.layout.height" android:layout_marginTop="@dimen/data.layout.margin.top" android:layout_marginBottom="@dimen/data.layout.margin.bottom" />
<LinearLayout android:gravity="top" android:layout_width="match_parent" android:layout_height="match_parent">
<TextView android:textSize="@dimen/time.text.size" android:typeface="normal" android:textColor="@color/clockcolor" android:layout_gravity="top|left|center" android:id="@id/TextView03" android:layout_width="wrap_content" android:layout_height="@dimen/time.layout.height" android:layout_marginBottom="@dimen/time.layout.margin.bottom" />
<TextView android:textSize="@dimen/data.text.size" android:typeface="normal" android:textColor="@color/clockcolor" android:layout_gravity="top|left|center" android:id="@id/TextView04" android:paddingLeft="5.0px" android:layout_width="wrap_content" android:layout_height="@dimen/time.layout.height" android:layout_marginBottom="@dimen/time.layout.margin.bottom" />
</LinearLayout>
</LinearLayout>
<RelativeLayout android:id="@id/RelativeLayout02" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageButton android:id="@id/HistoryButton" android:background="@null" android:focusable="true" android:layout_width="68.0px" android:layout_height="wrap_content" android:src="@drawable/tt_tickerhistory_buttonup" android:scaleType="fitXY" android:layout_alignParentRight="true" />
</RelativeLayout>
</LinearLayout>
may need to toggle imgbutton layout_width="wrap_content" or if im way off, this is what i found on it.
not sure if you noticed the edit^
haha, thanks for the update, I didn't notice it until now I will try it shortly, and let you know!
EDIT: Nope, it didn't work... Thanks though; any other ideas? All that shows up is a non rotated weather icon, everything else is gone...
Hmm.
So the xml posted was just for the HI screen right?
Or for every ticker screen?
Cause since its fuctions are written already(awesome job) it should only be in the layout scripts.
Ill look it over again.
Sent from my SPH-M580BST using Tapatalk 2
The text posted was the original main layout for the vertical view (standbymode_default_vertical.xml) on the ticker, which will be used solely for standbymode_default_horizontal.xml...
This is what the main standbymode.xml looks like now:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.server.ticker.TickerStandByView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:layout_gravity="bottom" android:orientation="horizontal" android:id="@id/LinearLayout01" android:background="@drawable/tt_noti_bg_01" android:layout_width="480.0px" android:layout_height="96.0px">
<include android:id="@id/standbymode_default_vertical" android:layout_width="fill_parent" layout="@layout/standbymode_default_vertical" />
<include android:id="@id/standbymode_default_horizontal" android:visibility="gone" android:layout_width="fill_parent" layout="@layout/standbymode_default_horizontal" />
<include android:id="@id/standbymode_quicklaunch" android:visibility="gone" android:layout_width="fill_parent" layout="@layout/standbymode_quicklaunch" />
<include android:id="@id/standbymode_sleepmode" android:visibility="gone" android:layout_width="fill_parent" layout="@layout/standbymode_sleepmode" />
</LinearLayout>
<ImageView android:id="@id/cacheImageView" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</com.android.server.ticker.TickerStandByView>
But you know what I just noticed??? The first line of the main standbymode.xml page includes
Code:
android:orientation="vertical"
. I'm going to test something out...
Hey TB did you finish my request or are you still working on it?
Sent from my SCH-I400 using xda app-developers app
trailblazer101 said:
The text posted was the original main layout for the vertical view (standbymode_default_vertical.xml) on the ticker, which will be used solely for standbymode_default_horizontal.xml...
This is what the main standbymode.xml looks like now:
Code:
But you know what I just noticed??? The first line of the main standbymode.xml page includes
Code:
android:orientation="vertical"
. I'm going to test something out...
Click to expand...
Click to collapse
Yes I see it too.. also try reversing the hieght and width
Also isn't vertical=lanscape and horizontal=portrait?
Because when in portrait the lines are horizontal ya know what I mean?
Sent from my SPH-M580BST using Tapatalk 2
To be honest Jaggar345, I kinda sideburner-ed it, since I sorta got sucked up into this rotation project, haha... Is there a time frame thouegh that you would like it done by? Because I could focus my energy onto it again if you wanted it soon!
and yeah Ciscogee, you're right! haha.. Wasn't thinking straight there for a second
off topic, kinda
so this is the only instance of the ticker shown as the 3rd screen,
Code:
#define FULL_SCREEN_WIDTH 479
#define MAIN_SCREEN_HEIGHT 799
#define SOFTKEYS_SCREEN_HEIGHT 96
#define TICKER_SCREEN_HEIGHT 96
#define SOFTKEYS_WIDTH 120
#define MAIN_SCREEN 1
#define SOFTKEYS_SCREEN 2
#define TICKER_SCREEN 3
#define DEFAULT_PRESSURE_UP 0
#define DEFAULT_PRESSURE_DOWN 256
my question is:
what are the fascinates dimensions if a simple,
REMOVE ticker from this module AND port dimensions
OR
just REMOVE ticker from module? (cause if removed, do i extend the max hieght and width? or does it know what to do[LOL]?)
what are your thoughts since you put so much effort into cracking the ticker? there is also an api viewer that you can see the ticker smali, cause im just thinking that since we dont have ticker sources then it would be most difficult to write the ticker into each platform if i can work out errors in 2.6.32.9 kernel we could up date the linux kernel to boot GB+.
trailblazer101 said:
To be honest Jaggar345, I kinda sideburner-ed it, since I sorta got sucked up into this rotation project, haha... Is there a time frame thouegh that you would like it done by? Because I could focus my energy onto it again if you wanted it soon!
and yeah Ciscogee, you're right! haha.. Wasn't thinking straight there for a second
Click to expand...
Click to collapse
Not really a time frame but im kinda looking for something new on my phone and what I requested is what I would like, You don't need to rush with it but try not to take ages to do it.
Thanks

[Q] can't add linear layouts to app

I am having to update an android app at work, I am new at this, I have to add a page, their existing pages have multiple linear layouts inside a relative layout. when I try to do it, it only allows me to put in 1 linear layout, and I can only put other item/layouts inside of that, I know it can be done, do I have to do it all with code, that seems unnecessarily complicated.
Can you post an example of the xml? Keep in mind that with relative layouts you must define positioning or everything will just overlay everything else, so you may actually be adding all the linearlayouts but you can't see them because they're overlapping each other.
Please post your code and layout to help others know your problem better.
Please make sure you add child to the right parent.
Dear,
This is example of multiple linear layouts inside a relative layout.:
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/layout_root"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<EditText
android:id="@+id/postTextTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/shareLILayout"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:ems="10"
android:gravity="top|left|start"
android:inputType="textMultiLine" >
<requestFocus />
</EditText>
<LinearLayout
android:id="@+id/shareLILayout"
android:layout_alignParentBottom="true"
android:background="#999999"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="right"
android:orientation="horizontal" >
<ImageButton
android:contentDescription="@string/li_btn_desc"
android:id="@+id/postToLIButton"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginRight="5dp"
android:layout_marginBottom="5dp"
android:background="@android:color/transparent"
android:src="@drawable/linkedin_switch_off" />
<TextView
android:id="@+id/postToLITextView"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="@string/share_on_linkedin"
android:layout_gravity="center_vertical"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textSize="14sp" />
</LinearLayout>
<LinearLayout
android:id="@+id/shareLILayout"
android:layout_alignParentBottom="true"
android:background="#999999"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="right"
android:orientation="horizontal" >
<ImageButton
android:contentDescription="@string/li_btn_desc"
android:id="@+id/postToLIButton"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginRight="5dp"
android:layout_marginBottom="5dp"
android:background="@android:color/transparent"
android:src="@drawable/linkedin_switch_off" />
<TextView
android:id="@+id/postToLITextView"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="@string/share_on_linkedin"
android:layout_gravity="center_vertical"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textSize="14sp" />
</LinearLayout>
</RelativeLayout>
try it, and inform me if you have any QA?

Please post your favorite controller maps/key maps/remaps for Kodi/SPMC!

I think this should work for both Kodi/SPMC: https://github.com/koying/SPMC/blob/spmc-jarvis/system/keymaps/joystick.xml.sample
Have you ever wanted to customize the buttons on the Shield TV controller? Well, just create a joystick.xml file using the template above and copy it to this location on your Shield TV:
/sdcard/Android/data/com.semperpax.spmc16/files/.spmc/userdata/keymaps
Here's a guide on what the button ID's are:
{
"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'm hoping that we can build up a repository of cool custom controller button remaps for everyone to use and share!
Here's my joystick/controller keymap. All the functions should be self explanatory. Feel free to try it and build upon it to make it better!
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Button Mappings : -->
<!-- -->
<!-- ID Button -->
<!-- -->
<!-- 1 A -->
<!-- 2 B -->
<!-- 3 X -->
<!-- 4 Y -->
<!-- 5 Left Shoulder -->
<!-- 6 Right Shoulder -->
<!-- 7 Back -->
<!-- 8 Start -->
<!-- 9 Left Stick Button -->
<!-- 10 Right Stick Button -->
<!-- 11 D-Pad Up -->
<!-- 12 D-Pad Down -->
<!-- 13 D-Pad Left -->
<!-- 14 D-Pad Right -->
<!-- 15 Back -->
<!-- Axis Mappings: -->
<!-- -->
<!-- ID Button -->
<!-- -->
<!-- 1 Left Stick L/R -->
<!-- 2 Left Stick U/D -->
<!-- 3 limit +1 Left Trigger -->
<!-- 3 limit -1 Right Trigger -->
<!-- 4 Right Stick L/R -->
<!-- 5 Right Stick U/D -->
<keymap>
<global>
<joystick>
<!-- A selects. B goes back. X gets context menu. Y goes fullscreen and back. -->
<button id="1">Select</button>
<button id="2">Back</button>
<button id="3">ContextMenu</button>
<button id="4">Info</button>
<button id="5"></button>
<button id="6"></button>
<button id="7">Notification(button pressed,7)</button>
<button id="8">RunScript("script.trailer.shortcut")</button>
<!-- Left stick click activates the shutdown menu. -->
<button id="9">Queue</button>
<button id="10">Queue</button>
<button id="11">Up</button>
<button id="12">Down</button>
<button id="13">Left</button>
<button id="14">Right</button>
<button id="15">PreviousMenu</button>
<axis id="1" limit="-1">Up</axis>
<axis id="1" limit="+1">Down</axis>
<axis id="2" limit="-1">Left</axis>
<axis id="2" limit="+1">Right</axis>
<axis id="3" limit="+1">ScrollUp</axis>
<axis id="3" limit="-1">ScrollDown</axis>
<!-- Push up on the right stick for volueme up. Push down for volume down. -->
<axis id="5" limit="-1">PageUp</axis>
<axis id="5" limit="+1">PageDown</axis>
<axis id="4" limit="-1">PrevLetter</axis>
<axis id="4" limit="+1">NextLetter</axis>
<hat id="1" position="up">Up</hat>
<hat id="1" position="down">Down</hat>
<hat id="1" position="left">Left</hat>
<hat id="1" position="right">Right</hat>
</joystick>
</global>
<Home>
<joystick>
<button id="8">Skin.ToggleSetting(HomeViewToggle)</button>
</joystick>
</Home>
<MyFiles>
<joystick>
<button id="6">Highlight</button>
</joystick>
</MyFiles>
<MyMusicPlaylist>
<joystick>
<button id="5">Delete</button>
</joystick>
</MyMusicPlaylist>
<MyMusicFiles>
</MyMusicFiles>
<MyMusicLibrary>
</MyMusicLibrary>
<FullscreenVideo>
<joystick>
<!--
A pauses and starts the video.
B stops the video.
X opens the onscreen display.
Y switches in and out of full screen
-->
<button id="1">PlayPause</button>
<button id="2">Stop</button>
<button id="3">OSD</button>
<button id="4">OSD</button>
<!--
Left shoulder changes aspect ratio.
Right shoulder changes subtitles.
Right stick changes Audio Language.
Start button displays info.
-->
<button id="5">AspectRatio</button>
<button id="6">ShowSubtitles</button>
<button id="8">PlayPause</button>
<button id="9">ZoomOut</button>
<button id="10">ZoomIn</button>
<button id="11">BigStepForward</button>
<button id="12">BigStepBack</button>
<button id="13">StepBack</button>
<button id="14">StepForward</button>
<!-- D-pad does what you'd expect. Triggers fast forward and rewind. Left stick scans forward and back. -->
<axis id="1" limit="+1">volampdown</axis>
<axis id="1" limit="-1">volampup</axis>
<axis id="2" limit="+1">FastForward</axis>
<axis id="2" limit="-1">Rewind</axis>
<axis id="4" limit="+1"></axis>
<axis id="4" limit="-1"></axis>
<axis id="5" limit="+1">NextSubtitle</axis>
<axis id="5" limit="-1">info</axis>
<hat id="1" position="up">BigStepForward</hat>
<hat id="1" position="down">BigStepBack</hat>
<hat id="1" position="left">StepBack</hat>
<hat id="1" position="right">StepForward</hat>
</joystick>
</FullscreenVideo>
<FullscreenLiveTV>
<joystick>
<button id="11">ChannelUp</button>
<button id="12">ChannelDown</button>
<button id="13">StepBack</button>
<button id="14">StepForward</button>
<hat id="1" position="up">ChannelUp</hat>
<hat id="1" position="down">ChannelDown</hat>
<hat id="1" position="left">StepBack</hat>
<hat id="1" position="right">StepForward</hat>
</joystick>
</FullscreenLiveTV>
<FullscreenRadio>
<joystick>
<button id="11">ChannelUp</button>
<button id="12">ChannelDown</button>
<button id="13">StepBack</button>
<button id="14">StepForward</button>
<hat id="1" position="up">ChannelUp</hat>
<hat id="1" position="down">ChannelDown</hat>
<hat id="1" position="left">StepBack</hat>
<hat id="1" position="right">StepForward</hat>
</joystick>
</FullscreenRadio>
<FullscreenInfo>
<joystick>
<button id="2">Close</button>
<button id="3">OSD</button>
<button id="8">Close</button>
<axis id="3" limit="+1">AnalogRewind</axis>
<axis id="3" limit="-1">AnalogFastForward</axis>
</joystick>
</FullscreenInfo>
<PlayerControls>
<joystick>
<button id="3">Close</button>
<button id="9">Close</button>
<button id="10">Close</button>
</joystick>
</PlayerControls>
<Visualisation>
<joystick>
<button id="1">Pause</button>
<button id="2">Stop</button>
<button id="3">ActivateWindow(MusicOSD)</button>
<button id="5">ActivateWindow(VisualisationPresetList)</button>
<button id="6">Info</button>
<button id="10">ActivateWindow(MusicOSD)</button>
<button id="11">SkipNext</button>
<button id="12">SkipPrevious</button>
<button id="13">PreviousPreset</button>
<button id="14">NextPreset</button>
<axis id="3" limit="+1">AnalogRewind</axis>
<axis id="3" limit="-1">AnalogFastForward</axis>
<hat id="1" position="up">SkipNext</hat>
<hat id="1" position="down">SkipPrevious</hat>
<hat id="1" position="left">StepBack</hat>
<hat id="1" position="right">StepForward</hat>
</joystick>
</Visualisation>
<MusicOSD>
<joystick>
<button id="3">Close</button>
<button id="6">Info</button>
</joystick>
</MusicOSD>
<VisualisationSettings>
<joystick>
<button id="2">Close</button>
</joystick>
</VisualisationSettings>
<VisualisationPresetList>
<joystick>
<button id="2">Close</button>
</joystick>
</VisualisationPresetList>
<SlideShow>
<joystick>
<button id="1">Pause</button>
<button id="2">Stop</button>
<button id="4">ZoomNormal</button>
<button id="5">Rotate</button>
<button id="6">CodecInfo</button>
<button id="11">ZoomIn</button>
<button id="12">ZoomOut</button>
<button id="13">PreviousPicture</button>
<button id="14">NextPicture</button>
<axis id="1">AnalogMove</axis>
<axis id="2">AnalogMove</axis>
<axis id="3" limit="+1">ZoomOut</axis>
<axis id="3" limit="-1">ZoomIn</axis>
<hat id="1" position="up">ZoomIn</hat>
<hat id="1" position="down">ZoomOut</hat>
<hat id="1" position="left">PreviousPicture</hat>
<hat id="1" position="right">NextPicture</hat>
</joystick>
</SlideShow>
<ScreenCalibration>
<joystick>
<button id="3">ResetCalibration</button>
<button id="5">NextResolution</button>
<button id="6">NextCalibration</button>
</joystick>
</ScreenCalibration>
<GUICalibration>
<joystick>
<button id="3">ResetCalibration</button>
<button id="5">NextResolution</button>
<button id="6">NextCalibration</button>
</joystick>
</GUICalibration>
<VideoOSD>
<joystick>
<button id="3">Close</button>
</joystick>
</VideoOSD>
<VideoMenu>
<joystick>
<button id="2">Stop</button>
<button id="3">OSD</button>
<button id="5">AspectRatio</button>
<button id="8">Info</button>
</joystick>
</VideoMenu>
<OSDVideoSettings>
<joystick>
<button id="5">AspectRatio</button>
<button id="3">Close</button>
</joystick>
</OSDVideoSettings>
<OSDAudioSettings>
<joystick>
<button id="5">AspectRatio</button>
<button id="3">Close</button>
</joystick>
</OSDAudioSettings>
<VideoBookmarks>
<joystick>
<button id="5">Delete</button>
</joystick>
</VideoBookmarks>
<MyVideoLibrary>
</MyVideoLibrary>
<MyVideoFiles>
</MyVideoFiles>
<MyVideoPlaylist>
<joystick>
<button id="5">Delete</button>
</joystick>
</MyVideoPlaylist>
<VirtualKeyboard>
<joystick>
<button id="2">BackSpace</button>
<button id="4">Symbols</button>
<button id="5">Shift</button>
<button id="9">Enter</button>
<button id="3">VoiceRecognizer</button>
<axis id="3" limit="+1">CursorLeft</axis>
<axis id="3" limit="-1">CursorRight</axis>
</joystick>
</VirtualKeyboard>
<ContextMenu>
<joystick>
<button id="2">Close</button>
<button id="3">Close</button>
</joystick>
</ContextMenu>
<Scripts>
<joystick>
<button id="3">Info</button>
</joystick>
</Scripts>
<Settings>
<joystick>
<button id="2">PreviousMenu</button>
</joystick>
</Settings>
<AddonInformation>
<joystick>
<button id="2">Close</button>
</joystick>
</AddonInformation>
<AddonSettings>
<joystick>
<button id="2">Close</button>
</joystick>
</AddonSettings>
<TextViewer>
<joystick>
<button id="2">Close</button>
</joystick>
</TextViewer>
<shutdownmenu>
<joystick>
<button id="2">PreviousMenu</button>
<button id="9">PreviousMenu</button>
</joystick>
</shutdownmenu>
<submenu>
<joystick>
<button id="2">PreviousMenu</button>
</joystick>
</submenu>
<MusicInformation>
<joystick>
<button id="2">Close</button>
</joystick>
</MusicInformation>
<MovieInformation>
<joystick>
<button id="2">Close</button>
</joystick>
</MovieInformation>
<NumericInput>
<joystick>
<button id="2">BackSpace</button>
<button id="9">Enter</button>
</joystick>
</NumericInput>
<GamepadInput>
<joystick>
<button id="9">Stop</button>
</joystick>
</GamepadInput>
<LockSettings>
<joystick>
<button id="2">PreviousMenu</button>
<button id="9">Close</button>
</joystick>
</LockSettings>
<ProfileSettings>
<joystick>
<button id="2">PreviousMenu</button>
<button id="9">Close</button>
</joystick>
</ProfileSettings>
</keymap>
You must install the attached zip file in order for the one touch movie trailers feature to work.
I really love using my controller with Kodi/SPMC now!!
Links to some Kodi commands:
http://kodi.wiki/view/list_of_built-in_functions
http://kodi.wiki/view/Keyboard_controls
Here's the thread for the Nvidia Shield TV Remote:
http://forum.xda-developers.com/shield-tv/help/remapping-nvidia-shield-tv-game-t3290726
on the original xbmc for the old xbox, you could use the analogue triggers as analogue fast forward/rewind, so as when you pressed gently it would go at 2×, then the more you pressed down on the trigger, the faster it got. would be good to be able to do that.
Neo3D said:
Here's my joystick/controller keymap. All the functions should be self explanatory. Feel free to try it and build upon it to make it better!
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Button Mappings : -->
<!-- -->
<!-- ID Button -->
<!-- -->
<!-- 1 A -->
<!-- 2 B -->
<!-- 3 X -->
<!-- 4 Y -->
<!-- 5 Left Shoulder -->
<!-- 6 Right Shoulder -->
<!-- 7 Back -->
<!-- 8 Start -->
<!-- 9 Left Stick Button -->
<!-- 10 Right Stick Button -->
<!-- 11 D-Pad Up -->
<!-- 12 D-Pad Down -->
<!-- 13 D-Pad Left -->
<!-- 14 D-Pad Right -->
<!-- 15 Back -->
<!-- Axis Mappings: -->
<!-- -->
<!-- ID Button -->
<!-- -->
<!-- 1 Left Stick L/R -->
<!-- 2 Left Stick U/D -->
<!-- 3 limit +1 Left Trigger -->
<!-- 3 limit -1 Right Trigger -->
<!-- 4 Right Stick L/R -->
<!-- 5 Right Stick U/D -->
<keymap>
<global>
<joystick>
<!-- A selects. B goes back. X gets context menu. Y goes fullscreen and back. -->
<button id="1">Select</button>
<button id="2">Back</button>
<button id="3">ContextMenu</button>
<button id="4">Info</button>
<button id="5"></button>
<button id="6"></button>
<button id="7">Notification(button pressed,7)</button>
<button id="8">RunScript("script.trailer.shortcut")</button>
<!-- Left stick click activates the shutdown menu. -->
<button id="9">Queue</button>
<button id="10">Queue</button>
<button id="11">Up</button>
<button id="12">Down</button>
<button id="13">Left</button>
<button id="14">Right</button>
<button id="15">PreviousMenu</button>
<axis id="1" limit="-1">Up</axis>
<axis id="1" limit="+1">Down</axis>
<axis id="2" limit="-1">Left</axis>
<axis id="2" limit="+1">Right</axis>
<axis id="3" limit="+1">ScrollUp</axis>
<axis id="3" limit="-1">ScrollDown</axis>
<!-- Push up on the right stick for volueme up. Push down for volume down. -->
<axis id="5" limit="-1">PageUp</axis>
<axis id="5" limit="+1">PageDown</axis>
<axis id="4" limit="-1">PrevLetter</axis>
<axis id="4" limit="+1">NextLetter</axis>
<hat id="1" position="up">Up</hat>
<hat id="1" position="down">Down</hat>
<hat id="1" position="left">Left</hat>
<hat id="1" position="right">Right</hat>
</joystick>
</global>
<Home>
<joystick>
<button id="8">Skin.ToggleSetting(HomeViewToggle)</button>
</joystick>
</Home>
<MyFiles>
<joystick>
<button id="6">Highlight</button>
</joystick>
</MyFiles>
<MyMusicPlaylist>
<joystick>
<button id="5">Delete</button>
</joystick>
</MyMusicPlaylist>
<MyMusicFiles>
</MyMusicFiles>
<MyMusicLibrary>
</MyMusicLibrary>
<FullscreenVideo>
<joystick>
<!--
A pauses and starts the video.
B stops the video.
X opens the onscreen display.
Y switches in and out of full screen
-->
<button id="1">PlayPause</button>
<button id="2">Stop</button>
<button id="3">OSD</button>
<button id="4">OSD</button>
<!--
Left shoulder changes aspect ratio.
Right shoulder changes subtitles.
Right stick changes Audio Language.
Start button displays info.
-->
<button id="5">AspectRatio</button>
<button id="6">ShowSubtitles</button>
<button id="8">PlayPause</button>
<button id="9">ZoomOut</button>
<button id="10">ZoomIn</button>
<button id="11">BigStepForward</button>
<button id="12">BigStepBack</button>
<button id="13">StepBack</button>
<button id="14">StepForward</button>
<!-- D-pad does what you'd expect. Triggers fast forward and rewind. Left stick scans forward and back. -->
<axis id="1" limit="+1">volampdown</axis>
<axis id="1" limit="-1">volampup</axis>
<axis id="2" limit="+1">FastForward</axis>
<axis id="2" limit="-1">Rewind</axis>
<axis id="4" limit="+1"></axis>
<axis id="4" limit="-1"></axis>
<axis id="5" limit="+1">NextSubtitle</axis>
<axis id="5" limit="-1">info</axis>
<hat id="1" position="up">BigStepForward</hat>
<hat id="1" position="down">BigStepBack</hat>
<hat id="1" position="left">StepBack</hat>
<hat id="1" position="right">StepForward</hat>
</joystick>
</FullscreenVideo>
<FullscreenLiveTV>
<joystick>
<button id="11">ChannelUp</button>
<button id="12">ChannelDown</button>
<button id="13">StepBack</button>
<button id="14">StepForward</button>
<hat id="1" position="up">ChannelUp</hat>
<hat id="1" position="down">ChannelDown</hat>
<hat id="1" position="left">StepBack</hat>
<hat id="1" position="right">StepForward</hat>
</joystick>
</FullscreenLiveTV>
<FullscreenRadio>
<joystick>
<button id="11">ChannelUp</button>
<button id="12">ChannelDown</button>
<button id="13">StepBack</button>
<button id="14">StepForward</button>
<hat id="1" position="up">ChannelUp</hat>
<hat id="1" position="down">ChannelDown</hat>
<hat id="1" position="left">StepBack</hat>
<hat id="1" position="right">StepForward</hat>
</joystick>
</FullscreenRadio>
<FullscreenInfo>
<joystick>
<button id="2">Close</button>
<button id="3">OSD</button>
<button id="8">Close</button>
<axis id="3" limit="+1">AnalogRewind</axis>
<axis id="3" limit="-1">AnalogFastForward</axis>
</joystick>
</FullscreenInfo>
<PlayerControls>
<joystick>
<button id="3">Close</button>
<button id="9">Close</button>
<button id="10">Close</button>
</joystick>
</PlayerControls>
<Visualisation>
<joystick>
<button id="1">Pause</button>
<button id="2">Stop</button>
<button id="3">ActivateWindow(MusicOSD)</button>
<button id="5">ActivateWindow(VisualisationPresetList)</button>
<button id="6">Info</button>
<button id="10">ActivateWindow(MusicOSD)</button>
<button id="11">SkipNext</button>
<button id="12">SkipPrevious</button>
<button id="13">PreviousPreset</button>
<button id="14">NextPreset</button>
<axis id="3" limit="+1">AnalogRewind</axis>
<axis id="3" limit="-1">AnalogFastForward</axis>
<hat id="1" position="up">SkipNext</hat>
<hat id="1" position="down">SkipPrevious</hat>
<hat id="1" position="left">StepBack</hat>
<hat id="1" position="right">StepForward</hat>
</joystick>
</Visualisation>
<MusicOSD>
<joystick>
<button id="3">Close</button>
<button id="6">Info</button>
</joystick>
</MusicOSD>
<VisualisationSettings>
<joystick>
<button id="2">Close</button>
</joystick>
</VisualisationSettings>
<VisualisationPresetList>
<joystick>
<button id="2">Close</button>
</joystick>
</VisualisationPresetList>
<SlideShow>
<joystick>
<button id="1">Pause</button>
<button id="2">Stop</button>
<button id="4">ZoomNormal</button>
<button id="5">Rotate</button>
<button id="6">CodecInfo</button>
<button id="11">ZoomIn</button>
<button id="12">ZoomOut</button>
<button id="13">PreviousPicture</button>
<button id="14">NextPicture</button>
<axis id="1">AnalogMove</axis>
<axis id="2">AnalogMove</axis>
<axis id="3" limit="+1">ZoomOut</axis>
<axis id="3" limit="-1">ZoomIn</axis>
<hat id="1" position="up">ZoomIn</hat>
<hat id="1" position="down">ZoomOut</hat>
<hat id="1" position="left">PreviousPicture</hat>
<hat id="1" position="right">NextPicture</hat>
</joystick>
</SlideShow>
<ScreenCalibration>
<joystick>
<button id="3">ResetCalibration</button>
<button id="5">NextResolution</button>
<button id="6">NextCalibration</button>
</joystick>
</ScreenCalibration>
<GUICalibration>
<joystick>
<button id="3">ResetCalibration</button>
<button id="5">NextResolution</button>
<button id="6">NextCalibration</button>
</joystick>
</GUICalibration>
<VideoOSD>
<joystick>
<button id="3">Close</button>
</joystick>
</VideoOSD>
<VideoMenu>
<joystick>
<button id="2">Stop</button>
<button id="3">OSD</button>
<button id="5">AspectRatio</button>
<button id="8">Info</button>
</joystick>
</VideoMenu>
<OSDVideoSettings>
<joystick>
<button id="5">AspectRatio</button>
<button id="3">Close</button>
</joystick>
</OSDVideoSettings>
<OSDAudioSettings>
<joystick>
<button id="5">AspectRatio</button>
<button id="3">Close</button>
</joystick>
</OSDAudioSettings>
<VideoBookmarks>
<joystick>
<button id="5">Delete</button>
</joystick>
</VideoBookmarks>
<MyVideoLibrary>
</MyVideoLibrary>
<MyVideoFiles>
</MyVideoFiles>
<MyVideoPlaylist>
<joystick>
<button id="5">Delete</button>
</joystick>
</MyVideoPlaylist>
<VirtualKeyboard>
<joystick>
<button id="2">BackSpace</button>
<button id="4">Symbols</button>
<button id="5">Shift</button>
<button id="9">Enter</button>
<button id="3">VoiceRecognizer</button>
<axis id="3" limit="+1">CursorLeft</axis>
<axis id="3" limit="-1">CursorRight</axis>
</joystick>
</VirtualKeyboard>
<ContextMenu>
<joystick>
<button id="2">Close</button>
<button id="3">Close</button>
</joystick>
</ContextMenu>
<Scripts>
<joystick>
<button id="3">Info</button>
</joystick>
</Scripts>
<Settings>
<joystick>
<button id="2">PreviousMenu</button>
</joystick>
</Settings>
<AddonInformation>
<joystick>
<button id="2">Close</button>
</joystick>
</AddonInformation>
<AddonSettings>
<joystick>
<button id="2">Close</button>
</joystick>
</AddonSettings>
<TextViewer>
<joystick>
<button id="2">Close</button>
</joystick>
</TextViewer>
<shutdownmenu>
<joystick>
<button id="2">PreviousMenu</button>
<button id="9">PreviousMenu</button>
</joystick>
</shutdownmenu>
<submenu>
<joystick>
<button id="2">PreviousMenu</button>
</joystick>
</submenu>
<MusicInformation>
<joystick>
<button id="2">Close</button>
</joystick>
</MusicInformation>
<MovieInformation>
<joystick>
<button id="2">Close</button>
</joystick>
</MovieInformation>
<NumericInput>
<joystick>
<button id="2">BackSpace</button>
<button id="9">Enter</button>
</joystick>
</NumericInput>
<GamepadInput>
<joystick>
<button id="9">Stop</button>
</joystick>
</GamepadInput>
<LockSettings>
<joystick>
<button id="2">PreviousMenu</button>
<button id="9">Close</button>
</joystick>
</LockSettings>
<ProfileSettings>
<joystick>
<button id="2">PreviousMenu</button>
<button id="9">Close</button>
</joystick>
</ProfileSettings>
</keymap>
You must install the attached zip file in order for the one touch movie trailers feature to work.
I really love using my controller with Kodi/SPMC now!!
Click to expand...
Click to collapse
Could you make an alternate version of this just with b as back button instead of stop so it behaves like back button if you know what I mean...
Mr Creosote said:
on the original xbmc for the old xbox, you could use the analogue triggers as analogue fast forward/rewind, so as when you pressed gently it would go at 2×, then the more you pressed down on the trigger, the faster it got. would be good to be able to do that.
Click to expand...
Click to collapse
Code:
<!-- 3 limit +1 Left Trigger -->
<!-- 3 limit -1 Right Trigger -->
I couldn't get the analog triggers to work.
Code:
<axis id="3" limit="-1">Notification(button pressed,3minus)</axis>
<axis id="3" limit="+1">Notification(button pressed,3plus)</axis>
Slayerkodi said:
Could you make an alternate version of this just with b as back button instead of stop so it behaves like back button if you know what I mean...
Click to expand...
Click to collapse
Just change "Stop" to "Back" in the xml file.
Did anyone find a way to get the triggers working at all?
Anyway to get this working with spmc 17? Doesnt seem to be working for me. Also im using titan media beta skin and using the netflix view, a option on this skin is to auto play trailer like netflix Does, but only seem to working for the first trailer for me Does anyone else have this issue

Categories

Resources