Questions tagged [tint]
223 questions
0
votes
2 answers
UISegmentedControl setTint for UISegments only works after clicking
Xcode, Obj-c, iOS 5.2 iOS 6.0
I have a UISegmentedControl which is being inserted into the bottom toolbar using something like this:
-(void) makeSegmentedControl {
self.SegControl = [[UISegmentedControl alloc]…

user1958756
- 377
- 1
- 4
- 17
0
votes
2 answers
Cocos2D. How to tint a sprite back?
Let's say i've applied the following tinting to my sprite:
CCTintTo *tint = [CCTintTo actionWithDuration:2 red:50 green:50 blue:50];
[self runAction:tint];
How do i tint it back? How to recover previous color and make the sprite look as it looked…

Andrey Chernukha
- 21,488
- 17
- 97
- 161
0
votes
3 answers
UINavigationBar tintColor does not always propagate to UIBarButtonItem objects
Greetings! I have set my **UINavigationBar'**s barStyle to UIBarStyleBlack, and the tintColor to a color (other than black so as to get the color/gradient going). That much works well.
Now ... let's say I push a new view controller onto the nav…

Joe D'Andrea
- 5,141
- 6
- 49
- 67
0
votes
2 answers
Change tint color of the toolbar
I want to change the tint of the buttons in the toolbar.
I've seen this question but I don't know how to access the toolbar object...

Todd Davies
- 5,484
- 8
- 47
- 71
0
votes
1 answer
Why can't I change UIBarButtonSystemItemPageCurl item tint?
I am using iOS 5.1 with StoryBoards. I want to change the tint of the standard page curl button, but I don't seem to be able too.
The button is on a View Controller and is a pushed View Controller of a Navigation Controller. The toolbar is inferred,…

Peter
- 288
- 3
- 8
0
votes
0 answers
Odd screen tinting when touching sections of web app on iPad
I have this odd behavior happening when a user touches any part of our web application. The interface consists of an iframe that has two nested iframes. When any part of the iframe is touched, the entire section tints or dims? The tint/dim goes away…

John Darling
- 99
- 1
- 4
0
votes
1 answer
Android view state_pressed Blue background
I have a lot of custom views and I have style for state_pressed. Basically its a rectangle with
solid android:color="#DC2D5A8C"
What I am trying to do is simulate the blue background color that comes with the standard views/controls. For example:…

lumpawire
- 468
- 1
- 7
- 16
-1
votes
1 answer
how to get ImageButton tint color and save it to sqlite in android studio? (Get tint value not set it)
Hi i have this ImageButton:

amir hossein kazemi
- 64
- 6
-1
votes
2 answers
Seekbar - tint color changing for all instances of view
I have a Seekbar:

cobolero
- 412
- 1
- 6
- 13
-1
votes
1 answer
Android tint on off with java
I made a custom imagebutton.
It is possible to set image src and selected tint color.
I want to toggle original image and set tint color image when button clicked.
I tried this.(this is not full source, just wrote…

Gs.
- 540
- 1
- 3
- 21
-1
votes
1 answer
Barbuttonitem tint color can't be changed on one viewcontroller
I have two view controllers accessed by tabbarcontrollers and one subview with show detail segue from both main view controllers. The first/intro view controller has blue (default) barbuttonitem text. When you go to the subview immediately from the…

Coltuxumab
- 615
- 5
- 16
-1
votes
2 answers
Doesn't Android Tint support API level 19?
Layout code for
Button:
Bitmap for drawable:
ic_setting:

Sujay
- 601
- 1
- 10
- 19
-2
votes
1 answer
Why DrawableCompat.setTint() method is not woking correct?
I have a question.
Why when i use
Drawable drawable = getResources().getDrawable(R.drawable.some_drawable);
drawable = DrawableCompat.wrap(drawable);
DrawableCompat.setTint(drawable.mutate(), getResources().getColor(R.color.white));
is not working,…

Cătălin Florescu
- 5,012
- 1
- 25
- 36