Resize Androids Home Softbutton - android

I have got the 2.2 android with Home button on screen(soft button), Now I need to change the size of that button to make wider and taller. Also that is embedded device so I have no app store etc. So how to change the buttons Bigger.

Related

Flutter: Avoid wallpaper streching across multiple screens

I'm using a Wallpaper Manager for setting an image as Home screen. It works fine for Lock Screen, but not for Home screen. This image that I want to set as Home screen is as wide and long as the screen, so it gets blurred when stretched across multiple screens. I'd like for this image to be repeated on each screen, not stretched across all. Is there any solution? I'm open to any idea, even if it doesn't include wallpaper manager.
I get it too, bro. But this package have a function called setWallpaperFromFileWithCrop
so you can let user crop image to set wallpaper as you want.

Make screen go black

Is it possible in Android to make the screen go black? You can set the brightness to a low level but you cannot dim it until it goes black. Of course I could create an activity with just a black screen but would prefer an API that simply turns the screen off but not power down the device.

get size and positions of icons and bottom strip / home button in live wallpaper

Is it possible to get the sizes and positions of everything (or at least anything) that "obstructs" the view to live wallpaper?
I would like to make a wallpaper that would make special effects around icons or at least bottom strip.
Also, is the size of the bottom strip (the one with home button) in any way standard so I could guess its size?
No.
At least, not unless whatever launcher the user is using offers a special API to do so. But even so you cannot guarantee that the user will be using that launcher as this is Android and that component can be replaced by a third-party launcher (e.g., LauncherPro, Go Launcher EX, etc.)
The only real way to do this would be to give the user the option in the settings of your live wallpaper to change where it does and does not display things.

Avoid a wallpaper to stretch across 5 screens

I've been facing a problem. How do I set a wallpaper in Android, without stretching it across 5 home screens. To be clear, I have a resource images with resolution 320x480px and when I set it as wallpaper in Android, it gets stretched across 5 screens, but I want it to show up only in 1 screen (or the same image in all screens), got it?
I'm not interested in using a livewallpaper.
Only way to have an app do that is using a live wallpaper.
There are two types of wallpaper, static and live. The scrolling of a static background is controlled by the launcher app. This is why LauncherPro and ADW can control the scrolling. When the user chooses a live wallpaper, the launcher simply displays whatever the LWP wants to render, so the LWP controls the scrolling, if any. This is how MultiPicture LWP solves the problem.
So your only options are to implement a custom launcher (which I doubt you want to do for such minor functionality) or implement a live wallpaper.
And BTW, setWallpaperOffsetSteps is an internal method called by the launcher on a live wallpaper, so the LWP knows where it's supposed to be drawing. You can't call it directly, but you can listen to onOffsetsChanged within your LWP to facilitate your own scrolling implementation.
Tap and hold your screen when you get popup "add to home screen"
select "wallpapers"
select "home screen wallpaper"
when you've selected a picture from gallery or explorer you get a screen where you can crop your Image to fit home screen.
On the bottom you can select 2 type of crops.
A big crop for setting it accros 5 screens and a small crop to use the same BG on all 5 screens.
see screenshot:
select the latter, crop your picture and save.
Not possible. May be there are any private libraries for it.
Apparently it's not native Android functionality. You can, however, get apps that do it. "Launcher Pro" and "ADW EX Launcher" can both disable scrolling but you may need to create a landscape rectangular image with empty borders at the right size.
Alternatively, the app "MultiPicture Live Wallpaper" may do what you need. A reviewer wrote: "Lets me use a picture sized the same as my phone's screen as the background on all pages of the launcher. Not sure why that isn't part of Android."
EDIT: have a look at tdtje's post before you try these. If that works, then awesome. I'm not sure which version of Android that became available in, as I'm using 2.1 without that feature.
FURTHER EDIT: In the comments below, Martyn gives us a first hand opinion!
I went to Settings and clicked on home screen. Then went to wallpaper. I selected my picture and cropped using the gallary app. This had a setting on the top to either stretch or not. I'm running Android 4.4.

Capture Key Press screen shot using ADB HTC EVO

I wanted to put together a few screen shots for an app to use in a "walkthrough". I have finally got the Android Debug bridge to work and can bring up the screen capture feature.
What i am wondering is this.
Is it possible to capture a screen press in the screen shot? For example in the picture below you can see the screen option " Home Button Launch " is highlighted, I would like to accomplish this same thing, as I press the buttons, ex : Menu>WallPaper> and so on.
two options:
if you spin the mouse wheel, it will cycle through the views (including button views) so you can make it appear as if it were pressed
Or just temporarily change the image of the button you want to appear as depressed to be your depressed image.
In the sample picture you linked I think that the person is not actually capturing a "screen press" they just used the scroll ball / d pad to navigate to that item in the list (which puts it into "selected" mode which with the default selector item as the background generally makes it look some shade of orange on most(but not all) devices. Then they took the screen shot while that item was selected. To do this you need a device with a scroll ball or d/pad that will let you navigate around the screen like that (the newer tablets don't have this ability that i've found, everything is touchscreen only, If you are using one of these devices you'll have to edit your code a little bit to call .getFocus() for each view you want to be highlighted one at a time.) Then just highlight a view and save the screen shot and repeat for every view you wish to have a screen shot of.
Edit: I am pretty sure the evo doesn't have any sort of scrolling device (track ball or d-pad etc).
if you spin the mouse wheel, it will cycle through the views (including button views) so you can make it appear as if it were pressed
Doesn't work for me on Moto Xoom, do you do it after you press the screen capture button while the picture is displayed in the window inside of eclipse? This would make this process much quicker and easier if I could get it to work, thanks for the info.
Unless you can get that mouse wheel to work I think the easiest way to do it is override one of the hardware buttons temporarily (back, or volume up/down would work I think) to cycle focus through all of the views in your layout. that way you don't have to call getFocus() one by one and recompile and run it for every different view you want a highlighted pic of. Then just use that button to cycle through the views and save a pic of each.

Categories

Resources