My error says "can not extract resource from com.android.aaptcompiler.ParsedResource#44d33581."
Im a begginer to coding trying to expand on my books assignment of changing color of text and background with a button to changing theme. If I wanted to change the theme color with an hexidecimal input how would I go about doing that?
I tryd coding 3 variables for textinput of R,G,B
Like this var redInput = findViewById(R.id.RedTextInput).set.tostring() and then made a value for Theme = ("#".plus(redInput).plus(greenInput).plus(blueInput))
findViewBtId(R.id.button3);(Colorint)
Then went to the color resource folder And made one <color name = "Colorint" color int
And then finally put Colorint in the themes folder as a color value as #Color/Colorint
Related
I'm playing around with the Color Theme Designer for Visual Studio 2022 to create a custom color scheme.
I have come to a syntax highlighting I like so far. But then I noticed that the background of some selected text remains at the normal background color (here: 0x282828) over keywords like new etc. See the screenshot below.
For that selection background I set up the All elements category in Color theme designer like:
Text Editor Text Manager Items
...
Plain Text 07282828
Plain Text FFEBDBB2
Selected Text FF076678
...
The property Selected text occurs here twice; once it probably concerns the background color, the second time the foreground color.
But on the screenshot it is visible that the background color only is applied to the empty glyphs, spaces etc.
Which setting in the Color Theme Designer must be changed to get the selection background color applied to the whole selection?
Hello I have a question regarding the color attr in the snackbar when I try to set the custom color
and apply the snackbar my entire page turns into blank color (same as the color I choose) except the snackbar itself
any suggestion as to why this accrues?
https://prnt.sc/_xwKs2cOO3g6
but if you type
color="success" it is working fine
writing color="#colorcode" makes this error
I'm quite new to Vuetify and struggling to figure out how themes, components and text colors work together (if they do at all).
I want to work with theme color names in my templates like primary, secondary, warning, error and assign colors to those keywords by adding a new theme or overwriting the existing one.
This all works out of the box but the problem is I can't figure out how to set text colors in the same way. I want to assign a primary-text-color, secondary-text-color, etc. and have it automatically use the correct text color by default.
Text colors seem to change automatically when I change the color on buttons but nowhere else.
If I add a theme color to buttons, Vuetify automatically changes the text color to be readable, for example (just using the default theme):
<v-btn color='primary'>Test</v-btn>
Text will change to primary and the button will be perfectly usable
while a lighter color will have dark text:
<v-btn>Test</v-btn>
But other components don't behave the same. For example a v-app-bar component with default color has dark text on a light background, but a primary app bar keeps the dark text on a blue background.
It looks like I need to explicitly change the text color with a helper class or similar, and even then I'd have to use something like white--text instead of primary--text (which just applies the actual primary color to text).
I think I've read all the docs on the website but I can't find any reference to this particular problem
Sorry for the links to images, I don't have enough flair to embed them in my post.
currently, this works primary--text
<v-list-item-title v-if="company_name" class="title primary--text">
{{ company_name.company_name }}
</v-list-item-title>
This question may be a bit too simplistic for this community but I'm stumped. When preparing a lecture I prefer to have a black background with white text on a square slide.
I know how to create a theme to get the slide design quickly.
I know how to change font text color.
But...
1) How do I assign a theme to default (instead of having to load it manually each time)?
2) How do I change the default text color?
Ideally, I'd like to have powerpoint open with my custom theme and having white text as the default color so I don't need to change these settings manually.
much thanks!
Point Google here to get a more detailed set of instrux,
https://www.google.com/search?q=default+theme+powerpoint+2016&ie=utf-8&oe=utf-8
But basically you rightclick the theme you want to set as default in the Themes gallery, then choose Set as Default.
When creating your theme, add a text box, format it to the font style you want, then right click and choose Set as Default Text Box. This will set the font style for any newly added text. Also make sure that the font theme included in your theme specifies the fonts you want for title and body text. To do this, go to View | Slide Master. On the Slide Master tab, you can use the Fonts button in the Background group to choose or modify the font theme.
I want to change item color in tabBar, not text the items not selected etc Longtime aim searching about it, I didn't find. I just found this code, it does not change item or image color, just text.
The default color is grey, I want to change it.
This is the code I found:
UITabBar.appearance().barTintColor = UIColor(redRGB: 93, greenRGB: 175, blueRGB: 228)
UITabBar.appearance().tintColor = UIColor .redColor()
UITabBarItem.appearance().setTitleTextAttributes([NSForegroundColorAttributeName: UIColor.whiteColor()], forState:.Normal)
Try google for searching. No seriously try it.
For your problem. What is gray? UITabbaritems are standard grayed out in storyboard.
You can use
var image : UIImage? = UIImage(named:"myImage.png").imageWithRenderingMode(.AlwaysOriginal)
The option Always original keeps the image as it is and it will not be grayed out.
For problems with that => Rendering always original problems