[27 Sep 08] Manila 2D on i780 + realVGA 96dpi - Windows Mobile Development and Hacking General

First of all thanks to herg62123 for beautiful Manila 2D engine.. I've been waiting on this to work on i780 since fisrt update.
Next, Thanks to Twolf and Havoc for their beautiful Manila 2D themes..
Thanks to Euphoria23, for sharing his HTCHomeSettings.xml. I've taken this as base and started editing few other tabs to fit i780 screen
Last but not least, G00ndu for 8his hardwork and beautiful MS2.1 themes for i780. He is inspiration for me to edit HTCHomeSettings.xml to work with i780.
Most of the tabs are now aligned to fit 320 width except the weather tab. I dont know how to fix this.. any takers. also tab headings are not centered. any help/fix in this regard highly appreciated.
I am newbie to this editing etc.. just to see this beautiful today plugin to work on i780 and hoping your help on remaining things to work perfectly on i780.
Insallation:
1. Install Manila 2D as explained in Update 16
http://forum.xda-developers.com/showpost.php?p=2277642&postcount=1.
2. Copy & replace files from Manila2D_i780.zip \windows dir
3. I've installed yellow theme by Havoc and some editing to fit i780 screen
Download Havoc theme from here
http://forum.xda-developers.com/showpost.php?p=2681346&postcount=924
4. Copy & replace files from HaVoC_Banana_Manilla2D_i780.zip to \windows dir
Enjoy Manila 2D on i780. Thanks

more screenshots

Great work!
but maybe you could do something about the weather icon on the weather tab, it's not centered. also the city text and the title text on all tabs.
Again, nice work!

Thanks!!!
Thanks a lot. That's exactly what I am after.

Great work!! Thanks
Finally tested Manilla2D in my i780 Any other themes adapted for it? For example with a different clock (digital) ? Thanks

Awesome work keep it up

Nice one mate ill try this out tomorrow!!

Great work!!!
Any news about working on Omnia???

spartakus said:
Great work!!!
Any news about working on Omnia???
Click to expand...
Click to collapse
It works fine. Go look in the man thread.

hi how about skin/clock themes? can u give list thrme and clock especially for i7c0 user?

Nice! Is it possible to make the shell work in near-fullscreen, i.e. without the bottom bar?

greatbal said:
Great work!
but maybe you could do something about the weather icon on the weather tab, it's not centered. also the city text and the title text on all tabs.
Again, nice work!
Click to expand...
Click to collapse
Hello,
replace the <WeatherWidget> HTCHomeSettings.xml for this:
<WeatherWidget>
<Property name="IDWEWG_LASTUPDATEBTN_RECT" id="0" value="160,100,70,15,147,40,151,15"/>
<Property name="IDWEWG_WEATHERBTN_RECT" id="1" value="4,47,232,60,4,47,312,60" />
<Property name="IDWEWG_LOCATIONBTN_RECT" id="2" value="4,51,232,200,4,136,212,23" />
<Property name="IDWEWG_STATUSTXT_RECT" id="3" value="15,91,210,60,15,51,290,60" />
<Property name="IDWEWG_LOCATIONTXT_RECT" id="4" value="15,121,210,22,15,118,290,22" />
<Property name="IDWEWG_LASTUPDATETXT_RECT" id="5" value="156,100,82,15,147,55,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,15,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,116,307,74" />
<Property name="IDWEWG_UPARROW_POS" id="15" value="216,90,307,60" />
<Property name="IDWEWG_REFRESH_POS" id="16" value="220,116,300,10" />
<Property name="IDWEWG_WEATHER_POS" id="17" value="0,0,90,25" />
<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,143,38,140" />
<Property name="IDWEWG_SEPERATELINE_POS2" id="32" value="0,166,0,158" />
<Property name="IDWEWG_LOCATIONINDEXTXT_RECT" id="33" value="205,100,34,20,0,0,0,0" />
<Property name="IDWEWG_FORECASTCONTROL_RECT" id="34" value="0,0,0,62,0,0,0,62" />
<Property name="IDWEWG_LASTUPDATETITLE_RECT" id="35" value="135,38,105,15,147,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,200,320,22,15,136,290,22" />
<Property name="IDWEWG_UPARROWRELEASE_IMGID" id="39" value="85" />
<Property name="IDWEWG_UPARROWPRESS_IMGID" id="40" value="84" />
</WeatherWidget>

Heh... great piece of work!! Will be giving it a try man!! Looks great, and let me see if I can help to improve.
Many many thanks for sharing and contributing, and spending your time for the i780 community.

works fine on my i780
but how about others skin and clock??

