Merge pull request #37 from status-im/icons_resolution

Fix Icons resolution #25
This commit is contained in:
Jarrad 2016-04-26 12:51:19 +07:00
commit c45ffd49d6
89 changed files with 47 additions and 48 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 509 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 430 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 650 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 354 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 147 B

After

Width:  |  Height:  |  Size: 147 B

View File

Before

Width:  |  Height:  |  Size: 267 B

After

Width:  |  Height:  |  Size: 267 B

View File

Before

Width:  |  Height:  |  Size: 225 B

After

Width:  |  Height:  |  Size: 225 B

View File

Before

Width:  |  Height:  |  Size: 314 B

After

Width:  |  Height:  |  Size: 314 B

View File

Before

Width:  |  Height:  |  Size: 293 B

After

Width:  |  Height:  |  Size: 293 B

View File

Before

Width:  |  Height:  |  Size: 126 B

After

Width:  |  Height:  |  Size: 126 B

View File

Before

Width:  |  Height:  |  Size: 122 B

After

Width:  |  Height:  |  Size: 122 B

View File

Before

Width:  |  Height:  |  Size: 262 B

After

Width:  |  Height:  |  Size: 262 B

View File

Before

Width:  |  Height:  |  Size: 209 B

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 B

View File

Before

Width:  |  Height:  |  Size: 302 B

After

Width:  |  Height:  |  Size: 302 B

View File

Before

Width:  |  Height:  |  Size: 234 B

After

Width:  |  Height:  |  Size: 234 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 B

View File

Before

Width:  |  Height:  |  Size: 460 B

After

Width:  |  Height:  |  Size: 460 B

View File

Before

Width:  |  Height:  |  Size: 252 B

After

Width:  |  Height:  |  Size: 252 B

View File

Before

Width:  |  Height:  |  Size: 704 B

After

