Skip to content

Commit

Permalink
polish android UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Parveshdhull committed Jun 24, 2022
1 parent 8667720 commit e731dca
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 10 deletions.
Binary file added resources/images/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/images/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/images/icons/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/status_im/switcher/bottom_tabs.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@

(defn bottom-tabs []
[rn/animated-view {:style (styles/bottom-tabs)}
[bottom-tab :main-icons/redesign-communities :communities-stack]
[bottom-tab :main-icons/redesign-messages :chats-stack]
[bottom-tab :main-icons/communities :communities-stack]
[rn/view {:width 10}]
[rn/view {:width 50}]
[bottom-tab :main-icons/redesign-wallet :wallet-stack]
[bottom-tab :main-icons/browser :browser-stack]])
[bottom-tab :main-icons/redesign-browser :browser-stack]])
2 changes: 1 addition & 1 deletion src/status_im/switcher/constants.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

(def switcher-bottom-positions
{:android
{:home-stack 17
{:home-stack 15
:chat 57}
:ios
{:home-stack 35
Expand Down
14 changes: 8 additions & 6 deletions src/status_im/switcher/styles.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
:bottom-tabs-selected-tab colors/white
:switcher-close-button-bg-color colors/white}
:dark {:bottom-tabs-bg-color colors/neutral-80
:bottom-tabs-on-scroll-bg-color colors/neutral-80-opa-60
:bottom-tabs-non-selected-tab colors/neutral-40
:bottom-tabs-on-scroll-bg-color colors/neutral-80-opa-80
:bottom-tabs-non-selected-tab colors/neutral-50
:bottom-tabs-selected-tab colors/white
:switcher-close-button-bg-color colors/white}})

Expand All @@ -20,21 +20,23 @@

;; Bottom Tabs
(defn bottom-tab-icon [tab-state]
{:width 20
:height 20
{:width 24
:height 24
:color (get-color tab-state)})

(defn bottom-tabs []
{:background-color (get-color :bottom-tabs-bg-color)
:flex-direction :row
:flex 1
:align-items :center
:justify-content :space-around
:justify-content :space-between
:height (constants/bottom-tabs-height)
:position :absolute
:bottom -1
:right 0
:left 0})
:left 0
:padding-left 19
:padding-right 19})

;; Switcher

Expand Down

0 comments on commit e731dca

Please sign in to comment.