Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Remove white Background from icon?

Tags:

android

I have an app on android that create home shortcut icon. The image of the icon is image that i set programmatically from the drawable

enter image description here Now the problem is, when the shortcut was created on the home screen it's created with white background.

How do i remove that white backgroubd and set image to full size of icon?

Thank you all..

EDIT: the app i was talking about is app that i developed using android studio and just want to set full size of image when i create home shortcut

like image 273
Gil Avatar asked Jan 19 '19 21:01

Gil


People also ask

How to remove the white background from an image?

Easily remove the white background of your photos in seconds with our free online tool. Download your new image or open it in Creative Cloud Express to turn it into a stunning graphic. How to remove the white background from an image. 1. Select. For best results, choose an image where the subject has clear edges with nothing overlapping. 2. Remove.

How to edit or remove the background of an icon?

Step 1: Go to the official website and click on the "Create a design" button. Choose a canvas of your choice. Step 2: Go to "Uploads" and click on the "Upload Media" button. Choose the icon you want to edit. Step 3: To remove the background of your icon, click on the "Effects" button and click on the "Background Remover" option.

How to make an icon transparent with no background?

It is an online free tool that makes your images transparent in one click and helps you get an icon transparent background. Fococlipping is a quite popular online tool that is specially created to remove background from all kinds of images. This online tool is powered by AI technology that enables it to remove background in just a few seconds.

How does the background remover work?

The Background Remover uses artificial intelligence to detect the subject of the photo, mask the image, and remove the background. No additional work from you is required! Is Background Remover free to use? You can remove the backgrounds from 3 images for free. To process more images, please purchase a subscription or a prepaid package.


1 Answers

This is highly dependent on the launcher you use. The image looks like the standard google android 8+ (?) icon shape. I theory it could be part of the icon you created but since you are asking this I doubt it.

In older versions of android the outer shape of the icons were individual, while rather cool and the outline correctly shown while dragging them etc many complained about the lack of a uniform look of all the icons in the app drawer etc.

It was introduced to make all icons seem more uniform. Long pressing an empty space in the Google Pixel launcher for example shows a choice to go into the settings for the launcher and there you can change the shape all icons should have:

Icon shape settings in the Home settings

In addition to this, apps can take advantage of the various shapes and adapt to them and fill them out so to speak. See for example the Chrome icon while changing the icon shapes in the launcher settings.

Introduced in android 8: The feature is called adaptive icons.

See the docs about adaptive icons here: https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive

like image 50
Mattias Isegran Bergander Avatar answered Oct 18 '22 00:10

Mattias Isegran Bergander