summaryrefslogtreecommitdiffstats
path: root/res/layout/bookmarks_drag_actionmode.xml
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2011-05-27 14:42:43 -0700
committerJohn Reck <jreck@google.com>2011-05-27 15:16:58 -0700
commite7c97de989b75a591d598da63e0bef51831462d4 (patch)
tree4c4c16f1ccb2c1ef326d3dfd9031a1e7112255e7 /res/layout/bookmarks_drag_actionmode.xml
parentb9b2a8290874e447444c7791647cbade915bc47d (diff)
downloadandroid_packages_apps_Gello-e7c97de989b75a591d598da63e0bef51831462d4.tar.gz
android_packages_apps_Gello-e7c97de989b75a591d598da63e0bef51831462d4.tar.bz2
android_packages_apps_Gello-e7c97de989b75a591d598da63e0bef51831462d4.zip
Bookmark drop CAB
When dragging a bookmark, show the CAB with drop targets Change-Id: I2a05800c8ab393f8fba64c46945266566eeacc7f
Diffstat (limited to 'res/layout/bookmarks_drag_actionmode.xml')
-rw-r--r--res/layout/bookmarks_drag_actionmode.xml48
1 files changed, 48 insertions, 0 deletions
diff --git a/res/layout/bookmarks_drag_actionmode.xml b/res/layout/bookmarks_drag_actionmode.xml
new file mode 100644
index 00000000..64b10425
--- /dev/null
+++ b/res/layout/bookmarks_drag_actionmode.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 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="wrap_content"
+ android:orientation="horizontal"
+ android:divider="?android:attr/dividerVertical"
+ android:dividerPadding="12dp"
+ android:showDividers="middle"
+ android:gravity="right"
+ android:minHeight="?android:attr/actionBarSize">
+ <ImageView
+ android:id="@+id/open_context_menu_id"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:paddingLeft="16dip"
+ android:paddingRight="16dip"
+ android:src="@drawable/ic_web_holo_dark" />
+ <ImageView
+ android:id="@+id/new_window_context_menu_id"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:paddingLeft="16dip"
+ android:paddingRight="16dip"
+ android:src="@drawable/ic_new_window_holo_dark" />
+ <ImageView
+ android:id="@+id/info"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:paddingLeft="16dip"
+ android:paddingRight="16dip"
+ android:src="@drawable/ic_home_info_holo_dark" />
+</LinearLayout>