themes

Android theme not being set

∥☆過路亽.° 提交于 2019-12-17 18:48:45
问题 I have a theme that refuses to be applied to activities - none of the styles are applied. If I don't supply the layout_width / layout_height attributes for <Button> it also gets a runtime error, showing that the Button class isn't being applied. /res/values/themes.xml : <?xml version="1.0" encoding="utf-8"?> <resources> <style name="Theme" parent="android:style/Theme.Black"> <item name="android:windowNoTitle">true</item> <item name="android:buttonStyle">@style/Button</item> <item name=

How can I make the status bar white with black icons?

耗尽温柔 提交于 2019-12-17 17:47:09
问题 I want to change the colour of the status bar for my app so that it's white with black icons (instead of the default black with white icons). Is there any way of doing this? 回答1: With Android M (api level 23) you can achieve this from theme with android:windowLightStatusBar attribute. Edit : Just as Pdroid mentioned, this can also be achieved programatically: getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); 回答2: It is possible to make the white status

MySQL Workbench Dark Theme

放肆的年华 提交于 2019-12-17 17:24:14
问题 I am new here on Stackoverflow and have full of excitement bringing up my first question. My first question is all about changing the color appearance of MySQL Workbench from the default of white background to its negative value of black. I was planning to pair the theme with my Dark Theme Eclipse Juno. Adjusting my eye contrast to the quick change of color could damage my eyesight. Furthermore about this question, I am open for suggestion if such change is possible or not. Thanks. 回答1: It's

MySQL Workbench Dark Theme

好久不见. 提交于 2019-12-17 17:22:03
问题 I am new here on Stackoverflow and have full of excitement bringing up my first question. My first question is all about changing the color appearance of MySQL Workbench from the default of white background to its negative value of black. I was planning to pair the theme with my Dark Theme Eclipse Juno. Adjusting my eye contrast to the quick change of color could damage my eyesight. Furthermore about this question, I am open for suggestion if such change is possible or not. Thanks. 回答1: It's

Android changing colors with themes

喜欢而已 提交于 2019-12-17 16:41:49
问题 I am trying to provide user settable colors in my app. White text on black background and black text on white background. I have multiple layouts with many listviews, both standard and custom adapters. People have suggested using Themes, but I have had no luck changing the text colors across all layouts. Can anyone show me an actual Theme layout that can accomplish this? I can easily change the background colors using myscreen.setBackGroundColor(xx), but when I try to change the text with a

VAADIN cannot find themes when in productionMode

半腔热情 提交于 2019-12-17 16:30:51
问题 I have custom theme for my VAADIN application in src/main/webapp/VAADIN/themes/mytheme/ with files mytheme.scss and styles.scss. Everything works fine when the vaadin productionMode deployment parameter is set to false in web.xml. When I set the parameter to true, suddenly Vaadin cannot find the resources for my theme and keeps complaining with: Requested resource [/VAADIN/themes/mytheme/styles.css] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your

VAADIN cannot find themes when in productionMode

醉酒当歌 提交于 2019-12-17 16:28:53
问题 I have custom theme for my VAADIN application in src/main/webapp/VAADIN/themes/mytheme/ with files mytheme.scss and styles.scss. Everything works fine when the vaadin productionMode deployment parameter is set to false in web.xml. When I set the parameter to true, suddenly Vaadin cannot find the resources for my theme and keeps complaining with: Requested resource [/VAADIN/themes/mytheme/styles.css] not found from filesystem or through class loader. Add widgetset and/or theme JAR to your

Android: Cannot style spinner divider

蓝咒 提交于 2019-12-17 16:10:22
问题 I'm trying to create a theme for my first Android app, and it is driving me round the bend. I finally managed to figure out how to style items in a dropdown list, but now I can't change the colour of the divider between list items. I have searched similar questions on stackoverflow, and tried dozens of combinations, but nothing seems to work. Here is my styles.xml file (abbreviated for clarity): <?xml version="1.0" encoding="utf-8"?> <resources> <style name="MyTheme" parent="android:Theme

How can I change Eclipse theme?

被刻印的时光 ゝ 提交于 2019-12-17 15:05:15
问题 I want to change Eclipse theme like this Eclipse Dark Theme: I try to do all step in this page but eclipse theme not changed (but eclipse editor changed). I want to change all part of eclipse IDE change to black color, not only eclipse's editor. 回答1: Take a look at rogerdudler/eclipse-ui-themes . In the readme there is a link to a file that you need to extract into your eclipse/dropins folder. When you have done that go to Window -> Preferences -> General -> Appearance And change the theme

How can I change Eclipse theme?

。_饼干妹妹 提交于 2019-12-17 15:04:14
问题 I want to change Eclipse theme like this Eclipse Dark Theme: I try to do all step in this page but eclipse theme not changed (but eclipse editor changed). I want to change all part of eclipse IDE change to black color, not only eclipse's editor. 回答1: Take a look at rogerdudler/eclipse-ui-themes . In the readme there is a link to a file that you need to extract into your eclipse/dropins folder. When you have done that go to Window -> Preferences -> General -> Appearance And change the theme