[Q] Softkeys size - Nexus 7 Q&A, Help & Troubleshooting

Hello all, and thx in advice.
This is my second mod on android, since the first was a kernel mod. Today I am trying to change the size of the softkeys on the nexus 7, to make the use exactly 60 pixels on landscape, to make on landscape orientation, a 1280x720 screen. And eventually, I want to port this to the new nexus 7 to make it a 1920x1080, I found how to edit the softkeys, sign the new framework apk, and so, but I cannot find how to make them use exactly 60 pixels.
Are any file on the framework that have someting to do with this? Like saying for example, total with=800 and any way to calculate the exact DP the softkeys need to have in order to use 60 exact pixels? Thx for everything, and sory for the "lazy" question, but seriously, I don't want to try lots of configs if I can calculate it XD

Related

cLaunch mods for large icons (CAB and source included)

cLaunch is GREAT, but unfortunately it doesn't handle icons larger than 32x32 pixels all that well. I wanted to create a bunch of big 48px photo shortcuts (32 was just too small!). However, even with a 48px bitmap, cLaunch just crops to 32px and scales up to 48px. Results are not what I wanted, and ugly.
So I created a hacked up version of cLaunch (based on version 12.04, 11 Jan 2008) and I called it cLaunch_48px. It works just like the normal cLaunch does... The only difference is apparent if...
you set the icon size to 48 AND
have a 48px bitmap file as the icon
...it WILL show the entire 48px bitmap, without distortion. Your icon size should be set to exactly 48px in cLaunch, otherwise you will see the regular cLaunch behavior. Note: You can still use any size icons you want, you'll just get the default behavior. For example, I have one tab with 32px icons and another with 48px.
To use: download the CAB and install as normal. It can even coexist with an existing cLaunch installation. This version will share settings with any existing cLaunch installation so you won't need to do anything special to import. You do not need to remove your existing cLaunch, if you have it installed already. Use at your own risk so backup your \Windows\cLaunch.dat file just to be safe.
To hack--experts only: Source code included as zip (project/solution file is VStudio 2008). The only file changed from the original is main.cpp, included in zip (other than vstudio project files). FYI: If you want, you could create an even bigger version (such as 64px) modeled after this version (diff main.cpp with the original cLaunch 12.04 version)... I didn't do that here for two reasons (1) I didn't want 64px icons and (2) supporting both 48px AND 64px icons would use up too much memory.
If I get a chance sometime, I might actually provide a screenshot, but it won't look much different than a typical cLaunch screenshot, expect for nice and clear 48px icons.
Works great with go2contact (created by me).
Also, SUPER THANKS to the creators of cLaunch!
??????
Great Idea. I like claunch because of its small siZe, but I don't use it because of the small Icons. Tried the prog and it doesn't work. Icons remain at 32 even after I resized them. I can tell they are larger because it only shows a portion of it. Is there a setting somewhere that I'm missing?
Got IT
OOPs figured it out. Works Great. Thanks
_craig said:
cLaunch is GREAT, but unfortunately it doesn't handle icons larger than 32x32 pixels all that well. I wanted to create a bunch of big 48px photo shortcuts (32 was just too small!). However, even with a 48px bitmap, cLaunch just crops to 32px and scales up to 48px. Results are not what I wanted, and ugly.
So I created a hacked up version of cLaunch (based on version 12.04, 11 Jan 2008) and I called it cLaunch_48px. It works just like the normal cLaunch does... The only difference is apparent if...
you set the icon size to 48 AND
have a 48px bitmap file as the icon
...it WILL show the entire 48px bitmap, without distortion. Your icon size should be set to exactly 48px in cLaunch, otherwise you will see the regular cLaunch behavior. Note: You can still use any size icons you want, you'll just get the default behavior. For example, I have one tab with 32px icons and another with 48px.
To use: download the CAB and install as normal. It can even coexist with an existing cLaunch installation. This version will share settings with any existing cLaunch installation so you won't need to do anything special to import. You do not need to remove your existing cLaunch, if you have it installed already. Use at your own risk so backup your \Windows\cLaunch.dat file just to be safe.
To hack--experts only: Source code included as zip (project/solution file is VStudio 2008). The only file changed from the original is main.cpp, included in zip (other than vstudio project files). FYI: If you want, you could create an even bigger version (such as 64px) modeled after this version (diff main.cpp with the original cLaunch 12.04 version)... I didn't do that here for two reasons (1) I didn't want 64px icons and (2) supporting both 48px AND 64px icons would use up too much memory.
If I get a chance sometime, I might actually provide a screenshot, but it won't look much different than a typical cLaunch screenshot, expect for nice and clear 48px icons.
Works great with go2contact (created by me).
Also, SUPER THANKS to the creators of cLaunch!
Click to expand...
Click to collapse
Hi craig,
good job. Would you by any chance have an idea why claunch 1204 would show only a quarter of the icons (and what's worse, only a quarter of the setup menus) on VGA (x51v)?
Do you think there's anything to be done about it? I like claunch 1203 but there the icons are shown with pixel doubling and therefor very coarse.
cheers
kuifje
kuifje_xda-developers said:
Would you by any chance have an idea why claunch 1204 would show only a quarter of the icons (and what's worse, only a quarter of the setup menus) on VGA (x51v)?
Do you think there's anything to be done about it? I like claunch 1203 but there the icons are shown with pixel doubling and therefor very coarse.
Click to expand...
Click to collapse
Don't know much about 12.03 and what changed with 12.04. However, with 12.04, from what I could tell by the code: it's best to use 16 and/or 32 px icons/bitmaps (or 48 if you're running cLaunch_48px) and show them at their native size. Otherwise, scaling/cropping will occur.
craig,
I am only using this for shortcuts to regular apps with their own built-in icons. I suppose they are 32*32.
When I set the icon size to 16*16, i see the icon in normal resolution but only the upper left quarter of it.
When I set the icon size to 32*32 I still see only a quarter, but now with pixel doubling, instead of the whole icon in normal resolution. When I set the icon size to 64*64 I see the entire icon, with pixel doubling, but distorted at the bottom.
Also, the upper left corner of the icons is shown in the setup screen, and of the settings and options dialog (and ONLY those), only the upper left corner is shown (this makes it impossible to configure the settings, but I can still do that through claunch 1203 which I have installed also.
can you see anything VGA-related in the code?
Kuifje
I have installed the CAB file but when I go to change the icon size to 48, the icons appears tiled on my today screen. The icons are 32*32 and tiled in the allowed 48 icon size. Do I need to make changes to additional settings??
Hi,
I have a freshly purchased Ipaq 214, and i use to use Claunch on my Asus620.
the Ipaq is VGA, and i have same behaviour you mention, ie can only see quater of the configuration menu... which does not really allow to tweak the interface, and finally makes it unusable!
not to be too particular, but 48 point is too large. can you hackup another version that accept 36-40 pixel? thank you so much if you could.
cLaunch Settings
I am a little slow on how these things work outside of loading them and adjusting the settings so this could be me being dense, but I am hoping someone can help.
I just went from a Touch to a Touch Pro and when I loaded cLaunch it is tiny on the screen. When I go into the settings the left side of the screen has some info, and on the right some of the tabs are there but cut off, and I can't get to the other ones.
I have tried the version above as well as 12.03 (which says it is not a valid pocket pc app and can't be loaded) and 12.04. I have loaded cLaunch.dat into the windows folder and see my shortcuts on the screen but they are very, very small.
Is this a setting I need to change? I have been through all the settings I can think of. I love this app and would appreciate any help anyone can give me to make this work.
vincej said:
I just went from a Touch to a Touch Pro and when I loaded cLaunch it is tiny on the screen. When I go into the settings the left side of the screen has some info, and on the right some of the tabs are there but cut off, and I can't get to the other ones...
Click to expand...
Click to collapse
I'm having the same problem and I'm pretty sure that it's the touch pro has the TFT 480 x 640 px and the Mogul was 240 x 320 px (Half) I don't know much but I'm sure thats the problem. I'm having this same issue with a few of my old apps (Skyfire, Music ID, Claunch) I'm bummed Can anyone offer a tweak or solution?
bump please make a vga version
Pls a VGA Version.
It donĀ“t runs in my new HTC TOUCH HD
Many thanks,
Omnia qvga it does not work
It looks nice, but when I set the setting for icons to 48 icons are tiled. It does not show the full 48x48 icon when set to smaller size. I have not the tools to do it myself. Thanks for any help.
vincej said:
I am a little slow on how these things work outside of loading them and adjusting the settings so this could be me being dense, but I am hoping someone can help.
I just went from a Touch to a Touch Pro and when I loaded cLaunch it is tiny on the screen. When I go into the settings the left side of the screen has some info, and on the right some of the tabs are there but cut off, and I can't get to the other ones.
I have tried the version above as well as 12.03 (which says it is not a valid pocket pc app and can't be loaded) and 12.04. I have loaded cLaunch.dat into the windows folder and see my shortcuts on the screen but they are very, very small.
Is this a setting I need to change? I have been through all the settings I can think of. I love this app and would appreciate any help anyone can give me to make this work.
Click to expand...
Click to collapse
Hello
I'm new on this forum and would like to confirm exactly the same problems on my HTC Touch HD.
I've been using this software for years on my old MIO, but I must now move to another soft for my HTC.
Like other people in this thread, I really would like to come back to Claunch.
Any chance to get it upgraded ?
Many thanks for that wonderfull software.
I would like to have Claunch size 64
Hi,
I am very happy with Claunch size 48, but it would be better en size 64 : the friend of my mother had an AVC and he can't speak.
I put pics and shortcut to .mp3 : when he clic on one pic, the pocket PC read a little sentence.
He can use it in size 48, but it would be easier in size 64.
Many thanks for that wonderfull software.
Excuse my bad english, I am french....
Chantal
vga screen
it doesn't work with vga screen .. ie v900
it would be kind if it was possible to make it working for vga screen
many thanks
plus 1 on this if anyone can make a higher res icon version for wvga
would like to try this on the HD2 but icons are only a quater size with this version.
Can you get exe instead of today's plug in?
What i mean can we also jave claunch.exe which can be excuted from PPC as stand alon application instaed of today's plugin

Mobile Shell 3 Skin Changer

i was wodnering is it possible to change the options at the bottom of the screen with this? i mean currently it has Launcher and Contacts is it possible to change and add more? as well as changing the ones that are already there?
im looking at the main site but its quite hard to understand what you can do with it
i am also unsure what res version to get for it as i thought the res of Touch HD was 800 x 460 but thats not an option to download - am i missing something?

Softkeybar height

I know the nexus10 has a 2560x1600 Resolution but that includes the Softkeybar (Home, Back, Options) which we cant hide. We need the "real" usabable resolution so we dont get on trouble with image cropping etc.
Does anybody know exactly how high the Softkeybar on the Nexus10 is or what the "real" usable Resolution for the Nexus10 is? I googled already but cant find any usefull information.
Would be great to hear something from you guys.
Best regards
Philipp
Just a thought... take a screenshot. If it's less than 1600px high... minus the amount from 1600.
all screenshots i can find are 2560x1600. So that doesnt really help
I think it's 42dip.
for xxhdpi the ratio is about 1:3... So that would be about 126px (42px x 3).
EDIT:
Yep, this should help:
http://stackoverflow.com/questions/8168329/android-screen-sizes-in-pixels-for-ldpi-mdpi-hpdi
Kryten2k35 said:
I think it's 42dip.
for xxhdpi the ratio is about 1:3... So that would be about 126px (42px x 3).
EDIT:
Yep, this should help:
hm that confuses me. I measured it in photoshop on a 2560x1600 Screen shot and it was 96px. But i wanted to make sure so i hoped for some official info about that.
The DP stuff will be important when choosing sizes for UI Elementes but isnt relevant for the whole "whats resolution to work for" problem.
Isnt there any official Info about how many pixel of the screen height (in landscape mode) i loose to the Softkeybar?
Click to expand...
Click to collapse
mitsubstanz said:
Kryten2k35 said:
I think it's 42dip.
for xxhdpi the ratio is about 1:3... So that would be about 126px (42px x 3).
EDIT:
Yep, this should help:
hm that confuses me. I measured it in photoshop on a 2560x1600 Screen shot and it was 96px. But i wanted to make sure so i hoped for some official info about that.
The DP stuff will be important when choosing sizes for UI Elementes but isnt relevant for the whole "whats resolution to work for" problem.
Isnt there any official Info about how many pixel of the screen height (in landscape mode) i loose to the Softkeybar?
Click to expand...
Click to collapse
This guide has some of the basic info for density calculations.
http://developer.android.com/guide/practices/screens_support.html
The value will be different depending on the device's current screen density, but below are the default calculations for the Nexus 10:
The navigation bar height is defined in framework-res as 48dp.
The device's screen density is defined in build.prop as 320.
The density ratio (screen density / android default density of 160) is 2.
48 * 2 = 96px so your measurement in photoshop is right.
You can also visually check using Settings > Developer options > Input subsection > Pointer location
Click to expand...
Click to collapse
I just come back to say yeah it was 48dp. I had changed mine using AOKP to 42dp.
The above post is good info.
I don`t use navigation bar or the notififcation bar.
On aokp roms i hide them with gmd gesture control. Very easy to navigate with gestures and have the whole screen real-estate to apps.

[Q] Windows 8.1 Modern UI DPI Scaling

Hello all,
So I bought a Dell Venue 8 Pro and so far I really like it.
I have managed to configure the desktop so it is readable through some scaling and text sizes. However, the Modern UI is still very small and I am actually getting a little bit of a headache due to small text and tiles.
I have tried to figure out how to change the scaling and the text size but the "Change the size of apps, text, and other items on the screen" is greyed out. I guess this is due to the screen resolution of the device.
But there must be another way to configure this. I have seen some registry keys which is assosiated with the Modern UI but all these only seems to work with Windows 8.
Any thoughts?
No input at all? It must be possible in some way
olesch said:
Hello all,
So I bought a Dell Venue 8 Pro and so far I really like it.
I have managed to configure the desktop so it is readable through some scaling and text sizes. However, the Modern UI is still very small and I am actually getting a little bit of a headache due to small text and tiles.
I have tried to figure out how to change the scaling and the text size but the "Change the size of apps, text, and other items on the screen" is greyed out. I guess this is due to the screen resolution of the device.
But there must be another way to configure this. I have seen some registry keys which is assosiated with the Modern UI but all these only seems to work with Windows 8.
Any thoughts?
Click to expand...
Click to collapse
The only thing that really comes to mind is setting the display resolution lower, but of course that will cost you detail and definition on things that ought to be rendered at high DPI (like text and images).
olesch said:
Hello all,
So I bought a Dell Venue 8 Pro and so far I really like it.
I have managed to configure the desktop so it is readable through some scaling and text sizes. However, the Modern UI is still very small and I am actually getting a little bit of a headache due to small text and tiles.
I have tried to figure out how to change the scaling and the text size but the "Change the size of apps, text, and other items on the screen" is greyed out. I guess this is due to the screen resolution of the device.
But there must be another way to configure this. I have seen some registry keys which is assosiated with the Modern UI but all these only seems to work with Windows 8.
Any thoughts?
Click to expand...
Click to collapse
I came across this on Google and just wanted to drop in and +1 this. I have the desktop configured with 150% scaling, but no settings seem to exist to increase the size of everything in the Modern UI. Hopefully someone else will come across this with some kind of solution. Merry Christmas!
I also bought Venue 8 Pro and find this also the only isue. I was googling a lot and it seems Microsoft requires minimum 1440x1080 resolution for 140% scaling in Windows 8. There is no way or hack for now that can go around this isue:
http://msdn.microsoft.com/en-us/library/windows/apps/hh465362.aspx
Even those hacks with register to make Windows 8 think screen is smaller wouldnt work, because the isue here is resolution not screen size that that hack changes!
Damm Microsoft, why allow tablet makers to use 1280x800 on 8" if you dont support it well!
I Will survive for now, i have good eyes and at least Metro IE browser has its own setting for making at least browsing larger.
This should be a high priority isue, Microsoft is going big with 8" tablets and all the cheap ones Will have 1280x800....
P.S.: 8" Windows 8 tablet still ROCKS. But if possible go buy one with higher resolution(doesnt existt for now).
Edit: I just recalculated the scaling. 1080 height would not help at all, because it is exactly 40% more pixels than 768... So i gues only Microsoft can change this for 8" tablets. Either by making everything bigger(Will make it hard for developers) or more easily by scaling text seperatly.
I've managed to somewhat improve it by scaling Segoe UI font. So now most of Windows UI looks ugly, but more readable.
So what I have now is
1) 150% DPI scale for desktop (Control Panel\Appearance and Personalization\Display)
2) 150% scaled Segoe UI font
Sometimes these 150% overlap (giving 225% total)
To try this:
1) copy attached fonts to your fonts directory without installing it (use .bat file attached and run it as administrator)
2) let windows use new files instead of original ones (run fonts150.reg or fonts125.reg for smaller scaling)
3) sign out - sign in
nice hack
burma said:
I've managed to somewhat improve it by scaling Segoe UI font. So now most of Windows UI looks ugly, but more readable.
So what I have now is
1) 150% DPI scale for desktop (Control Panel\Appearance and Personalization\Display)
2) 150% scaled Segoe UI font
Sometimes these 150% overlap (giving 225% total)
To try this:
1) copy attached fonts to your fonts directory without installing it (use .bat file attached and run it as administrator)
2) let windows use new files instead of original ones (run fonts.reg)
3) sign out - sign in
Click to expand...
Click to collapse
WOW nice hack you have here! Didn't know you can change font size via font files. Great work on TrueType files man!
Would it be hard to also make a 125 version(so it doesnt stand out that much over still smaller UI.)? I think i could like this hack enough for everyday use!
P.S.: the small "f" on keyboard is wrong, and for .bat i would add in begining this line, so it works for everyone: "cd /d %~dp0"
CommanderThor said:
WOW nice hack you have here! Didn't know you can change font size via font files. Great work on TrueType files man!
Would it be hard to also make a 125 version(so it doesnt stand out that much over still smaller UI.)? I think i could like this hack enough for everyday use!
P.S.: the small "f" on keyboard is wrong, and for .bat i would add in begining this line, so it works for everyone: "cd /d %~dp0"
Click to expand...
Click to collapse
Added 125 fonts. Not sure what "cd /d %~dp0" does though, on my computer it just gives "path not found" error
Oh nice, i find the 125% version looking fairly good on my 8" Dell Venue 8 Pro, that is i find it better than default, no matter the smal distortion it causes.
Thanks!
Let us know if you update your fonts file again.
As for your bat file it shows me error "cannot find the file specified" when i run it. But after i add that cd command(without the citation marks) it works fine for me.. That command is supposed to change the dir to "where you are running your .bat file from", works fine for some other .bat files i have..
Burma, Thanks so much for the workaround. Didn't know there is a base UI font and there is mapping between font name and font file. A 25% increase in text size works wonder. I wonder why MS can't get such trivial thing right.
Now if I can find a way to disable the random zoom in/out while scrolling screen in IE!
I got a cheap EC Technology Bluetooth keyboard for $14 from amazon. It works pretty well and avoid having the onscreen taking up a lot of screen real estate.
burma said:
I've managed to somewhat improve it by scaling Segoe UI font. So now most of Windows UI looks ugly, but more readable.
So what I have now is
1) 150% DPI scale for desktop (Control Panel\Appearance and Personalization\Display)
2) 150% scaled Segoe UI font
Sometimes these 150% overlap (giving 225% total)
To try this:
1) copy attached fonts to your fonts directory without installing it (use .bat file attached and run it as administrator)
2) let windows use new files instead of original ones (run fonts150.reg or fonts125.reg for smaller scaling)
3) sign out - sign in
Click to expand...
Click to collapse
It works fine but the resulted font look very bad can you make the some fix but with a different font? e.g. Verdana font I think will look better... anyway great idea! and thank you.
Thanks so much Burma for the fix.
I've tried the windows magnifier, and the experience is awful on a tablet (it works great on any laptop)
I also tried reducing the resolution, but the biggest problem with that is the loss of widescreen because all the resolutions below the 1280 x 800 default are 4:3
I'm glad I only paid $250 for this tablet, i'm not enjoying Windows 8.1 on a tablet (like I do on PCs).

[Q] How to make a vertically movable splash screen for game

Hello everyone. I want to make a splash screen for my game. I need the image to fit the screen's width but I want the height to be larger than the screen's. Than, I will have an animation moving the image vertically, hiding the top part and showing the bottom one.
I have searched a lot and I am more puzzled now on how I should do this.
Firstly the only solution I found for the fitting part was a combination of java and xml. But the problem here is that the java class doesn't produce a bigger than the screen image, but a cropped image. So, I can't make the animation later on.
Than i figured out that I could use a scrollview. And after combining some solutions I found on the web, I managed to have the right dimensions for my image and avoid any cropping. But now I can't do the animation because I am using the "fromYDelta ... toYDelta" and I can't find a way to calculate how much to put in the "toYDelta" value. And it cannot be a fixed value because every screen is different and so the dimensions of my splash screen.
Can anyone tell me a way to do this? Should I do it only in java and don't use xml at all? Or is it possible to do this through xml only (which would be better I think)?

Categories

Resources