GWANHUI KIM
GWANHUI KIM

Reputation: 443

Is there a way to show more darker when you press button using TouchableOpacity?

I want the button to look more darker when pressed.

I thought I could assign more than 1 to activeOpacity. but it's not working.

Do you have any other way to do like this?

Thanks!

Upvotes: 0

Views: 731

Answers (1)

kenmistry
kenmistry

Reputation: 2143

There is the TouchableHighlight that darkens when touched, the opposite of TouchableOpacity. Take a look here.

Upvotes: 1

Related Questions