Fixed dockbar color?, fixed double vt icons

This commit is contained in:
gdlbo
2022-07-07 20:37:49 +03:00
parent 78902110eb
commit 08d7851de3
2 changed files with 3 additions and 2 deletions
@@ -64,16 +64,18 @@ public class DockBarInjector{
for(DockBarTab tab : sManager.getSelectedTabs()) {
MenuItem add = menu.add(0, tab.id, 0, tab.titleID);
Drawable drawable = getResources().getDrawable(tab.iconID);
ColorStateList dockcolors = new ColorStateList(
new int[][]{
new int[]{android.R.attr.state_checked},
new int[]{-android.R.attr.state_checked}
},
new int[]{
getAccentColor(),
Color.parseColor("#ff528bcc"),
Color.parseColor("#ffaaaeb3")
}
);
add.setIcon(new RecoloredDrawable(drawable, dockcolors));
add.setShowAsAction(1);
add.setCheckable(true);
-1
View File
@@ -196,7 +196,6 @@
android:theme="@style/SplashTheme"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
</intent-filter>