EVWidgets: Fix some sizing for tablets and phones.

Change-Id: Icbd05e05acd763f3f3df9e31f468a346545a570a
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 76a6e15..be4df42 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -20,7 +20,7 @@
     <uses-permission android:name="android.permission.ACCESS_4G_STATE" />
     <uses-permission android:name="android.permission.CHANGE_4G_STATE" />
 
-    <uses-sdk android:minSdkVersion="14" />
+    <uses-sdk android:targetSdkVersion="10" />
 
     <application>
 		<!-- Wifi standalone widget -->
diff --git a/res/layout-land/power_widget.xml b/res/layout-land/power_widget.xml
index 58af6d0..5287bb1 100755
--- a/res/layout-land/power_widget.xml
+++ b/res/layout-land/power_widget.xml
@@ -16,13 +16,14 @@
 <FrameLayout
     xmlns:android="http://schemas.android.com/apk/res/android"
     android:id="@+id/widget_layout"
-    android:layout_width="match_parent"
+    android:layout_width="72dp"
     android:layout_height="match_parent"
     android:background="@drawable/widget_background">
 
     <ImageView android:id="@+id/widget_icon"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
+        android:layout_marginTop="5dp"
         android:layout_gravity="center|top">
     </ImageView>
 
diff --git a/res/layout-sw600dp-land/power_widget.xml b/res/layout-sw600dp-land/power_widget.xml
new file mode 100755
index 0000000..3bd7f11
--- /dev/null
+++ b/res/layout-sw600dp-land/power_widget.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+<FrameLayout
+    xmlns:android="http://schemas.android.com/apk/res/android"
+    android:id="@+id/widget_layout"
+    android:layout_width="72dp"
+    android:layout_height="match_parent"
+    android:background="@drawable/widget_background">
+
+    <ImageView android:id="@+id/widget_icon"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_marginTop="10dp"
+        android:layout_gravity="center|top">
+    </ImageView>
+
+    <LinearLayout
+        android:id="@+id/widget_mask"
+        android:layout_width="match_parent"
+        android:layout_height="match_parent"
+        android:clickable="true"
+        android:background="@drawable/list_selector_holo_dark">
+    </LinearLayout>
+
+    <ImageView android:id="@+id/widget_indic"
+        android:layout_width="match_parent"
+        android:layout_height="15dp"
+        android:scaleType="fitXY"
+        android:layout_gravity="bottom">
+    </ImageView>
+
+</FrameLayout>
diff --git a/res/layout/power_widget.xml b/res/layout/power_widget.xml
index 7093dd1..61d05f4 100755
--- a/res/layout/power_widget.xml
+++ b/res/layout/power_widget.xml
@@ -16,8 +16,8 @@
 <FrameLayout
     xmlns:android="http://schemas.android.com/apk/res/android"
     android:id="@+id/widget_layout"
-    android:layout_width="match_parent"
     android:layout_height="match_parent"
+    android:layout_width="72dp"
     android:background="@drawable/widget_background">
 
     <ImageView android:id="@+id/widget_icon"
@@ -37,7 +37,7 @@
 
     <ImageView android:id="@+id/widget_indic"
         android:layout_width="match_parent"
-        android:layout_height="15dp"
+        android:layout_height="20dp"
         android:scaleType="fitXY"
         android:layout_gravity="bottom">
     </ImageView>
