App is only for handsets
authorGustavo Martin Morcuende <gu.martinm@gmail.com>
Sun, 30 Nov 2014 19:55:47 +0000 (20:55 +0100)
committerGustavo Martin Morcuende <gu.martinm@gmail.com>
Sun, 30 Nov 2014 19:55:47 +0000 (20:55 +0100)
app/build.gradle
app/src/main/AndroidManifest.xml

index 464cb5e..40ffce9 100644 (file)
@@ -6,7 +6,7 @@ android {
 
     defaultConfig {
         applicationId "name.gumartinm.weather.information"
-        minSdkVersion 18
+        minSdkVersion 11
         targetSdkVersion 18
 
         testApplicationId "name.gumartinm.weather.information.test"
index ad09a72..a6c04d6 100644 (file)
     android:versionName="1.0" >
 
     <uses-sdk
-        android:maxSdkVersion="18"
-        android:minSdkVersion="18"
+        android:maxSdkVersion="21"
+        android:minSdkVersion="11"
         android:targetSdkVersion="18" />
 
     <uses-feature
         android:glEsVersion="0x00020000"
         android:required="true" />
 
-    <!-- TODO: http://developer.android.com/guide/topics/manifest/supports-screens-element.html -->
-    <!-- TODO: supporting multiple layouts/languages http://developer.android.com/guide/practices/screens_support.html -->
+    <!-- http://developer.android.com/guide/topics/manifest/supports-screens-element.html -->
+    <!-- Supporting multiple layouts/languages: http://developer.android.com/guide/practices/screens_support.html -->
+    <!-- Distributing to Specific Screens: http://developer.android.com/guide/practices/screens-distribution.html -->
     <compatible-screens>
-        <screen
-            android:screenDensity="xhdpi"
-            android:screenSize="normal" />
+        <!-- all small size screens -->
+        <screen android:screenSize="small" android:screenDensity="ldpi" />
+        <screen android:screenSize="small" android:screenDensity="mdpi" />
+        <screen android:screenSize="small" android:screenDensity="hdpi" />
+        <screen android:screenSize="small" android:screenDensity="xhdpi" />
+        <!-- all normal size screens -->
+        <screen android:screenSize="normal" android:screenDensity="ldpi" />
+        <screen android:screenSize="normal" android:screenDensity="mdpi" />
+        <screen android:screenSize="normal" android:screenDensity="hdpi" />
+        <screen android:screenSize="normal" android:screenDensity="xhdpi" />
     </compatible-screens>
 
-    <supports-screens android:smallScreens="false" />
-
     <uses-permission android:name="android.permission.INTERNET" />
     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />