Im trying to get consistent sized fonts on my BA...managed to set within the registry the sysfont size of 830 for most of the system however there are certain part i.e, Remove Programs in settings that still show a bigger size font. Any ideas on whether this can be changed? TIA
I've found Tillanosoft PocketTweak very useful. Go to http://tillanosoft.com/ce/ptweak.html, and download it. Install it. Then, in Control Panel -> System, open it (can't remember whether I put the link there, or whether it installs to Start -> Programs). Once in PocketTweak, go to the Font tab. Note that you've got three targets. Here I give the settings that I've used - you can experiment with your own settings. I think changes require a soft reset first:
* System Font - Height: -12, Weight: 400
* MenuBar Font - Height: -11, Weight: 700
* PopUp menu Font - Height: -11, Weight: 700
(I've also got my Font Cache set to 65536)
These settings are in the registry under:
HKLM\System\GWE
HKLM\System\GWE\Menu\BarFt
HKLM\System\GWE\Menu\PopFt
Better to use a utility to modify, though, as I've played with these before and it's impossible to do anything on a device with a font that's too small to be read!!!
thanks...i have tried to change some of these settings and all works fine but there are still parts of the OS that use a larger font size by default that u cant change.
Can someone point me to the info regarding the registry entry for making the scroll bars thinner. I have looked every where and searched for scroll bars.. cant find it.
got it.
had to sneak over to the q forum.
here it is.
1. Making the scrollbars smaller (Vert. and Horz.)
This hack allows 4 icons on a row in the start menu instead of 3 and allows more to be viewed on the screen in IE:
• Go to: HKey_LOCAL_MACHINE\SYSTEM\GWE\
• Adjust the following values
cyHScr : Horizontal Scrollbars
Height in pixels (default is 6, set it to 3)
cxVScr : Vertical Scrollbars
Width in pixels (default is 6, set it to 3)
• Soft-reset
Its mostly nicer for web browsing.
also this asks for you to create them, they are allready created.
Bump for a good change that I felt was missing from the new roms. Thought others would appreciate it.
Hio!
I read a lot of inquiries in German forums concerning a functioning panorama bg in manila2.1 (old) @ WM6.1 and I´m too
Now I have already brought in experience the following files for
portrait
67ea4038_manila
67fc58b9_manila
680e713a_manila
and this 4 landscape
6832a23c_manila
6844babd_manila
682089BB_manila
are needed.
Moreover, I have also understood like one from panorama pic 3 single pics have provided, as well as described HERE.
But I dont know if the size 512x512pix right 4 blackstone resolution or a better 800x800pix?!?
I have also read to the kind relatives contribution HERE about a panoramic bg 4 Sony X1.
However, I m demanded too much with many cabs and some attempts with cabs were fruitless.
I suppose I need only 2 files to the pictures say like they should be shown - manila or/and *.lua?!?
I dont need other features, only a pamorama bg 4 manila 2.1 12 tab´s.
Can anybody help me?
Thx 4 read and help
MaTT
I ask rotastrain with PM about my search and he need my unedit 5c9aa261_manila
Pls dont load this file down beside rotastrain himself!
Thx
.....to be continued
mmhh... he says he make it today but 14 days ago
somebody an idea how I can realise this?
matt_jackson said:
mmhh... he says he make it today but 14 days ago
somebody an idea how I can realise this?
Click to expand...
Click to collapse
Here ya go buddy. I'll need you to test this to get the screen position right. I only have a vga device, so I'm sort of guessing on the y-positions of the background. It's based off of my vga panoramic mod, which was improved greatly by thebootsman, and originally based off of rotastrain and NisseDILLIGAF's work . Please take screen shots of 1st tab (home) and the last tab (programs?). Do this for both portrait and landscape modes. Post them here at full size (or zip them up) for me. Also, this mod just uses the same 3 background files for both portrait and landscape (simpler that way, but once positions are figured out...it can be changed to have different pictures if you want). You only need 67ea4038_manila, 67fc58b9_manila, and 680e713a_manila (I included a 'hero' theme panoramic in the cab).
Hey many thanks 4 ur quick answer!
Now I´m @ work but I check ur cab @ afternoon and response u my experience
kk it is afternoon and I have test it
first touched panorama works!!!
Very n1 and cute - I love it
But one error, look @ this screen - it say more then 1000 words:
{
"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"
}
u see the topbanner is from ur Hero panorama...
the wallpaper in untouched position are not the same from ur cab - thats my old wallpaper in all tabs. I have uninstall the HDwall but no change.
In attachment I uploaded my 3 original wallpaper (3x 800x512px =1536px).
I have the size from the original link.
Furthermore I has converted the pics as manilas (3x 512x512px).
I hope you can start with it something.
Big Thx!
MaTT
matt_jackson said:
kk it is afternoon and I have test it
first touched panorama works!!!
Very n1 and cute - I love it
But one error, look @ this screen - it say more then 1000 words:
u see the topbanner is from ur Hero panorama...
the wallpaper in untouched position are not the same from ur cab - thats my old wallpaper in all tabs. I have uninstall the HDwall but no change.
In attachment I uploaded my 3 original wallpaper (3x 800x512px =1536px).
I have the size from the original link.
Furthermore I has converted the pics as manilas (3x 512x512px).
I hope you can start with it something.
Big Thx!
MaTT
Click to expand...
Click to collapse
Ok, I've made some changes to hopefully move the unpressed panoramic image down. It should be pretty close, but may need further adjustment. If the image is displayed correctly on the left of the homescreen and the right-side of your last tab (ie all the way to the edges), please just take a screenshot of the same tab with the icon pressed and unpressed. It looks much better when they are both aligned. I've left the hero background in this cab just so it is easier to see where the edges are (black is hard since it's against a black background).
First of all one more many thanks for your help.
Because I just again @ work am I have sent u 4 topical screenshots. Should these be useless 4 u so I will make of course screenshots from the Herotheme.
Thx
MaTT
matt_jackson said:
First of all one more many thanks for your help.
Because I just again @ work am I have sent u 4 topical screenshots. Should these be useless 4 u so I will make of course screenshots from the Herotheme.
Thx
MaTT
Click to expand...
Click to collapse
Were those screenshots using the second cab I posted - 'blackstone manila 2.1 panorama 2.cab'? The unpressed looks about the same as your first screenshot, but it should be ~500 pixels lower assuming I changed the right values.
Also, go to the settings tab and choose the default wallpaper (it should ask when you press to change the wallpaper). I think this should get it to show up on the home tab unpressed.
removed duplicate post
kk
sry it was my mistake, I recognize not that u r change the cab
Here we r with the new screens
Another question: can u explain me what u edit?
many people @ german forums ask me about this solution, I think u edit this 2 manila and the lua (39...and 5c..)file?
matt_jackson said:
kk
sry it was my mistake, I recognize not that u r change the cab
Here we r with the new screens
Another question: can u explain me what u edit?
many people @ german forums ask me about this solution, I think u edit this 2 manila and the lua (39...and 5c..)file?
Click to expand...
Click to collapse
Ok, thanks for the screenshots. I think now we will only need 1 pressed/unpressed screenshot from the same tab (so only 2 screenshots). Please try the new test 3 cab attached to this post. I've included a different background since it's kind of hard to tell if the images overlap exactly with the blurry hero background.
To move the y-positions, you edit 5c9aa261_manila with m9editor. You will see panoramaBkg. This is the section of un-pressed images. The 3 panoramic files are as Panoram1.qtc, Panoram2.qtc, and Panoram3.qtc. There is a PosY value under "panoramaBkg". Decreasing this PosY value will move the picture lower (increase to move up). Further down, you will notice "panoramaBkg2" with Panoram1.qtc, Panoram2.qtc, and Panoram3.qtc listed below. This is the 'pressed' image. The same thing about y-positions applies.
3941bc49_manila.lua can be edited with a .txt editor. This is the panoramic background script. You can control the horizontal positions, as well as several other things. The horizontal position should be set since fine since it's controlled by Panosize. For WVGA, it's 696 pixels (800 -52 top taskbar -52 bottom softkeybar = 696). After you are done editing the .lua file, you need to open m9editor and go to directory containing 3941bc49_manila.lua and 3941bc49_manila. Then right-click on 3941bc49_manila and choose to 'compile and import'. This will make the changes you made on 3941bc49_manila.lua (decompiled script) into the actual .lua script (3941bc49_manila).
Also, if you'd like to get this working in landscape mode with the screen rotated, post some pressed/un-pressed screenshots. I've attached the panorama files that you use to change positions, etc. in the .zip. These are from the cab attached, so should be pretty close to fitting correctly.
m8 u r my H E R O!!!!
very very n1!
The difference is minimum
Thx 4 this detailed instructions - I looked afternoon @ my Home PC with all editors what u mean....
Dude if u need any grafics - contact me
BIG BIG Thx its looks so n1 *thumbs up*
matt_jackson said:
m8 u r my H E R O!!!!
very very n1!
The difference is minimum
Thx 4 this detailed instructions - I looked afternoon @ my Home PC with all editors what u mean....
Dude if u need any grafics - contact me
BIG BIG Thx its looks so n1 *thumbs up*
Click to expand...
Click to collapse
Would you mind taking your screenshots and adding them to a .zip and attaching it here? I think the forums are re-sizing the pics and they are not the the same sizes (252x420 and 265x442). It'd be easier with just 2 800x480 pictures to make sure it is aligned just right. Thanks
sure np
up and away
matt_jackson said:
sure np
up and away
Click to expand...
Click to collapse
Here's another to try. If it's off, just post the program tab screens pressed and unpressed as before in a .zip.
mhh... nothing is change
but the difference is so small - I can live with this
Here the results:
YOUTUBE
matt_jackson said:
mhh... nothing is change
but the difference is so small - I can live with this
Here the results:
YOUTUBE
Click to expand...
Click to collapse
Sorry, I forgot to change the y-position in the .lua file...so it was still the old value. Please try the attached if you'd like. I think it should be right. The cab only contains the updated manila lua files, so it will keep your current background. The zip contains the 3 files needed for the mod (image manila files not included) so that you have them.
Sry no - this one go up...
The pressed images r right, the unpressed images must move up.
If I understand ur tutorial right I must edit the 5c9aa261_manila (panoramaBkg (unpressed)) 4 vertical movement?
panoramaBkg PosY=72
panoramaBkg2 PosY=77 is this right or must this the same value?
But u have me @ last post change the 3941bc49_manila...
I´m confused
I look @ ur 3 3941bc49_manila.lua with my editor and see u have edit
PanoWidth = Panosize * 3 - 1
to
PanoWidth = Panosize * 3 - 5
what did this value edit?
matt_jackson said:
Sry no - this one go up...
The pressed images r right, the unpressed images must move up.
If I understand ur tutorial right I must edit the 5c9aa261_manila (panoramaBkg (unpressed)) 4 vertical movement?
panoramaBkg PosY=72
panoramaBkg2 PosY=77 is this right or must this the same value?
But u have me @ last post change the 3941bc49_manila...
I´m confused
I look @ ur 3 3941bc49_manila.lua with my editor and see u have edit
PanoWidth = Panosize * 3 - 1
to
PanoWidth = Panosize * 3 - 5
what did this value edit?
Click to expand...
Click to collapse
It is probably easier for you to make the final adjustments and get it aligned correctly. I'll try to explain how to change the position as best as I can.
5c9aa261_manila is the mode9 file that contains the references to the panorama script and background files use. "panoramaBkg" is the un-pressed image. The PosY value controls the y-axis of the panoramic images. Decreasing the value moves it down, while increasing moves it up.
"panoramaBkg2" is the pressed image. The PosY value works the same as "panoramaBkg" to move the image, but they do not line up if the same numbers are used because of other PosY values above the panoramaBkg2 PosY value (at least that's what I think). You can move either "panoramaBkg" or "panoramaBkg2" to get them to line up correctly. If pressed image does not seem to fill the screen (ie there is a blank spot at the top), adjust "panoramaBkg" so that it appropriately (ie move it up). The same goes for the pressed image if it appears off.
3941bc49_manila is the panoramic script. 3941bc49_manila.lua is the decompiled script that you can edit with a text editor. The code below contains the information for portrait or landscape modes. If you are only going to use portrait mode, you can delete the entire text shown below to make it simpler.
Code:
if _application.Orientation == ScreenOrientation_Portrait then
Panosize = 696
panoramaBkg2.Position.y = 80
else
Panosize = 376
panoramaBkg2.Position.y = 82
end
If you would like to use landscape, you will need to adjust the line "panoramaBkg2.Position.y = 82" to get the pressed image lined up with the un-pressed image. Also, if you make a PosY change to "panoramaBkg2" in the mode9 file (5c9aa261_manila), you will need to input the same value in the "panoramaBkg2.Position.y = 80" line. The panosize is the size of the 512x512 picture you use to create panoramic image. It is 696 for portrait (800 - 52 - 52 = 696). The taskbars are each 52 pixels and your wvga screen is 800 pixels. For landscape, it reduces to 376 (480 - 52 - 52 = 376).
The code below just controls the size and x-position of the 6 images used for the panoramic images (3 for pressed, 3 for un-pressed). You do not need to change anything.
Code:
panoramaBkg.Position.y = Panosize
BackGround1.Size.width = Panosize
BackGround2.Size.width = Panosize
BackGround2.Position.x = Panosize
BackGround3.Size.width = Panosize
BackGround3.Position.x = Panosize * 2
BackGround4.Size.width = Panosize
BackGround5.Size.width = Panosize
BackGround5.Position.x = Panosize
BackGround6.Size.width = Panosize
BackGround6.Position.x = Panosize * 2
BackGround1.Size.height = Panosize
BackGround2.Size.height = Panosize
BackGround3.Size.height = Panosize
BackGround4.Size.height = Panosize
BackGround5.Size.height = Panosize
BackGround6.Size.height = Panosize
The code below controls the width of the panoramic image (so that it adjusts to the number of tabs you have present).
Code:
T = screenWidth - sliderWidth
PanoWidth = Panosize * 3 - 5
panoramaBkg2.Opacity.value = 100
panoramaBkg.Position.x = math.floor((selector.Position.x - correction) * (- (PanoWidth - screenWidth) / T))
panoramaBkg2.Position.x = math.floor((selector.Position.x - correction) * (- (PanoWidth - screenWidth) / T))
The "PanoWidth = Panosize * 3 - 5" line controls how far the image stretches to the right. This should just be 3 * the panoramic size used (696 pixels for portrait). However, it does not always display as the numbers should. If you see any black space on the far right edge of your panoramic image (on last tf3d tab), you can move the image to the right by making the "PanoWidth" value smaller (by subtracting 5 in this case). If it looks like your panoramic image is getting cut off on the last tf3d tab, you just need to make the "PanoWidth" value larger.
Those are the main portions of the script and mode9 file. The only things needed to adjust PosY are below "panoramaBkg" or "panoramaBkg2". If you change "panoramaBkg2", make sure to change the corresponding value in 3941bc49_manila.lua. To change X position, just adjust the "PanoWidth" line in 3941bc49_manila.lua.
After you've edited 3941bc49_manila.lua, use m9editor to compile and import the actual manila script (3941bc49_manila). Then just copy to your device and test the new values.
Hello,
i have an application, programmed in C#. I wanna that the size of the gui will automatically adapt to the size of the phone on which the application get used.
How can I do this?
In the Paint() event of the form examine its ClientSize property. This is the size of the client (White) area of the screen. It is itself a Size object with Height and Width integer properties, this.ClientSize.Width and this.ClientSize.Height
Use these values to position/resize your objects on the screen, by changing their Size and Location (Left and Top) properties, so that they fit in this area.
This event occurs before the Paint() event of the child objects, so they will be repositioned/resized before they themselves are drawn.
To be clever, reposition and resize screen objects, scaled to the screen size at run time, not values hardcoded at development time.
This technique can also detect a change of orientation, the values of Height and Width change over! If you want to be smart, handle this as well, and your app should be starting look pretty damned professional. A bit of work and it should look good on all screen sizes. Test them out against the SDK's emulator images for a range of device screen sizes.
The following code example positions the label in the correct place. Hey Diddle Diddle, slap bang in the middle!
Code:
private void Form1_Paint(object sender, PaintEventArgs e)
{
label1.Left = (this.ClientSize.Width - label1.Size.Width) / 2;
label1.Top = (this.ClientSize.Height - label1.Size.Height) / 2;
label1.Text = this.ClientSize.Width.ToString() + " x " + this.ClientSize.Height.ToString();
}
do you have to do this with every object you put on it? Seems like a lot of code. (also im doing this in VB so far..)
I'm afraid so. But it's worth the effort. Also it will run on all screen sizes, see image, and also the oddball ones they haven't thought of yet!
Change 'this.' to 'me.' and omit the C# end of line character ';' and it's now in VB.
Does your form property AutoScaleMode is set to AutoScaleMode.Dpi?
For controls set the anchor property (default is top|left) also to right (and/or bottom if needed). That will automatically 'stretch' the controls.
Advanced:
Now, if you really want to support different resolutions it will take much more work:
As already mentioned you have to rearrange the controls on orientation changes. Take a look at Developing Orientation and dpi Aware Applications for the .NET Compact Framework!
And finally you have to provide images in different resolutions.
Adapt to New Screen Orientations and Resolutions
Of course you have to decide if this is really needed for your app as this will take much more time.
Hi,I Just Made A Guide To Support My Other Thread On How To Create Bootanimations So It Is Easier For People To Understand And Grasp The Concept.
CONTENTS
The Basics
Inside the bootanimation.zip file
Featured Boot Animations
The Android boot animation is contained within a an uncompressed zip file called bootanimation.zip that can be found in the media folder of the system partition i.e. /system/media on the internal memory of the device. This single file contains all the information required to play the boot animation, and is loaded automatically when the device boots. Thus, customizing or changing the boot animation is simply the process of editing or replacing this file.
Inside The Bootanimation.Zip File
This section is for those interested in finding out how the Android boot animation works. If you just want to install one without bothering yourself about what’s in the file, feel free to move on to the next section, as this one will get a little technical. Though it should be easy and simple enough for anyone to grasp.
While the Android boot animation might appear to be in a video format during playback, it is in fact a little different. If you extract the contents of the bootanimation.zip file to your computer, you will see:
A desc.txt file
A part0 folder (Contains PNG images named in incremental numbers)
More part1, part2 etc. folders (May or may not be present)
As you can see, bootanimation.zip merely contains one text file and one or more folders with PNG images. The animation is played simply by displaying the images in a sequence, and the text file defines how they are to be played. In essence, first the PNG files in the part0 folder are displayed one after the other and afterwards, those in the part1 file – if it exists – are displayed, again one after the other, and so on. All of this is defined in the desc.txt file.
Let’s see how it works in a little detail by taking a closer look at the contents of the file.
The folders
These contain PNG images named in numbers, starting from something like 0000.jpg or 00001.jpg and proceeding with increments of 1. There has to be at least one folder, and there is no known upper limit to the number of folders.
The desc.txt file
This file defines how the images in the folder(s) are displayed during the boot animation, in the following format:
Width Height Frame-rate
p Loop Pause Folder1
p Loop Pause Folder2
An example of a desc.txt file is:
480 800 30
p 1 0 part0
p 0 0 part1
As you can see, in the first line, 480 and 800 define the width and height of the boot animation in pixels for this example. This must be the same as the screen resolution of your device for the boot animation to properly play in full screen. 30 is the frame rate in fps (frames per second) i.e. number of images to display per second.
The second and third lines have a same format, start with p, which stands for a part of the animation and end in part0 or part1, which denotes the folder in which the images for that part are present.
The number after ‘p’ defines how many times this part will loop (repeat playback) before switching to the next part (if present). Specifying 0 would make the part loop indefinitely till the phone has fully booted.
The next number is for the pause, and is expressed in the number of frames, which can be translated into time by dividing it by the frame rate. A pause of 15 for example, would mean pausing for the time it takes 15 frames to play and since the frame rate is 30 frames per second, 15 frames would take half a second.
Translating all of this in case of the above example, the boot animation will play at a resolution of 480 by 800 pixels, at a frame rate of 30 fps, starting with the contents of part0 folder and after playing them in one loop, switching to contents of part1 folder and playing them continuously till the device fully boots.
A note on resolution: Most high-end Android devices with large screens have a resolution of 480 x 800 pixels, and are referred to as HDPI. Some mid-range devices have a resolution of 320 x 480 pixels and are called MDPI. Lastly, the screen resolution of some low-end devices is 340 x 320 pixels and these are called LDPI, though these are either the really old Android phones or the cheapest Chinese models.
As a rule, a boot animation made for a lower resolution device will run fine on a high resolution one but it will be centered on the screen, with the extra screen space around it not being used. Using a high resolution boot animation on a low resolution device will result in the boot animation not fully displaying on the screen, with its outer parts being cut off due to being outside the screen’s bounds.
IF YOU WISH TO MAKE A BOOTANIMATION NOW THEN GO HERE AND FOLLOW MY GUIDE: http://forum.xda-developers.com/showthread.php?p=27059237#post27059237
unreserved
thanks
thanks for the info , ill try to make my bootanimation and ill post it here if it works lol, one small question, if i do something wrong in the .zip, can the phone get a brick?
edit..
hhmmm part1 folder doesnt show up, could you tell me why?
Tuner420 said:
thanks for the info , ill try to make my bootanimation and ill post it here if it works lol, one small question, if i do something wrong in the .zip, can the phone get a brick?
edit..
hhmmm part1 folder doesnt show up, could you tell me why?
Click to expand...
Click to collapse
No fn will not brick just a blck screen in startup dont worri ... keep up ur work
Sent from my GT-I9300 using xda app-developers app
Thanks for the guide
I am on stock lp7 rom but I have no boot animation.zip file in my media folder.
Instead I have bootSamsung. Qmg and bootSamsungloop. Qmg files?
Can I still make a boot animation?
Thanks for your help
nice guide..i'll try soon