From: Antonio Ospite Date: Tue, 24 Nov 2015 18:27:13 +0000 (+0100) Subject: androink.py: align comments about density ratios X-Git-Url: https://git.ao2.it/android/android-app-development-getting-started.git/commitdiff_plain/e2d93be243c554d91c1f710b33b94c7672742278?ds=inline androink.py: align comments about density ratios --- 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 ]