react-native-ratings icon indicating copy to clipboard operation
react-native-ratings copied to clipboard

Background Line between Rating Stars on Android

Open iRoachie opened this issue 5 years ago • 5 comments

Ref https://github.com/react-native-elements/react-native-elements/issues/1307

iRoachie avatar Jul 25 '18 04:07 iRoachie

Is there any current active workaround on this? I saw someone say that resizing the image could work, however, I don't appear to have any luck (or maybe I am resizing the wrong thing).

reidkersey avatar Jul 11 '19 22:07 reidkersey

Also having the same issue and I need a quick fix or workaround for this. Resizing only works for certain devices only and still appears in other devices with different screen resolutions.

stania0510 avatar Mar 18 '20 10:03 stania0510

This is because of images used. Also, when wrapped inside <TouchableOpacity /> this shows grey background for brief moment.

I created a small library which support fractions and use Ionicons icons instead of - feel free to use it https://www.npmjs.com/package/react-native-rating-element

ui-ninja avatar Jul 05 '20 10:07 ui-ninja

Having the same issue here, workaround like resize the icon is not desired as I use adjusted function to adjust size based on the screen resolution on each device.

mayanafit avatar Jun 08 '22 03:06 mayanafit

The fix i eventually resort to was

<View style={{ borderLeftWidth: 1, borderLeftColor: 'white', }}> <Image source={source} style={{width: imageSize - 1, height: imageSize + 1, tintColor}} /> </View>

Used borderColor of white because my app background is white

suulola avatar Jul 24 '22 13:07 suulola