diff options
author | Andrew Flynn <flynn@google.com> | 2012-02-29 13:33:22 -0800 |
---|---|---|
committer | Andrew Flynn <flynn@google.com> | 2012-02-29 17:30:37 -0800 |
commit | 0dca1ec41479a74f8da080224fa0c7eacab674d6 (patch) | |
tree | bad4a2d319a11c4da938122bd994485a59d0dc2a /res/layout-sw720dp/external_widget_drop_list_item.xml | |
parent | 79b79dd57911b9f79d4fb872e70d37ee90b0cc64 (diff) | |
download | android_packages_apps_Trebuchet-0dca1ec41479a74f8da080224fa0c7eacab674d6.tar.gz android_packages_apps_Trebuchet-0dca1ec41479a74f8da080224fa0c7eacab674d6.tar.bz2 android_packages_apps_Trebuchet-0dca1ec41479a74f8da080224fa0c7eacab674d6.zip |
New small/large screen division for Launcher.
Previously the dp division between the two was set at 600dp
(7" tablets). This has now been bumped up to 720dp
(10" tablets).
Change-Id: I1f0419e504fc3bb606156c1cf6fbe03956274184
Diffstat (limited to 'res/layout-sw720dp/external_widget_drop_list_item.xml')
-rw-r--r-- | res/layout-sw720dp/external_widget_drop_list_item.xml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/res/layout-sw720dp/external_widget_drop_list_item.xml b/res/layout-sw720dp/external_widget_drop_list_item.xml new file mode 100644 index 000000000..84f40eddf --- /dev/null +++ b/res/layout-sw720dp/external_widget_drop_list_item.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 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. +--> + +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + + android:layout_width="match_parent" + android:layout_height="64dp"> + <ImageView + android:id="@+id/provider_icon" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:layout_marginLeft="20dp" + android:maxWidth="32dp" + android:maxHeight="32dp" + android:scaleType="fitCenter" + android:src="@drawable/ic_launcher_application" /> + <TextView + android:id="@+id/provider" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_marginLeft="5dp" + android:gravity="center_vertical" + android:textSize="18sp" /> +</LinearLayout> |