Add: floating window, layout inspector

This commit is contained in:
hyb1996
2017-03-12 23:10:58 +08:00
parent a211d208d0
commit e81b661974
164 changed files with 7045 additions and 1206 deletions

View File

@@ -0,0 +1,20 @@
package com.stardust.theme;
import com.stardust.scriptdroid.*;
import com.stardust.scriptdroid.R;
/**
* Created by Stardust on 2017/3/12.
*/
public class ThemeColorManagerCompat {
public static int getColorPrimary() {
int color = ThemeColorManager.getColorPrimary();
if (color == 0) {
return App.getApp().getResources().getColor(R.color.colorPrimary);
} else {
return color;
}
}
}