Fix #25 Low resolution icons

This commit is contained in:
virvar 2016-04-25 20:31:10 +03:00
parent 6c40a2dac4
commit 81751b294b
88 changed files with 47 additions and 33 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 460 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 B

Binary file not shown.

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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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