diff --git a/res/xml-sw600dp/widget_airplane_info.xml b/res/xml-sw600dp/widget_airplane_info.xml
new file mode 100755
index 0000000..0edf47e
--- /dev/null
+++ b/res/xml-sw600dp/widget_airplane_info.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+
+<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
+    android:minWidth="60dip"
+    android:minHeight="60dip"
+    android:initialLayout="@layout/power_widget"
+    android:previewImage="@drawable/preview_airplane"
+    >
+</appwidget-provider>
diff --git a/res/xml-sw600dp/widget_auto_rotate_info.xml b/res/xml-sw600dp/widget_auto_rotate_info.xml
new file mode 100755
index 0000000..6e4af2e
--- /dev/null
+++ b/res/xml-sw600dp/widget_auto_rotate_info.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+
+<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
+    android:minWidth="60dip"
+    android:minHeight="60dip"
+    android:initialLayout="@layout/power_widget"
+    android:previewImage="@drawable/preview_auto_rotate"
+    >
+</appwidget-provider>
diff --git a/res/xml-sw600dp/widget_auto_rotate_info.xml~ b/res/xml-sw600dp/widget_auto_rotate_info.xml~
new file mode 100755
index 0000000..6e4af2e
--- /dev/null
+++ b/res/xml-sw600dp/widget_auto_rotate_info.xml~
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+
+<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
+    android:minWidth="60dip"
+    android:minHeight="60dip"
+    android:initialLayout="@layout/power_widget"
+    android:previewImage="@drawable/preview_auto_rotate"
+    >
+</appwidget-provider>
diff --git a/res/xml-sw600dp/widget_bluetooth_info.xml b/res/xml-sw600dp/widget_bluetooth_info.xml
new file mode 100755
index 0000000..a05cf66
--- /dev/null
+++ b/res/xml-sw600dp/widget_bluetooth_info.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+
+<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
+    android:minWidth="60dip"
+    android:minHeight="60dip"
+    android:initialLayout="@layout/power_widget"
+    android:previewImage="@drawable/preview_bluetooth"
+    >
+</appwidget-provider>
diff --git a/res/xml-sw600dp/widget_gps_info.xml b/res/xml-sw600dp/widget_gps_info.xml
new file mode 100755
index 0000000..343b6df
--- /dev/null
+++ b/res/xml-sw600dp/widget_gps_info.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+
+<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
+    android:minWidth="60dip"
+    android:minHeight="60dip"
+    android:initialLayout="@layout/power_widget"
+    android:previewImage="@drawable/preview_gps"
+    >
+</appwidget-provider>
diff --git a/res/xml-sw600dp/widget_mobile_data_info.xml b/res/xml-sw600dp/widget_mobile_data_info.xml
new file mode 100755
index 0000000..d59afd7
--- /dev/null
+++ b/res/xml-sw600dp/widget_mobile_data_info.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+
+<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
+    android:minWidth="60dip"
+    android:minHeight="60dip"
+    android:initialLayout="@layout/power_widget"
+    android:previewImage="@drawable/preview_mobile_data"
+    >
+</appwidget-provider>
diff --git a/res/xml-sw600dp/widget_sync_info.xml b/res/xml-sw600dp/widget_sync_info.xml
new file mode 100755
index 0000000..29f8b85
--- /dev/null
+++ b/res/xml-sw600dp/widget_sync_info.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+
+<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
+    android:minWidth="60dip"
+    android:minHeight="60dip"
+    android:initialLayout="@layout/power_widget"
+    android:previewImage="@drawable/preview_sync"
+    >
+</appwidget-provider>
diff --git a/res/xml-sw600dp/widget_wifi_info.xml b/res/xml-sw600dp/widget_wifi_info.xml
new file mode 100755
index 0000000..f5b770d
--- /dev/null
+++ b/res/xml-sw600dp/widget_wifi_info.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+
+<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
+    android:minWidth="60dip"
+    android:minHeight="60dip"
+    android:initialLayout="@layout/power_widget"
+    android:previewImage="@drawable/preview_wifi"
+    >
+</appwidget-provider>
diff --git a/res/xml-sw600dp/widget_wifiap_info.xml b/res/xml-sw600dp/widget_wifiap_info.xml
new file mode 100755
index 0000000..c0670ce
--- /dev/null
+++ b/res/xml-sw600dp/widget_wifiap_info.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+
+<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
+    android:minWidth="60dip"
+    android:minHeight="60dip"
+    android:initialLayout="@layout/power_widget"
+    android:previewImage="@drawable/preview_wifiap"
+    >
+</appwidget-provider>
diff --git a/res/xml-sw600dp/widget_wimax_info.xml b/res/xml-sw600dp/widget_wimax_info.xml
new file mode 100755
index 0000000..368d46c
--- /dev/null
+++ b/res/xml-sw600dp/widget_wimax_info.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+
+<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
+    android:minWidth="60dip"
+    android:minHeight="60dip"
+    android:initialLayout="@layout/power_widget"
+    android:previewImage="@drawable/preview_wimax"
+    >
+</appwidget-provider>