summaryrefslogtreecommitdiffstats
path: root/res/layout-sw600dp/contact_item.xml
diff options
context:
space:
mode:
authorIsaac Katzenelson <isaack@android.com>2011-10-25 18:00:50 -0700
committerIsaac Katzenelson <isaack@android.com>2011-10-31 17:38:38 -0700
commit7ef2981ab9ad32a6818b36cefbd39f070ba708ed (patch)
tree74cc06a05b237d6775ba25690cd8c8ed9533cd56 /res/layout-sw600dp/contact_item.xml
parent4f04f9f3bee90bad4f0fa0505a5c3644834c1b50 (diff)
downloadandroid_packages_apps_Calendar-7ef2981ab9ad32a6818b36cefbd39f070ba708ed.tar.gz
android_packages_apps_Calendar-7ef2981ab9ad32a6818b36cefbd39f070ba708ed.tar.bz2
android_packages_apps_Calendar-7ef2981ab9ad32a6818b36cefbd39f070ba708ed.zip
Support for 7 inch devices
Changed layout directory names Added values directories Added config values to support event info behavior Change-Id: I78d14e952250008cc453ed7b2ff3ec638eea6eac
Diffstat (limited to 'res/layout-sw600dp/contact_item.xml')
-rw-r--r--res/layout-sw600dp/contact_item.xml66
1 files changed, 66 insertions, 0 deletions
diff --git a/res/layout-sw600dp/contact_item.xml b/res/layout-sw600dp/contact_item.xml
new file mode 100644
index 00000000..ef953961
--- /dev/null
+++ b/res/layout-sw600dp/contact_item.xml
@@ -0,0 +1,66 @@
+<?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.
+-->
+
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="64dip"
+ android:orientation="horizontal" >
+
+ <TextView
+ android:id="@+id/name"
+ android:layout_height="wrap_content"
+ android:layout_width="0dip"
+ android:layout_marginLeft="8dip"
+ android:layout_weight="1"
+ android:textSize="18sp"
+ android:layout_gravity="center_vertical"
+ android:gravity="center_vertical"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:focusable="true"
+ style="@style/TextAppearance.EditEvent_Value" />
+
+ <ImageButton
+ android:id="@+id/contact_remove"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:paddingRight="3dip"
+ android:visibility="gone"
+ android:contentDescription="@string/accessibility_remove_attendee"
+ style="@style/MinusButton" />
+
+ <QuickContactBadge
+ android:id="@+id/badge"
+ android:layout_gravity="center_vertical"
+ android:layout_width="64dip"
+ android:layout_height="64dip"
+ android:src="@drawable/ic_contact_picture"
+ style="?android:attr/quickContactBadgeStyleWindowMedium" />
+ </LinearLayout>
+
+ <View
+ android:id="@+id/contact_separator"
+ android:background="?android:attr/listDivider"
+ android:visibility="gone"
+ android:layout_height="1px"
+ android:layout_width="match_parent" />
+
+</LinearLayout>