Change background color of flutter app icon - flutter

I want to change background icon to #fe6017.
I use flutter_launcher_icons, set adaptive_icon_background: "#fe6017". But it doesn't work.
I also try to resize image. But it always shrinks and put white color around my image. Thank you.

Open android folder in Android Studio.
Right-click the res folder and select New > Image Asset.
In the Icon Type field, select Launcher Icons (Adaptive & Legacy).
In the Foreground Layer tab, select an Asset Type, and then specify the asset in the field underneath:
Select Image to specify the path for an image file.
* Select Clip Art to specify an image from the material design icon set.
* Select Text to specify a text string and select a font.
In the Background Layer tab, select an Asset Type, and then specify the asset in the field underneath. You can either select a color or specify an image to use as the background layer.
In the Legacy tab, review the default settings and confirm you want to generate legacy, round, and Google Play Store icons.
Optionally change the name and display settings for each of the Foreground Layer and Background Layer tabs:
Name - If you don't want to use the default name, type a new name. If that resource name already exists in the project, as indicated by an error at the bottom of the wizard, it's overwritten. The name can contain lowercase characters, underscores, and digits only.
Trim - To adjust the margin between the icon graphic and border in the source asset, select Yes. This operation removes transparent space, while preserving the aspect ratio. To leave the source asset unchanged, select No.
Color - To change the color for a Clip Art or Text icon, click the field. In the Select Color dialog, specify a color and then click Choose. The new value appears in the field.
Resize - Use the slider to specify a scaling factor in percent to resize an Image, Clip Art, or Text icon. This control is disabled for the background layer when you specify a Color asset type.
Click Next.
Optionally, change the resource directory: Select the resource source set where you want to add the image asset: src/main/res, src/debug/res, src/release/res, or a custom source set. The main source set applies to all build variants, including debug and release. The debug and release source sets override the main source set and apply to one version of a build. The debug source set is for debugging only. To define a new source set, select File > Project Structure > app > Build Types. For example, you can define a beta source set and create a version of an icon that includes the text "BETA" in the bottom right corner. For more information, see Configure Build Variants.
Click Finish. Image Asset Studio adds the images to the mipmap folders for the different densities.

You can create an image filled with color #fe6017 and use it for adaptive_icon_background as in example
flutter_icons:
android: "launcher_icon"
ios: false
image_path: "assets/icon/icon.png"
adaptive_icon_background: "assets/icon/icon-background.png"
adaptive_icon_foreground: "assets/icon/icon.png"

Related

How to change the shape of app icon in flutter?

I am making an app icon in flutter. And I have a problem. I want to make my app icon with square shape. But I am just getting the circle shape icon.
How can i change the shape of the icon?
You can't change the shape of app icon by coding.
So, what you can do is that:
Make a circular icon with it's background transparent
Save it and drag & drop that image file here
Generate the icon, it will download a zip file
Extract the android folder from that (other files are not necessary)
Copy all the contents ("mipmap-" folders) from the android folder (it's basically the different icon sizes)
Go to res folder in your project location -> F:\flutter\project_name\android\app\src\main\res
And replace all mipmap- folder with the new one which has your created logo
This may help you
I think it's set up automatically by Google through Adaptive Icons.
So your app Icon will automatically change based on your device theme, setting, etc.
You don't need to worry about that. All you need to do is provide a square app icon.
In your image, you can look at the YouTube icon. It's basically a square, but because it's adaptive (automatically as long as you set it up correctly), it could transform into several different shapes.
You can read more here, or here.
Yes you can do that. But you need to have sdk higher than 26.
https://www.youtube.com/watch?v=hpQenyqxTmw
After you generate your app icons from: https://appicon.co/, simply replace all folders contained in zip for android with the already existing folders in res directory .
Then go to app>src>main>res
Right-click on res and select new> image asset.
Adjust the icon to how you want it to appear.

typo3: how to change size of introduction package logo

I have changed the logo from the introduction package by uploading my logo in file admin and then set the constant page.logo.file = fileadmin/introduction/images/introduction-package.svg to refer my logo. This works fine. Question: how to change the size of the logo?
Please follow these steps:
switch to the Templatemodule in the left column
select the root page in the site tree
switch to the Constant editor above the main window
select Bootstrap package: Logo (7) from the Category select box
find the Height and Width fields and change the values by clicking on the pencil icon
save you changes
clear the cache
Now you have the new size in place.

How do I associate makis in a custom style with a poi-label in Mapbox Studio?

I am creating in Mapbox Studio a style from scratch. I have a poi-label layer that filters by data. I can see the filter works. I can place a text label at the location of the poi, all in Mapbox Studio.
For the life of it I cannot show an icon with the text. I have tried to paste a some_maki.svg from the Maki iconset in to the "Icon image" field. THe cursor indicates that pasting is a valid operation, the image is uploaded, but it does not show on the map. What gives?
The Maki icon set provides each icon in two SVG sizes: 11px by 11px and 15px by 15px. So, when you use the name of a particular Maki icon in the 'icon-image' layout property, you also need to append the icon's name with either -11 or -15.
For example, consider the 'icon-image' for the poi-label layer in the default Mapbox Street style when inspected in Mapbox Studio:
So, if you include & "-11" or & "-15" in your icon image formula, and the referenced icon is included in your style's sprite sheet, the icons should show up as expected. You can add and remove image's in your style's sprite with the image toolbar, as described in the documentation here.

Xcode 7 Asset Catalog's image sets weird status icons

what do these icons mean beside each image set in the asset catalog ?
I googled for these icons but to no avail ...
These are shown to immediately let you know that the icons are the type of AppIcon, LaunchImage and normal image (in the order you provided in the screenshot). This way, just via looking at the icons you can see which one is e.g. LaunchImage.

Change installer intro image

Is there any way to modify the image on the left-side of the first screen of an installer generated with Install4J?
So far the only branding I've been able to do is modify the "header" image displayed in the upper right-hand side corner.
The image I'm referring to is the following.
The Welcome screen (and other similar screens) have an "Image for banner" property where you can specify your own image.