From: Antonio Ospite <ao2@ao2.it>
Date: Tue, 24 Nov 2015 18:23:29 +0000 (+0100)
Subject: androink.py: add support for xxhdpi and xxxhdpi resources
X-Git-Url: https://git.ao2.it/android/android-app-development-getting-started.git/commitdiff_plain/16126137e36566d08a7a004c692d25e818b5dda9

androink.py: add support for xxhdpi and xxxhdpi resources
---

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
 ]