Center align text on Android

Summary: Center align text on Android

Reviewed By: fkgozali

Differential Revision: D3295222

fbshipit-source-id: c707d1102c8aa86aa04dc9b34a4746b1ff1543bc
This commit is contained in:
Fred Liu 2016-05-12 16:07:53 -07:00 committed by Facebook Github Bot 6
parent 90663bcb12
commit 3f1cd5aa4e
1 changed files with 1 additions and 0 deletions

View File

@ -84,6 +84,7 @@ const styles = StyleSheet.create({
text: {
color: '#ffffff',
fontSize: 12,
textAlign: 'center', // For Android to align properly
},
});