From e4b3ec8da8f0de37070e498d702915be084a01fa Mon Sep 17 00:00:00 2001 From: prameetc Date: Mon, 20 Aug 2018 11:26:35 +0530 Subject: [PATCH 1/9] [ui] Settings Screen: Design changes to List and Button --- src/components/common/SettingsListItem.js | 2 +- src/global/Styles.js | 20 ++++++++++++++++++++ src/screens/Settings/SettingsList/index.js | 15 +++++++++------ 3 files changed, 30 insertions(+), 7 deletions(-) diff --git a/src/components/common/SettingsListItem.js b/src/components/common/SettingsListItem.js index 4e08d90d3..dd92659bc 100644 --- a/src/components/common/SettingsListItem.js +++ b/src/components/common/SettingsListItem.js @@ -58,7 +58,7 @@ const SettingsListItem = ({ }); return ( - + onPress(id)} diff --git a/src/global/Styles.js b/src/global/Styles.js index 2ddee09d5..30140bdbc 100644 --- a/src/global/Styles.js +++ b/src/global/Styles.js @@ -689,6 +689,26 @@ const styles = { segmentedControlContainerBackground: { backgroundColor: 'transparent', }, + + settingsList: { + height: 50, + borderBottomWidth: 1.6, + borderColor: Colors.borderColor, + }, + + switchAccountText: + { + color: 'white', + fontSize: 15, + fontWeight: '900', + }, + switchAccountButton: { + height: 54, + backgroundColor: '#FF8B00', + alignSelf: 'stretch', + borderRadius: 0, + }, + tabsContainerStyle: { backgroundColor: 'transparent', }, diff --git a/src/screens/Settings/SettingsList/index.js b/src/screens/Settings/SettingsList/index.js index 72c4216cc..2645536b3 100644 --- a/src/screens/Settings/SettingsList/index.js +++ b/src/screens/Settings/SettingsList/index.js @@ -108,12 +108,15 @@ class SettingsListScreen extends NavigatorComponent { data={items} style={styles.sectionList} /> - -