how to align elements horizontally in flatlist react native?
问题 I would like to achieve this: https://imgur.com/a/9aI1HJk My Result: https://imgur.com/a/qATfSk1 I'm new I don't know very well how to achieve that alignment, any help is appreciated :) My code: <View style={styles.calendar}> <View style={styles.calendar_week}> <FlatList data={daysWeek} keyExtractor={(item) => item.id} numColumns={7} renderItem={({item}) => ( <Text style={styles.dayWeek}>{item.day}</Text> )} /> </View> <View style={styles.calendar_week}> <FlatList data={days} style={styles