(Context context)
| 2274 | } |
| 2275 | |
| 2276 | static boolean isDarkTheme(Context context) { |
| 2277 | // R.attr.isLightTheme |
| 2278 | TypedValue tv = new TypedValue(); |
| 2279 | context.getTheme().resolveAttribute(R.attr.themeName, tv, true); |
| 2280 | return (tv.string != null && !"light".contentEquals(tv.string)); |
| 2281 | } |
| 2282 | |
| 2283 | static void showKeyboard(final View view) { |
| 2284 | view.post(new RunnableEx("showKeyboard") { |
no test coverage detected