mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 19:52:15 -05:00
Merge branch 'development' of github.com:siacs/Conversations into development
This commit is contained in:
commit
89cc4d1247
@ -1,6 +1,16 @@
|
|||||||
#!/bin/env ruby
|
#!/bin/env ruby
|
||||||
resolutions={'mdpi'=> 1, 'hdpi' => 1.5, 'xhdpi' => 2, 'xxhdpi' => 3}
|
resolutions={
|
||||||
images = { 'conversations.svg' => ['ic_launcher', 48], 'conversations_baloon.svg' => ['ic_activity', 32], 'conversations_mono.svg' => ['ic_notification', 24], 'ic_received_indicator.svg' => ['ic_received_indicator', 12] }
|
'mdpi'=> 1,
|
||||||
|
'hdpi' => 1.5,
|
||||||
|
'xhdpi' => 2,
|
||||||
|
'xxhdpi' => 3,
|
||||||
|
}
|
||||||
|
images = {
|
||||||
|
'conversations.svg' => ['ic_launcher', 48],
|
||||||
|
'conversations_baloon.svg' => ['ic_activity', 32],
|
||||||
|
'conversations_mono.svg' => ['ic_notification', 24],
|
||||||
|
'ic_received_indicator.svg' => ['ic_received_indicator', 12],
|
||||||
|
}
|
||||||
images.each do |source, result|
|
images.each do |source, result|
|
||||||
resolutions.each do |name, factor|
|
resolutions.each do |name, factor|
|
||||||
size = factor * result[1]
|
size = factor * result[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user