SMRocket said:
Hello,
replace the <WeatherWidget> HTCHomeSettings.xml for this:
<WeatherWidget>
<Property name="IDWEWG_LASTUPDATEBTN_RECT" id="0" value="160,100,70,15,147,40,151,15"/>
<Property name="IDWEWG_WEATHERBTN_RECT" id="1" value="4,47,232,60,4,47,312,60" />
<Property name="IDWEWG_LOCATIONBTN_RECT" id="2" value="4,51,232,200,4,136,212,23" />
<Property name="IDWEWG_STATUSTXT_RECT" id="3" value="15,91,210,60,15,51,290,60" />
<Property name="IDWEWG_LOCATIONTXT_RECT" id="4" value="15,121,210,22,15,118,290,22" />
<Property name="IDWEWG_LASTUPDATETXT_RECT" id="5" value="156,100,82,15,147,55,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,15,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,116,307,74" />
<Property name="IDWEWG_UPARROW_POS" id="15" value="216,90,307,60" />
<Property name="IDWEWG_REFRESH_POS" id="16" value="220,116,300,10" />
<Property name="IDWEWG_WEATHER_POS" id="17" value="0,0,90,25" />
<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,143,38,140" />
<Property name="IDWEWG_SEPERATELINE_POS2" id="32" value="0,166,0,158" />
<Property name="IDWEWG_LOCATIONINDEXTXT_RECT" id="33" value="205,100,34,20,0,0,0,0" />
<Property name="IDWEWG_FORECASTCONTROL_RECT" id="34" value="0,0,0,62,0,0,0,62" />
<Property name="IDWEWG_LASTUPDATETITLE_RECT" id="35" value="135,38,105,15,147,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,200,320,22,15,136,290,22" />
<Property name="IDWEWG_UPARROWRELEASE_IMGID" id="39" value="85" />
<Property name="IDWEWG_UPARROWPRESS_IMGID" id="40" value="84" />
</WeatherWidget>
Click to expand...
Click to collapse
yes u rock man... but can u edit too this part?
Xda font make alittle upper
sorry for my poor english

monyozt said:
yes u rock man... but can u edit too this part?
Xda font make alittle upper
sorry for my poor english
Click to expand...
Click to collapse
Hello,
you would like to see all the letters in uppercase?

I think he meant that the "line" with XDA-Dev should be moved upwards a little bit - in the image it is slightly covered.
Tilleke
SMRocket said:
Hello,
you would like to see all the letters in uppercase?
Click to expand...
Click to collapse

What's the possibility of this working on an 800w?

Related

Battery Status themes and theme questions

