Top "Styles" questions

DO NOT USE THIS TAG.

Applying style to views dynamically in java code

I have following custom button view. public class PrayerTimeLabel extends Button { int hours; int minutes; String dayHalf; //am or pm …

android styles custom-component
Which C# XML documentation comment tag is used for 'true', 'false' and 'null'?

Which C# XML documentation comment tag is used for the literals true, false and null? In Microsoft's own documentation, these …

c# styles literals xml-documentation
WPF - MultiTrigger in ControlTemplate, strange behaviour

Okay, I've not done much WPF lately and this is confusing me. I have a Style defined for RadioButton, which …

wpf triggers styles controltemplate multitrigger
WPF TextBlock Negative Number In Red

I am trying to figure out the best way to create a style/trigger to set foreground to Red, when …

wpf triggers styles textblock datatrigger
Remove action bar shadow programmatically

How can i remove the drop shadow of action bar from java code ?. If i remove from the style it …

android styles android-actionbar android-theme dropshadow
Change popup menu style - not working

I'm trying to apply style to Android popup menu. Menu is shown on button click. In my example I want …

android background styles popupmenu
How to reference WPF style keys defined in a separate assembly in another library

I have two libraries and a single application assembly project layout and I'm wondering how can I reference styles by …

wpf assemblies styles resourcedictionary mergeddictionaries
UserControl Custom Properties for Triggers

I am writing a custom user control, called MyUserControl. I have many DependecyProperties for it, which I use in the …

wpf triggers dependencies styles custom-properties
How Do I Change The Text Foreground of a WPF TabItem With Nested Text?

I'm looking to have the foreground of the text of a TabItem change whenever the tab becomes active. I was …

wpf styles tabitem
When using Theme.MaterialComponents.Light.NoActionBar style, setting Button Background has no effect

In order to use Chip and ChipGroup, I set Application style extends Theme.MaterialComponents.Light.NoActionBar int manifests.xml, then …

android styles themes