diff options
author | Winson Chung <winsonc@google.com> | 2010-10-29 11:00:27 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2010-11-03 19:48:17 -0700 |
commit | 68846fdce6c01bbe474bd0c8307e1ccaac161cbc (patch) | |
tree | 958e803c05cab4a48bac5fa1c726db75621324cf /res | |
parent | f24312876b097e25cec922edbb58334ed234dcd7 (diff) | |
download | android_packages_apps_Trebuchet-68846fdce6c01bbe474bd0c8307e1ccaac161cbc.tar.gz android_packages_apps_Trebuchet-68846fdce6c01bbe474bd0c8307e1ccaac161cbc.tar.bz2 android_packages_apps_Trebuchet-68846fdce6c01bbe474bd0c8307e1ccaac161cbc.zip |
Initial changes to allow resolution of arbitrary clip data to widgets that support them.
Change-Id: Id5dfa8436a5bf6eb7bd300ec603911a9d3698de3
Diffstat (limited to 'res')
-rw-r--r-- | res/layout-xlarge/external_widget_drop_list_item.xml | 39 | ||||
-rw-r--r-- | res/values/strings.xml | 7 |
2 files changed, 46 insertions, 0 deletions
diff --git a/res/layout-xlarge/external_widget_drop_list_item.xml b/res/layout-xlarge/external_widget_drop_list_item.xml new file mode 100644 index 000000000..84f40eddf --- /dev/null +++ b/res/layout-xlarge/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> diff --git a/res/values/strings.xml b/res/values/strings.xml index 5c8f3621f..f26dfc855 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -77,6 +77,13 @@ <!-- The format string for the dimensions of a widget in the drawer --> <string name="widget_dims_format" translatable="false">%1$d x %2$d</string> + <!-- External-drop widget pick label format string [CHAR_LIMIT=25] --> + <string name="external_drop_widget_pick_format" translatable="false">%1$s (%2$d x %3$d)</string> + <!-- External-drop widget error string --> + <string name="external_drop_widget_error">Could not install clipboard item</string> + <!-- External-drop widget pick title --> + <string name="external_drop_widget_pick_title">Select widget to create</string> + <!-- Folders --> <skip /> <!-- Label of Folder name field in Rename folder dialog box --> |