Width:  |  Height:  |  Size: 704 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 621 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 600 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 530 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 989 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 520 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 926 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 886 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 766 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 536 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 788 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 470 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 470 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 676 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 362 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 763 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 739 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 452 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 487 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 783 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 567 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 567 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 970 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -116,8 +116,10 @@
"Chat name")]
(if group?
[view {:style {:flexDirection "row"}}
[image {:source res/icon-group
:style {:marginTop 4}}]
[image {:source {:uri "icon_group"}
:style {:marginTop 4
:width 14
:height 9}}]
[text {:style {:marginTop -0.5
:marginLeft 4
:fontFamily font
@ -168,7 +170,7 @@
:backgroundColor chat-background}}
(when android?
;; TODO add IOS version
[toolbar-android {:navIcon res/icon-back
[toolbar-android {:navIcon {:uri "icon_back"}
:style {:backgroundColor color-white
:height 56
:elevation 2}

View File

@ -156,7 +156,9 @@
[image {:source (:icon command)
:style {:position "absolute"
:top 4
:right 0}}]
:right 0
:width 12
:height 13}}]
[text {:style {:marginTop 5
:marginHorizontal 0
:fontSize 14
@ -200,7 +202,9 @@
[image {:source (:request-icon command)
:style {:position "absolute"
:top 9
:left 10}}]]
:left 10
:width 12
:height 13}}]]
[text {:style {:marginTop 2
:fontFamily font
:fontSize 12
@ -248,11 +252,13 @@
:marginTop 2
:marginBottom 8}}
[image {:source (case delivery-status
:delivered res/icon-ok-small
:seen res/icon-ok-small
:seen-by-everyone res/icon-ok-small
:failed res/delivery-failed-icon)
:style {:marginTop 6}}]
:delivered {:uri "icon_ok_small"}
:seen {:uri "icon_ok_small"}
:seen-by-everyone {:uri "icon_ok_small"}
:failed res/delivery-failed-icon)
:style {:marginTop 6
:width 9
:height 7}}]
[text {:style {:fontFamily font
:fontSize 12
:color text2-color

View File

@ -76,7 +76,7 @@
:height 36
:borderRadius 50
:backgroundColor color-blue}}
[image {:source res/icon-send
[image {:source {:uri "icon_send"}
:style {:marginTop 10.5
:marginLeft 12
:width 15

View File

@ -40,7 +40,7 @@
[view {:style {:flexDirection "row"
:height 56
:backgroundColor color-white}}
[image {:source res/icon-list
[image {:source {:uri "icon_list"}
:style {:marginTop 22
:marginRight 6
:marginBottom 6
@ -62,7 +62,7 @@
:onSubmitEditing (fn [e]
(send @chat input-message))}
input-message]
[image {:source res/icon-smile
[image {:source {:uri "icon_smile"}
:style {:marginTop 18
:marginRight 18
:width 20
@ -78,7 +78,7 @@
:height 36
:borderRadius 50
:backgroundColor color-blue}}
[image {:source res/icon-send
[image {:source {:uri "icon_send"}
:style {:marginTop 10.5
:marginLeft 12
:width 15

View File

@ -71,9 +71,11 @@
:fontFamily title-font}} name]
;;; group size
(when group-chat
[image {:source res/icon-group
:style {:marginTop 4
:marginLeft 8}}])
[image {:source {:uri "icon_group"}
:style {:marginTop 4
:marginLeft 8
:width 14
:height 9}}])
(when group-chat
[text {:style {:marginTop -0.5
:marginLeft 4
@ -100,9 +102,11 @@
:right 0}}
(when delivery-status
[image {:source (if (= (keyword delivery-status) :seen)
res/icon-ok-small
res/icon-ok-small)
:style {:marginTop 6}}])
{:uri "icon_ok_small"}
{:uri "icon_ok_small"})
:style {:marginTop 6
:width 9
:height 7}}])
;;; datetime
[text {:style {:fontFamily font
:fontSize 12

View File

@ -35,15 +35,15 @@
:backgroundColor "white"}}
(when android?
;; TODO add IOS version
[toolbar-android {:navIcon res/icon-hamburger
[toolbar-android {:navIcon {:uri "icon_hamburger"}
:style {:backgroundColor color-white
:height 56
:elevation 2}
:onIconClicked (fn []
(nav-pop navigator))
:actions [{:title "Search"
:icon res/icon-search
:show "always"}]}
:icon {:uri "icon_search"}
:show "always"}]}
[view {:style {:flex 1
:alignItems "center"
:justifyContent "center"

View File

@ -29,7 +29,7 @@
:backgroundColor color-white}}
(when android?
;; TODO add IOS version
[toolbar-android {:navIcon res/icon-back
[toolbar-android {:navIcon {:uri "icon_back"}
:style {:backgroundColor color-white
:height 56
:elevation 2}
@ -85,9 +85,11 @@
:underlay-color :transparent}
[view {:style {:flexDirection "row"
:marginBottom 16}}
[image {:style {:marginVertical 19
:marginHorizontal 3}
:source res/icon-add-gray}]
[image {:source {:uri "icon_add_gray"}
:style {:marginVertical 19
:marginHorizontal 3
:width 17
:height 17}}]
[text {:style {:marginTop 18
:marginLeft 32
:color text2-color

View File

@ -17,8 +17,8 @@
:text "!money"
:description "Send money"
:color color-dark-mint
:request-icon res/icon-lock-white
:icon res/icon-lock-gray
:request-icon {:uri "icon_lock_white"}
:icon {:uri "icon_lock_gray"}
:suggestion true}
{:command :location
:text "!location"
@ -35,8 +35,8 @@
:description "Send confirmation code"
:request-text "Confirmation code request"
:color color-blue
:request-icon res/icon-lock-white
:icon res/icon-lock-gray
:request-icon {:uri "icon_lock_white"}
:icon {:uri "icon_lock_gray"}
:suggestion true}
{:command :send
:text "!send"
@ -52,8 +52,8 @@
:text "!keypairPassword"
:description ""
:color color-blue
:request-icon res/icon-lock-white
:icon res/icon-lock-gray
:request-icon {:uri "icon_lock_white"}
:icon {:uri "icon_lock_gray"}
:suggestion false}
{:command :help
:text "!help"

View File

@ -17,19 +17,4 @@
(def trash-icon (js/require "./images/trash.png"))
(def leave-icon (js/require "./images/leave.png"))
(def icon-back (js/require "./images/icon_back.png"))
(def icon-dollar (js/require "./images/icon_dollar.png"))
(def icon-list (js/require "./images/icon_list.png"))
(def icon-lock-gray (js/require "./images/icon_lock_gray.png"))
(def icon-lock-white (js/require "./images/icon_lock_white.png"))
(def icon-ok-small (js/require "./images/icon_ok_small.png"))
(def icon-smile (js/require "./images/icon_smile.png"))
(def icon-add (js/require "./images/icon_add.png"))
(def icon-add-gray (js/require "./images/icon_add_gray.png"))
(def icon-group (js/require "./images/icon_group.png"))
(def icon-hamburger (js/require "./images/icon_hamburger.png"))
(def icon-search (js/require "./images/icon_search.png"))
(def icon-send (js/require "./images/icon_send.png"))
(def icon-close-gray (js/require "./images/icon_close_gray.png"))
(def icon-ok (js/require "./images/icon_ok.png"))