skinning

Android Custom PopupWindow/Dialog

心已入冬 提交于 2019-11-27 11:23:46
I'm trying to get a completely custom Dialog or PopupWindow, without any of the default Android UI controls (title, background, buttons, whatever). Is this possible at all? I've spent hours searching for this, but no luck... It seems like this should be easily possible, but I can't find it. Preferably this would be by inflating a View from XML, but at this point anything that would just work would be nice. Thanks. benvd Steps I took: Create a class extending Dialog . In the onCreate, call setContentView(x, y) with x being your R.layout and y being R.style.popupStyle (see below). In your res

How do I skin my Windows Forms application? [closed]

半世苍凉 提交于 2019-11-27 09:34:18
I want to change the look and feel of my application to be similar to Office 2007 . Are there any ready-made, easy, simple, solutions available? Reniuz You can use Free Krypton toolkit The toolkit comes with themes that match Office 2007, Office 2010 and many others. Disclaimer: This has now been discontinued by the publisher. Use at your own risk. We used Infragistics Net Advantage for theme and skinning.. They do support Office 2007 styles. For a great .NET component suite, use DevExpress , pricey but great 来源: https://stackoverflow.com/questions/6329632/how-do-i-skin-my-windows-forms

Avoiding Visual Studio designer errors when WPF resource is defined in separate project

百般思念 提交于 2019-11-27 01:35:08
问题 How can I avoid Visual Studio designer errors when a WPF resource is defined in separate project? I have three projects in a composite WPF application: the main application, an "infrastructure" library, and a "module" library. The main application references the other projects via their output DLLs (the projects are not located in a single solution together). I am defining a skin (some brushes and styles in a ResourceDictionary ) in the "infrastructure" library. I would like the main

How to disable VCL styles in Delphi

坚强是说给别人听的谎言 提交于 2019-11-26 20:53:34
问题 I am using the new VCL styles system in Delphi XE2. It works great, but I wish to disable it for a particular form that has a number of images on it (a splash/about form). Problem is I can't seem to find a property of the form that associates it with a particular style, and so can't disable it for that form only. There only seems to be the global TStyleManager class which appears to be static. With this in mind, is the only way to achieve this to call TStyleManager.TrySetStyle('Windows') ,

Skinning: Using a Color as StaticResource for another Color

筅森魡賤 提交于 2019-11-26 18:16:55
问题 I implemented skinning in my application. The application loads its Brushes.xaml resource dictionary which uses colors which reside in a skin-specific resource dictionary. So only one Color.xaml is loaded depending on the chosen skin. Skin-Specific Color.xaml <Color x:Key="TextBoxBackgroundColor">#C4AF8D</Color> <Color x:Key="TextBoxForegroundColor">#6B4E2C</Color> <Color x:Key="ToolBarButtonForegroundColor">#6B4E2C</Color> Brushes.xaml: <SolidColorBrush x:Key="TextBoxBackground" Color="

Android Custom PopupWindow/Dialog

随声附和 提交于 2019-11-26 18:00:23
问题 I'm trying to get a completely custom Dialog or PopupWindow, without any of the default Android UI controls (title, background, buttons, whatever). Is this possible at all? I've spent hours searching for this, but no luck... It seems like this should be easily possible, but I can't find it. Preferably this would be by inflating a View from XML, but at this point anything that would just work would be nice. Thanks. 回答1: Steps I took: Create a class extending Dialog. In the onCreate, call

Skinning Android app with Maven build profiles

主宰稳场 提交于 2019-11-26 16:56:04
问题 I've got mavenized Android application and customer wants support for the skinning at build time. For example: mvn clean install -P Developer, mvn clean install -P Customer1, mvn clean install -P Customer2 In other words, different customer needs little bit different set of images, different strings (appName, copyright, etc) and also, some of the elements in layouts should be hidden or shown (Developer profile), so different layouts too. My first thought was to have folders like res-customer1

How do I skin my Windows Forms application? [closed]

こ雲淡風輕ζ 提交于 2019-11-26 14:48:13
问题 I want to change the look and feel of my application to be similar to Office 2007. Are there any ready-made, easy, simple, solutions available? 回答1: You can use Free Krypton toolkit The toolkit comes with themes that match Office 2007, Office 2010 and many others. Disclaimer: This has now been discontinued by the publisher. Use at your own risk. 回答2: We used Infragistics Net Advantage for theme and skinning.. They do support Office 2007 styles. 回答3: For a great .NET component suite, use

How do I style a <select> dropdown with only CSS?

非 Y 不嫁゛ 提交于 2019-11-25 23:56:03
问题 Is there a CSS-only way to style a <select> dropdown? I need to style a <select> form as much as humanly possible, without any JavaScript. What are the properties I can use to do so in CSS? This code needs to be compatible with all major browsers: Internet Explorer 6, 7, and 8 Firefox Safari I know I can make it with JavaScript: Example. And I\'m not talking about simple styling. I want to know, what the best we can do with CSS only. I found similar questions on Stack Overflow. And this one