Ikarus suggested we start a new thread with our customized themes and questions on theming, so I thought I would post my current to start it off.
Theme includes the segoe ui font. Ikarus said he would assist in this thread as time permits for him, otherwise anyone with BS experience can jump in and assist anyone with problems.
If you don't know what the excellent Battery Status is, check out here
Here is the online-manual for customization, which is linked in the first post of BS-Thread too.
Yet another clock theme
Here's a clean and simple theme i made for my wizard. Not all meters can be shown, since i made icons for only the ones i use (no operator info, no AM/PM indicator for 12h clock, maybe something else is not implemented).
Includes icons for tray launcher - BT on/off, WiFi on/off, Phone on/off, rotate screen, disable screen and lock device.
With Ecqlipse 2 icons used for Touch commander and ppcProfiles Pro with modified tray icons and profile selection menu to match the overall look (done with ResourceHacker since ppcProfiles has no skinning option) it makes quite a good impression
Works best with HTC Touch Today screen theme, or other dark backgrounds.
Enjoy.
mr_deimos said:
Here's a clean and simple theme i made for my wizard. Not all meters can be shown, since i made icons for only the ones i use (no operator info, no AM/PM indicator for 12h clock, maybe something else is not implemented).
Includes icons for tray launcher - BT on/off, WiFi on/off, Phone on/off, rotate screen, disable screen and lock device.
With Ecqlipse 2 icons used for Touch commander and ppcProfiles Pro with modified tray icons and profile selection menu to match the overall look (done with ResourceHacker since ppcProfiles has no skinning option) it makes quite a good impression
Works best with HTC Touch Today screen theme, or other dark backgrounds.
Enjoy.
Click to expand...
Click to collapse
Nice job Mr_Deimos, looks great with a dark theme.
great job thank you
All the themes will be moved here this weekend
maybe interesting for theme-makers..
Eyecandy for KDE
Many sets of images in png-format.. maybe useful for making themes
Just started using this program and love it.
I actually got rid of Ilauncher since all I was using it for was the meters.
Keep those themes coming
TKS
Hi ikarus,
- How do you add the class="start_app" in the class "date" or the class "cpu_utilization" ?
I tried <Item class="date" ontap="\Windows\Calendar.exe" > but it doesn't work.
- How do change the icons for class="battery_ac_icons" ?
- Sorry to ask : where can I find the manual with all the tags ?
- Something strange : if the view with the CPU load is not active, the CPU load is not displayed in the taskbar. If the view is active and BS is minimized, the CPU load is still displayed in the taskbar.
- I believe the skin setup should override the option setup : if the option is set, the CPU frequency is bold, even with :
<Item class="cpuspeed" >
<label fontfamily="Tahoma" fontsize="12" bold="0" />
</Item>
- When trying to display the CPU utilization below the icon, using :
<Item class="cpu_utilization" ontap="CtlPnl" index="4" subindex="2" >
<image src="CPU.png" width="12" top="2" left="10" />
<label fontfamily="Tahoma" fontsize="12" width="40" top="7" left="-25" align="center" />
</Item>
Only the label area below the icon is refreshed (12 pixels) instead of the whole area (40 pixels).
Thanks again for this great apps.
Kind regards,
Herunim
Themes
Theme by Nostramo. Many Thanks to Nostramo for his great work!!!
Download -> see attachement
ClockTheme by RedUsr:
Download -> 4pda.ru
Theme by banan4ik -> internal Link
Minimalistic theme by utak3r --> Download
Example for application launcher:
Code:
<Row seperator="1" >
<View height="20" itemselect="1" >
<Item class="space" >
<image left="-25" src="rotate.bmp" transparent="020202" />
</Item>
<Item class="start_app" onhold="StartApp" path="\Windows\fexplore.exe" path1="\Windows\solitare.exe" />
<Item class="start_app" path="\Windows\BubbleBreaker.exe" />
<Item class="start_app" path="\Windows\solitare.exe" />
<Item class="start_app" path="\Windows\pword.exe" />
<Item class="start_app" path="\Windows\iexplore.exe" />
<Item class="start_app" path="\Windows\Calc.exe" />
</View>
<View height="38" itemselect="1" >
<Item class="space" >
<image left="-25" src="rotate.bmp" transparent="020202" />
</Item>
<Item class="start_app" path="\Windows\Calc.exe" />
<Item class="start_app" onhold="StartApp" path="\Windows\fexplore.exe" path1="\Windows\solitare.exe" />
<Item class="start_app" path="\Windows\iexplore.exe" >
<image smallicon="1" />
</Item>
<Item class="start_app" path="\Windows\ppt.exe" />
<Item class="start_app" path="\Windows\pword.exe" />
<Item class="start_app" path="\Windows\solitare.exe" />
</View>
<View height="62" absolute="2" itemselect="1" >
<Item class="space" absolute="0" >
<image left="-25" src="rotate.bmp" transparent="020202" />
</Item>
<Item class="start_app" title="Calc" path="\Windows\Calc.exe" >
<image top="1" left="25" />
<label width="40" top="36" valign="top" align="center" left="-2" fontsize="-3" />
</Item>
<Item class="start_app" title="File Explore" path="\Windows\fexplore.exe" >
<image top="1" left="65" />
<label width="40" top="34" valign="top" align="center" left="-4" format="wordbreak" fontsize="-3" />
</Item>
<Item class="start_app" title="Internet Explore" path="\Windows\iexplore.exe" >
<image top="1" left="105" />
<label width="40" top="36" valign="top" align="center" left="-2" format="wordbreak" fontsize="-3" />
</Item>
<Item class="start_app" title="Power Point" path="\Windows\ppt.exe" >
<image top="1" left="145" />
<label width="40" top="36" valign="top" align="center" left="-2" format="wordbreak" fontsize="-3" />
</Item>
<Item class="start_app" title="Solitare" path="\Windows\solitare.exe" >
<image top="1" left="185" />
<label width="40" top="36" valign="top" align="center" left="-2" fontsize="-3" />
</Item>
</View>
<View height="112" itemselect="1" multi="1" >
<Item class="space" >
<image left="-25" src="rotate.bmp" transparent="020202" />
</Item>
<Item class="start_app" title=" Calculator" path="\Windows\Calc.exe" >
<image top="1" />
<label width="180" bold="1" valign="top" top="10"/>
</Item>
<Item class="start_app" onhold="StartApp" title=" File Explorer" path="\Windows\fexplore.exe" path1="\Windows\solitare.exe" >
<image left="-216" top="38" />
<label width="180" bold="1" top="46" valign="top" />
</Item>
<Item class="start_app" title=" Internet Explorer" path="\Windows\iexplore.exe" >
<image left="-216" top="76"/>
<label width="180" bold="1" top="84" valign="top" />
</Item>
</View>
<View height="112" itemselect="1" multi="1" >
<Item class="space" absolute="1" >
<image src="rotate.bmp" transparent="020202" />
</Item>
<Item class="start_app" absolute="1" title=" Calculator" path="\Windows\Calc.exe" >
<image left="25" top="1" />
<label width="180" bold="1" valign="top" top="10"/>
</Item>
<Item class="start_app" onhold="StartApp" absolute="1" title=" öFile Explorer" path="\Windows\fexplore.exe" path1="\Windows\solitare.exe" >
<image left="25" top="38" />
<label width="180" bold="1" top="46" valign="top" />
</Item>
<Item class="start_app" absolute="1" title=" Internet Explorer" path="\Windows\iexplore.exe" >
<image left="25" top="76"/>
<label width="180" bold="1" top="84" valign="top" />
</Item>
</View>
</Row>
Example for Clock with seconds:
Code:
<View height="58">
<Item class="clock_digit" >
<image left="-18" resize="85" />
</Item>
<Item class="clock_digit" />
<Item class="clock_seperator" >
<image top="8" />
</Item>
<Item class="clock_digit" />
<Item class="clock_digit" />
<Item class="clock_seconds_sep" >
<image resize="50" top="25" />
</Item>
<Item class="clock_seconds" >
<image top="22" />
</Item>
<Item class="clock_seconds" >
<image top="22" />
</Item>
<Item class="clock_alarm" ontap="CtlPnl" index="16" subindex="2">
<image left="-43" top="4" />
</Item>
<Item class="clock_apm" >
<image left="4" top="2" />
</Item>
</View>
Themes 1
THEMES !!!!!
Theme from banan4ik, modified/fixed miniBS by utak3r --> Download
nothinpack_xo1BSTheme by nothin --> Download
SkinBS_Tiggerbcn --> Download
mini theme by nihil0 --> Download
Themes 2
Mini Theme by nihil0
--> Download
HTC Home style by tzm0510
--> Download
Hello Herunim,
Herunim said:
- Sorry to ask : where can I find the manual with all the tags ?
Click to expand...
Click to collapse
online-manual for customization, which is linked in the first post of BS-Thread too.
Shall i make the fontsize in first thread bigger?
Basically i don't like to emphasize so much, because it irritates more then..
Herunim said:
- How do you add the class="start_app" in the class "date" or the class "cpu_utilization" ?
I tried <Item class="date" ontap="\Windows\Calendar.exe" > but it doesn't work.
Click to expand...
Click to collapse
you have to use ontap="StartApp", which specifies the action to do.
btw. the class="start_app" implicitly makes use of ontap="StartApp"..
After that you can supply the parameters for that action (see manual) e.g. path="\Windows\Calendar.exe"
Don't you've seen the example for AppLauncher at first page of BS-Thread?
Anything you need is used in the example...
btw. i've just moved it to first page of this thread.
Herunim said:
- How do change the icons for class="battery_ac_icons" ?
Click to expand...
Click to collapse
there are a lot of methods, e.g.
- replace the bitmaps for that icons (copy the resources from default-folder to your desktop-computer and check which ones to change)
- use two <image src="..."... > for the images, where you can use png/bmp/gif/jpeg..
Herunim said:
- Something strange : if the view with the CPU load is not active, the CPU load is not displayed in the taskbar. If the view is active and BS is minimized, the CPU load is still displayed in the taskbar.
Click to expand...
Click to collapse
It's by design. The taskbar-indicator is primarily for showing the cpuspeed.
If no cpu-utilization reading is on today-screen (and cpuscaler is disabled), then there's no need to hold the resources for cpu-utilization. Any resources for cpu-utilization will then be released.
Herunim said:
- I believe the skin setup should override the option setup : if the option is set, the CPU frequency is bold, even with :
Click to expand...
Click to collapse
search for toggleBoldFont-Attribute in the online-manual
Herunim said:
- When trying to display the CPU utilization below the icon, using :
<Item class="cpu_utilization" ontap="CtlPnl" index="4" subindex="2" >
<image src="CPU.png" width="12" top="2" left="10" />
<label fontfamily="Tahoma" fontsize="12" width="40" top="7" left="-25" align="center" />
</Item>
Only the label area below the icon is refreshed (12 pixels) instead of the whole area (40 pixels).
Click to expand...
Click to collapse
I will check this as soon as possible, but i don't know when...
Nevertheless, thanks for reporting your observation
Hi ikarus,
The download link for "HTC Home style by tzm0510" in post #10 seems to be incorrect?
Hi ikarus,
Thank you for your answers.
I'm still having troubles with the battery icons:
<Item type="icon" class="battery_ac_icons" ontap="CtlPnl" index="3" >
<image src="OnBatt.png" />
<image src="OnAC.png" />
</Item>
doesn't work.
It seems that path with accents are not correctly handled. Using:
<Item class="cpu_utilization" ontap="StartApp" path="\Windows\Menu Démarrer\Task Manager.lnk" >
<image src="CPU.png" width="20" top="2" left="10" />
<label fontfamily="Tahoma" fontsize="12" width="20" top="7" left="-20" align="center" />
</Item>
makes BS revert to the default theme.
Kind regards,
Herunim
Hi,
I had this code in my xml. The date and clock is showing fine but the alarmon image is always showing even when alarm is set to off.
Anybody knows how to make it work?
Thannks!
Edit : Another question...what does absolute parameter do?
Code:
<Row>
<View height="14">
<Item class="date" ontap="CtlPnl" index="16">
<label text="dddd, dd MMMM yyyy" bold="1" fontsize="12" left="-28" top="2" align="center" />
</Item>
</View>
</Row>
<Row seperator="1" >
<View height="50">
<Item class="clock" ontap="CtlPnl" index="16">
<label text="HH':'mm':'ss" fontsize="40" left="-28" top="2" width="240" align="center" fontfamily="Alien Encounters" />
</Item>
<Item class="clock_alarm" ontap="CtlPnl" index="16" >
<image top="6" left="-22" />
</Item>
</View>
</Row>
From what i've seen, the alarm icon works only if you use png image-based clock. I think it was mentioned somewhere that it won't work with a label class based clock.
Try getting digit files (0.png - 9.png, separator.png and empty.png") and clock code from any of the themes using png clocks to confirm if it is in fact the case.
d8302530 said:
The download link for "HTC Home style by tzm0510" in post #10 seems to be incorrect?
Click to expand...
Click to collapse
oh, okay. thanks for report.. i will delete it. Actually i don't have a more recent link.
Herunim said:
I'm still having troubles with the battery icons:
<Item type="icon" class="battery_ac_icons" ontap="CtlPnl" index="3" >
<image src="OnBatt.png" />
<image src="OnAC.png" />
</Item>
doesn't work
Click to expand...
Click to collapse
could you attach your xml and the images for battery_ac_icons?
Herunim said:
It seems that path with accents are not correctly handled. Using:
...
makes BS revert to the default theme.
Click to expand...
Click to collapse
it's mentioned in the online-manual, but i don't know whether it works with accents.
You must load the xml on your PC with wordpad and "save as" "Unicode-document".
It's defaulted to ansi-encoding which is good for english. Even german users should do it btw...
whysolate said:
I had this code in my xml. The date and clock is showing fine but the alarmon image is always showing even when alarm is set to off.
Click to expand...
Click to collapse
This will NOT WORK yet.
alarmon is part of digit_clock-component and does not work without the digit_clock. I don't know when, but maybe next year i have more time to make it work..
whysolate said:
Edit : Another question...what does absolute parameter do?
Click to expand...
Click to collapse
check the online-manual
Hey Ikarus,
Is there anyway that using "ontap" for a row, we can toggle the view of the next row (right now, for next row action, I can only find "ToggleNextRow" which enables or hides the next row. I was looking for something similar to ToggleView, i.e., ToggleNextRowView)..
build 0264 - 22/12/2007:
- fixed: png allowed for battery_ac_icons
- removed: version-attribute from Window, version < 1 not supported any longer
- added: <Window ... custombg="0" > for using default-system-theme-background
- added: for RegistryTracker,
<image src="filename%d.png"...> respectively <image src="filename%s.ext"...>
for using images depending on registry-value
if a value is not covered by an image, then filename-1.ext (dword) or filename_empty.ext (string) will be used
- added: Mask to apply to registry-value (dword)
e.g. <label text="%d" mask="0xFF" >...
Herunim said:
I'm still having troubles with the battery icons:
<Item type="icon" class="battery_ac_icons" ontap="CtlPnl" index="3" >
<image src="OnBatt.png" />
<image src="OnAC.png" />
</Item>
doesn't work.
Click to expand...
Click to collapse
fixed in build 0264.
shantzg001 said:
Hey Ikarus,
Is there anyway that using "ontap" for a row, we can toggle the view of the next row (right now, for next row action, I can only find "ToggleNextRow" which enables or hides the next row. I was looking for something similar to ToggleView, i.e., ToggleNextRowView)..
Click to expand...
Click to collapse
hello shantzg, there's no way yet. Do you mean to switch the view or open a certain view?
ikarus, i meant open a certain view. Actually, I thought that if we have this feature we can have a "full-fledged" app launcher with BS. In one row, we can have 3-4 items that work as "tabs", and next row contains launcher icons. So, whenever we click on a tab, it switches the view of the next row accordingly so we see the corresponding icons.
Ikarus said that i have to post my problem here...
Here it is:
Screen1 = my Today-Screen
Screen2 = view 2 of BS in my Today-screen
It takes the red marked Field in Screen4 to open the tasks. When I tap onto the Tasks ("7 aktive Aufgaben") it switches to View 1.
Is there something wrong?
And my Problem 2: the green marked Field (in Screen3 and Screen4) doesnt change anything... it should change the views, but it doesnt change...
Please help me. Thanks you!

Spinners moving

Hey guys,
I'm in the process of writing my first android app and something really strange is happening. I'm using a TabletLayout with the first two rows have spinners. On the third row, however I have an EditText box. Now, whenever I type in the text box, the spinners start to move in unison to the right. I have no idea what could be causing this and I don't even know where to look so I'd really appreciate your help.
Sorry for the horrible video quality. I didn't want to install video capture software on my work computer(yes, this is for work though this app is totally just to get me familiar with the tools) and I'm running MM's Gingerbread rom on my N1 which doesn't have hd video recording yet.
Here's the xml file
Code:
<?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:stretchColumns="1">
<TableRow>
<TextView android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:text="Convert from:"
android:gravity="left" />
<Spinner android:id="@+id/from"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="right"/>
</TableRow>
<TableRow>
<TextView android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:text="to:"
android:gravity="left" />
<Spinner android:id="@+id/to"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
/>
</TableRow>
<TableRow>
<EditText android:id="@+id/value"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Enter value"
android:gravity="right"/>
</TableRow>
<TableRow android:gravity="right">
<Button android:text="submit" android:layout_height="wrap_content" android:layout_width="wrap_content" android:textSize="24dip" android:id="@+id/submit" android:gravity="center|right" android:layout_gravity="right"></Button>
</TableRow>
</TableLayout>
Thanks so much,
Samuel Maskell
apparently embedding the video didn't work
here's the link
http://www.youtube.com/watch?v=D7IfVcGu3Ig
Here you go, under EditText, replace
Code:
android:layout_width="wrap_content"
with
Code:
android:layout_width="fill_parent"
well that was simple..
worked like a charm
Thanks,
Samuel maskell
smaskell said:
well that was simple..
worked like a charm
Thanks,
Samuel maskell
Click to expand...
Click to collapse
No problem, glad i could help

CM10 and ADW EX Launcher - App Bar?

Hi for thos of you how use ADW EX Launcher, ADW EX has the extra "App Bar" or whatever its called at the top. On the 7" screen it becomes a nusance because in landscape mode it takes up 10% of the screen.
To get rid of it, the .xml config for ADW EX (adw_ex_settings.xml) should have this:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<string name="swipedownActions">0</string>
<string name="homeOrientation">3</string>
<int name="desktopSpeed" value="92" />
<boolean name="uiIconBgs" value="false" />
<boolean name="notif_receiver" value="true" />
<boolean name="drawerSnapScrolling" value="true" />
<string name="drawer_style">1</string>
<int name="desktopRows" value="5" />
<boolean name="folder_draw_contents" value="true" />
<long name="LAST_ERROR" value="1337869436076" />
<boolean name="desktopBlocked" value="true" />
<boolean name="drawerZoom" value="true" />
<boolean name="main_dock_enabled" value="false" />
<boolean name="uiDesktopIndicatorAutohide" value="true" />
<int name="defaultScreen" value="1" />
<string name="folder_style">0</string>
<boolean name="autosizeIcons" value="true" />
<string name="screenCache">2</string>
<boolean name="dock_icon_reflection" value="true" />
<string name="pendingTransition">0</string>
<boolean name="folder_auto_grow" value="true" />
<int name="desktopBounce" value="7" />
<int name="desktopColumns" value="5" />
<boolean name="uiNewIcons" value="false" />
<string name="homeBinding">1</string>
<string name="changelogReadVersion">1.3.3.56</string>
<boolean name="wallpaper_scrolling" value="true" />
<boolean name="actionbar_hidden" value="true" />
<boolean name="desktopZoom" value="true" />
<int name="desktopScreens" value="3" />
<boolean name="uiIconBgsGlossy" value="true" />
<boolean name="uiDesktopIndicator" value="false" />
<string name="menu_order">[2,3,4,5,12,6,11,7,9,10,13]</string>
<string name="menu_hidden">[true,true,true,true,true,true,true,true,true,true,true]</string>
<string name="swipeupActions">0</string>
<boolean name="previewsNew" value="true" />
<boolean name="dock_shrink" value="true" />
<boolean name="drawerSwipe" value="false" />
<boolean name="drawerAnimated" value="true" />
<string name="uiDesktopIndicatorType">1</string>
<boolean name="widgetsOverlap" value="true" />
<boolean name="loop_scrolling" value="false" />
<string name="screen_effect">0</string>
<boolean name="icons_dpi_hack" value="false" />
</map>
Copy or paste the above in your xml config and reboot ADW EX and it will get rid of the "App Bar". From there, you can customize it the way you want without the "App Bar" at the top of your screen.
Attached as a .zip as well. I replaced the file from my TF201 on to the KF and it works perfectly.
Many thanks for this, I have looked everywhere for a fix for this :-o
Sent from my Nexus 7 using xda app-developers app
Can I ask where i can access the menus (which are actually on this bar, to edit screens etc...)
Problem I have is it works great but i am quite new to andriod generally, is there a way to access these menus without the bar? (system shortcut etc..) Or is it a case of re-enabling bar, editing as required and then reverting back?
In hindsight I didn't think i would need access to the menu and have realised I need to remove a screen.
I have had a look at the script and I realise I can edit total number of screens but to actually remove a chosen screen I don't think i can (if that makes sense-have a hubs setup and trying not to mess it up lol )
I am using the paranoid andriod rom
Any help appreciated
Sent from my Nexus 7 using xda app-developers app
I assume you are running JB since your post is from a Nexus 7.
On JB, there's typically 3 vertical dots. With ADW EX, they are vertical. You touch those and you can edit, add, etc screens. The other method is to go back into the settings for ADW and allow the gestures for swipe up and swipe down. Hope this helps.
jotei66 said:
Can I ask where i can access the menus (which are actually on this bar, to edit screens etc...)
Problem I have is it works great but i am quite new to andriod generally, is there a way to access these menus without the bar? (system shortcut etc..) Or is it a case of re-enabling bar, editing as required and then reverting back?
In hindsight I didn't think i would need access to the menu and have realised I need to remove a screen.
I have had a look at the script and I realise I can edit total number of screens but to actually remove a chosen screen I don't think i can (if that makes sense-have a hubs setup and trying not to mess it up lol )
I am using the paranoid andriod rom
Any help appreciated
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Thanks, yeah I am on JB.. and yes the menu has kinda three vertical dots if I remember.
I tried the swipe up / down options but no option to show this menu unfortunately... thanks anyway though..
One thing to note is after copying over the .xml, you will need to "restore" it from ADW and tell ADW to load the new .xml.
Simply go to ADW Settings>Restore ADW Settings
After that the annoying bar at the top should be gone.

Too many horizontal instructions?

I'm starting to learn some xml-theme-coding and looked into the "keyguard_screen_sim_pin_portrait.xml" from Sony. I've a question regarding the following code part:
Code:
<TableLayout android:layout_gravity="center_horizontal" android:id="@id/keyPad" android:background="#10000000" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.0" android:layout_below="@id/topDisplayGroup">
<TableRow android:layout_width="wrap_content" android:layout_height="wrap_content">
<LinearLayout android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="66.0dip" android:directionality="none">
<Button android:textAppearance="@style/SEMCTextAppearance.ExtraLarge" android:textColor="#ffffffff" android:id="@id/one" android:background="@drawable/semc_dial_num_1_large" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_weight="1.0" />
<Button android:textAppearance="@style/SEMCTextAppearance.ExtraLarge" android:textColor="#ffffffff" android:id="@id/two" android:background="@drawable/semc_dial_num_2_large" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_weight="1.0" />
<Button android:textAppearance="@style/SEMCTextAppearance.ExtraLarge" android:textColor="#ffffffff" android:id="@id/three" android:background="@drawable/semc_dial_num_3_large" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_weight="1.0" />
</LinearLayout>
</TableRow>
Why did they insert a TableLayout plus a horizontal LinearLayout? Isn't it redundant? It's just a small question and I hope the right forum.
It might make sense. Let's assume that the second line has got two views and that they are put into a LinearLayout, too.
It will look like this: (|--V--| is a place holder for a view.)
Code:
|--V--|--V--|--V--|
|----V---|---V----|
If there were no Linear Layouts, it would look like this:
Code:
|--V--|--V--|--V--|
|--V--|--V--|
However, you could do this better using a RelativeLayout.
Could you please post the other TableRows?
They're the same as the first one (it's the keypad for the sim card pin), but your answer makes sense. Thank you!

