- Print
- DarkLight
Blade 2 OS Application Icon Tinting
Android applications have launcher icons. Standard launcher icons are compatible with the Vuzix Blade 2. However to provide a more consistency launcher, icons can be automatically tinted to match the display mode of the smart glasses.
The tinting feature will perform two functions when you register for it.
It will TINT the Main Home Screen Icon.
It will TINT the smaller launcher rail icon. It will also apply the tint dynamically base on focus state. In focus state will be tinted green. Out of focus state will be tinted white.
Below is an example of a standard launcher app icon for Vuzix Basics™ Video.
Standard Launcher App Icon
The image below shows a tinted Camera app launcher icon. Notice the icon is simple and easily identifiable on the home screen.
Also notice that with the tint feature enabled, the larger icon is white while the smaller icon on the launcher rail is green.
A Blade 2 application can be configured to tint launcher icons automatically.
To enable auto-tinting of launcher icons on the main rail and in Settings > Device > Apps list , modify the main activity in the AndroidManifest.xml file. We only need to add two simple hooks to the Application Manifest to signal this change.
To add the hook:
Open the AndroidManifest.xml (/manifest/).
Find the top level application element and add the child meta-data element below.
Find the MainActivity activity element, activity with the "android.intent.action.MAIN" intent and add a child meta-data element below.
<meta-data android:name="com.vuzix.icon.tint" android:value="true" />
Now we have an Application Theme that is easier to view and is more consistent.
Note:
Application Icon tint will only work properly if the app icon has layers that cannot be drawn on. If the Drawable/mipmap/icon is fully drawable (no layer) the tint application might not work as desired.
This is not required. This is a benefit that developers can use if desired.