summaryrefslogtreecommitdiffstats
path: root/res/layout/edit_kind_title.xml
diff options
context:
space:
mode:
authorKatherine Kuan <katherinekuan@google.com>2011-07-20 13:38:27 -0700
committerKatherine Kuan <katherinekuan@google.com>2011-07-21 13:57:44 -0700
commita94859f61c216d4e137a631995026d3ddefbbf70 (patch)
treef6ca5f44adea937f3795d55899ed96b1eb025f07 /res/layout/edit_kind_title.xml
parent93f625d8f2825575b4f63f4cf78ecbb7b56354eb (diff)
downloadandroid_packages_apps_Contacts-a94859f61c216d4e137a631995026d3ddefbbf70.tar.gz
android_packages_apps_Contacts-a94859f61c216d4e137a631995026d3ddefbbf70.tar.bz2
android_packages_apps_Contacts-a94859f61c216d4e137a631995026d3ddefbbf70.zip
Contact editor fixes
- Bring back data kind titles - "Delete" button should be invisible not gone - Make field + spinner horizontally stacked instead of vertically stacked on phone - Don't show account header if editing an existing contact that only consists of 1 raw contact Change-Id: I7dd4bfdf273eeaccca8399d182c0a56a6e23a8c7
Diffstat (limited to 'res/layout/edit_kind_title.xml')
-rw-r--r--res/layout/edit_kind_title.xml48
1 files changed, 48 insertions, 0 deletions
diff --git a/res/layout/edit_kind_title.xml b/res/layout/edit_kind_title.xml
new file mode 100644
index 000000000..619ba494c
--- /dev/null
+++ b/res/layout/edit_kind_title.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+ * Copyright 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:paddingLeft="@dimen/editor_field_left_padding"
+ android:paddingRight="@dimen/editor_field_right_padding"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/kind_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingLeft="@dimen/editor_field_left_padding"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:textColor="@color/people_app_theme_color"
+ android:textStyle="bold"
+ android:singleLine="true"
+ android:ellipsize="end"
+ android:paddingTop="5dip"
+ android:paddingBottom="2dip" />
+
+ <ImageView
+ android:id="@+id/divider"
+ android:layout_width="match_parent"
+ android:layout_height="2dip"
+ android:scaleType="fitXY"
+ android:src="@color/people_app_theme_color"/>
+
+</LinearLayout>