[Q] Multipule screen size

Hi guys, I hope that this is in the right place.
So I have been making an app for a few weeks (First one) and I had no idea that android apps was not responsive to screen size. OK not so bad. I have come from HTML CSS and PhP so that type of thing is a constant battle!
I did some digging and found out a few things, I found this sizing.
xhdpi: 720px by 1280px
large-hdpi: 640px by 960px
hdpi: 480px by 640px
mdpi: 320px by 480px
ldpi: 240px by 320px
When I first started creating the app I stuck all of the images in the mdpi folder! and well that did not work. So following the guide I rezied all of the images put them in those folders to the right size ect I also created all of the same layout folders.
layout-small
layout-large
laout-normal
layout-xlarge
not forgetting to add what was needed to the manifest
Code:
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true" />
Before I did this things would move around not the images but the text would jump around on smaller or larger phone sizes looking nothing like what it does in Eclipse. So after adding all the new folder ect I loaded up the emulator and got up a small phone, and it looked great, I emailed the app to myself to test on my phone again, and things are all out of place (The text) The images are in odd shapes too.
on what I would call normal phone sizes the text is still moving around and is not going into the positions that I set them to.
I do hope this makes sense! I a little tied!
Thanks guys, hope to get this issue sorted very soon
I can't really tell what the problem is without looking at the layout XML, but off the top of the head, did you use "dp" and "sp" units to keep the sizing relative?
What kind of layout did you use? Are the positioning absolute or relative?
You could also create different layout folders, but I think that the problems are in the layout files. If you post them (or one of them), we will be able to help you better.
When I was rezing the images I was using an online image editor, I set them all into px.
Here is the layout for one of the xml files,
Code:
<?xml version="1.0" encoding="utf-8"?>
THERE WAS A LINK OR SOMETHING HERE BUT THE SITE WOULD NOT ALLOW IT, NOT SURE WHAT IT WAS!
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#000000" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/p7" />
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:text="Name"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#ffffff" />
<TextView
android:id="@+id/TextView05"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:text="Size To Earth"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#ffffff" />
<TextView
android:id="@+id/TextView11"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:text="64"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#ffffff" />
<TextView
android:id="@+id/TextView04"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/TextView10"
android:layout_centerHorizontal="true"
android:text="Orbital Period"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#000000" />
<TextView
android:id="@+id/TextView09"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/TextView04"
android:layout_centerHorizontal="true"
android:layout_marginBottom="156dp"
android:text="8,083,079,690 km²"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#000000" />
<TextView
android:id="@+id/TextView08"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/TextView03"
android:layout_alignLeft="@+id/TextView09"
android:layout_marginBottom="86dp"
android:text="2,877,000,000 km"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#000000" />
<TextView
android:id="@+id/TextView02"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/TextView08"
android:layout_centerHorizontal="true"
android:text="Distance From The Sun"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#000000" />
<TextView
android:id="@+id/TextView03"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/TextView09"
android:layout_alignRight="@+id/TextView04"
android:text="Surface Area"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#000000" />
<TextView
android:id="@+id/TextView10"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/TextView05"
android:layout_centerHorizontal="true"
android:layout_marginBottom="93dp"
android:text="83.7 Years"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#000000" />
<TextView
android:id="@+id/TextView06"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:text="Uranus"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#ffffff" />
<TextView
android:id="@+id/TextView07"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:text="0d 17h 14m"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#000000" />
<TextView
android:id="@+id/TextView01"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/TextView07"
android:layout_alignRight="@+id/TextView03"
android:text="Length Of Day"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#000000" />
</RelativeLayout>
This is in the layout-normal folder.
If you need anymore of the code I will get it, there is a lot of pages though.
Thanks
Koki180 said:
When I was rezing the images I was using an online image editor, I set them all into px.
Here is the layout for one of the xml files,
Code:
<?xml version="1.0" encoding="utf-8"?>
THERE WAS A LINK OR SOMETHING HERE BUT THE SITE WOULD NOT ALLOW IT, NOT SURE WHAT IT WAS!
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#000000" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/p7" />
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:text="Name"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#ffffff" />
<TextView
android:id="@+id/TextView05"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:text="Size To Earth"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#ffffff" />
<TextView
android:id="@+id/TextView11"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:text="64"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#ffffff" />
<TextView
android:id="@+id/TextView04"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/TextView10"
android:layout_centerHorizontal="true"
android:text="Orbital Period"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#000000" />
<TextView
android:id="@+id/TextView09"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/TextView04"
android:layout_centerHorizontal="true"
android:layout_marginBottom="156dp"
android:text="8,083,079,690 km²"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#000000" />
<TextView
android:id="@+id/TextView08"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/TextView03"
android:layout_alignLeft="@+id/TextView09"
android:layout_marginBottom="86dp"
android:text="2,877,000,000 km"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#000000" />
<TextView
android:id="@+id/TextView02"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/TextView08"
android:layout_centerHorizontal="true"
android:text="Distance From The Sun"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#000000" />
<TextView
android:id="@+id/TextView03"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/TextView09"
android:layout_alignRight="@+id/TextView04"
android:text="Surface Area"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#000000" />
<TextView
android:id="@+id/TextView10"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/TextView05"
android:layout_centerHorizontal="true"
android:layout_marginBottom="93dp"
android:text="83.7 Years"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#000000" />
<TextView
android:id="@+id/TextView06"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:text="Uranus"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#ffffff" />
<TextView
android:id="@+id/TextView07"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:text="0d 17h 14m"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#000000" />
<TextView
android:id="@+id/TextView01"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/TextView07"
android:layout_alignRight="@+id/TextView03"
android:text="Length Of Day"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#000000" />
</RelativeLayout>
This is in the layout-normal folder.
If you need anymore of the code I will get it, there is a lot of pages though.
Thanks
Click to expand...
Click to collapse
Thank you for this.
I think that the problem are lines like these:
Code:
android:layout_above="@+id/TextView04"
android:layout_marginBottom="156dp"
You use a margin. Now, on a bigger phone, this margin is smaller. That's causing the issues.
With screenshots (one showing the layout how you want it and one how it is shown on big screens) we could help you better.
One thing for the meantime: Have a look at dimension resources. You can put these files into directories like values-large and values-small, too. (More on that: Link)
Btw, the link is the android namespace which is the same in every xml file. (For Android development you don't have to know what it is. Just don't remove it in your file. )
Wihtout the Margins ect how would the text be place into the right places? (Taking knowlage from html and css =D )
Koki180 said:
Wihtout the Margins ect how would the text be place into the right places? (Taking knowlage from html and css =D )
Click to expand...
Click to collapse
No. It wouldn't be placed right. There need to be some changes for the margings. You could define them as a dimension resource. And those can be put into /res/values-small, /res/values-large and other folders like these.
As I said above, with some screenshots we could help you better. (You can replace all texts and images if you want. )
Maybe some other layout would be better. But we can't tell you without any screenshots.

Categories

Resources