centered account list

Former-commit-id: 88e5a0c9d8
This commit is contained in:
Roman Volosovskyi 2016-07-06 09:26:28 +03:00
parent 460d29c053
commit d9be5a77b3
2 changed files with 16 additions and 11 deletions

View File

@ -60,13 +60,13 @@
:custom-content toolbar-title
:action {:image {:style icon-search}
:handler #()}}]
[view st/account-list-container
[view st/accounts-container
[view st/account-list-view-container
[list-view {:dataSource (lw/to-datasource accounts)
:enableEmptySections true
:renderRow render-row
:renderSeparator render-separator
:style st/account-list}]]
;:renderSeparator render-separator
:style st/account-list}]]]
[view st/add-account-button-container
[touchable-highlight {:on-press create-account}
[view st/add-account-button

View File

@ -26,9 +26,14 @@
:left 0
:justifyContent :center})
(def account-list-container
(def accounts-container
{:flex 1
:flexDirection :column
:flex-direction :column
:justifyContent :center
:padding-bottom 56})
(def account-list-view-container
{:flexDirection :column
:justifyContent :center})
(def account-list