From e2d93be243c554d91c1f710b33b94c7672742278 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Tue, 24 Nov 2015 19:27:13 +0100 Subject: [PATCH 1/1] androink.py: align comments about density ratios --- ic_launcher_template/androink.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ic_launcher_template/androink.py b/ic_launcher_template/androink.py index 9473f35..1932e9a 100755 --- a/ic_launcher_template/androink.py +++ b/ic_launcher_template/androink.py @@ -48,21 +48,21 @@ BASELINE_DPI = 90 # for baseline mdpi consider 4 as the base ratio densities_baseline_mdpi = [ - ('drawable-ldpi', BASELINE_DPI * 0.75), # 3/4 - ('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-ldpi', BASELINE_DPI * 0.75), # 3/4 + ('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 densities_baseline_hdpi = [ - ('drawable-ldpi', BASELINE_DPI * 0.5), # 3/6 - ('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-ldpi', BASELINE_DPI * 0.5), # 3/6 + ('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