From 16126137e36566d08a7a004c692d25e818b5dda9 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Tue, 24 Nov 2015 19:23:29 +0100 Subject: [PATCH] androink.py: add support for xxhdpi and xxxhdpi resources --- ic_launcher_template/androink.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ic_launcher_template/androink.py b/ic_launcher_template/androink.py index 558293c..9473f35 100755 --- a/ic_launcher_template/androink.py +++ b/ic_launcher_template/androink.py @@ -52,6 +52,8 @@ densities_baseline_mdpi = [ ('drawable-mdpi', BASELINE_DPI * 1.0), # 4/4 ('drawable-hdpi', BASELINE_DPI * 1.5), # 6/4 ('drawable-xhdpi', BASELINE_DPI * 2.0), # 8/4 + ('drawable-xxhdpi', BASELINE_DPI * 3.0), # 12/4 + ('drawable-xxxhdpi', BASELINE_DPI * 4.0), # 16/4 ] # for baseline hdpi consider 6 as the base ratio @@ -60,6 +62,8 @@ densities_baseline_hdpi = [ ('drawable-mdpi', BASELINE_DPI * 0.666666667), # 4/6 ('drawable-hdpi', BASELINE_DPI * 1.0), # 6/6 ('drawable-xhdpi', BASELINE_DPI * 1.333333333), # 8/6 + ('drawable-xxhdpi', BASELINE_DPI * 2.0), # 12/6 + ('drawable-xxxhdpi', BASELINE_DPI * 2.666666667), # 16/6 ] -- 2.1.4