From 76d79733c3a18450d0c8b5e8d0f5278230a8d2c9 Mon Sep 17 00:00:00 2001 From: Nikolai R Kristiansen Date: Sun, 5 May 2019 19:24:53 +0200 Subject: [PATCH] Style navbar --- src/navigation.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/navigation.js b/src/navigation.js index 7184d39..c0d6358 100644 --- a/src/navigation.js +++ b/src/navigation.js @@ -27,7 +27,7 @@ const tabBarOptions = { android: { backgroundColor: '#fff', borderTopWidth: StyleSheet.hairlineWidth, - borderTopColor: 'rgba(0, 0, 0, 0.1)', + borderTopColor: 'rgba(0, 0, 0, 0.2)', }, }), }, @@ -36,13 +36,14 @@ const tabBarOptions = { }, activeTintColor: '#f58220', inactiveTintColor: '#333333', - showIcon: true, labelStyle: { - fontSize: 10, - marginBottom: 0, + fontSize: 12, ...Platform.select({ android: { - fontWeight: 'bold', + marginBottom: 4, + }, + ios: { + marginBottom: 0, }, }), },