diff options
author | Matt Garnes <matt@cyngn.com> | 2015-06-09 13:59:40 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2015-09-21 15:02:49 -0700 |
commit | 4cf2e2ced55b675a7629ae74a61faffa96378656 (patch) | |
tree | 8b32e44341d43b19b24bb4f2838c0b2eaa279348 /res/layout-land/quickcontact_title.xml | |
parent | 6c3c58900bccea7a96b1435e0e0466a6b99dab36 (diff) | |
download | packages_apps_Contacts-4cf2e2ced55b675a7629ae74a61faffa96378656.tar.gz packages_apps_Contacts-4cf2e2ced55b675a7629ae74a61faffa96378656.tar.bz2 packages_apps_Contacts-4cf2e2ced55b675a7629ae74a61faffa96378656.zip |
Contacts: Add contact lookup with attribution to quick contacts
MMS-86
Change-Id: Ib85ebfd3da14da6f6e04e9a4ec751460a85eeeec
Diffstat (limited to 'res/layout-land/quickcontact_title.xml')
-rw-r--r-- | res/layout-land/quickcontact_title.xml | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/res/layout-land/quickcontact_title.xml b/res/layout-land/quickcontact_title.xml new file mode 100644 index 000000000..0c704d505 --- /dev/null +++ b/res/layout-land/quickcontact_title.xml @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 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:id="@+id/contact_info" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginStart="@dimen/quickcontact_title_initial_margin" + android:layout_marginEnd="@dimen/quickcontact_title_initial_margin" + android:layout_marginBottom="@dimen/quickcontact_title_initial_margin" + android:layout_gravity="bottom|start" + android:orientation="vertical"> + <!-- The importantForAccessibility is set to "no" since we want the ViewGroup that pretends to be + this View's parent (contact photo overlay) to provide the content description for Talkback. --> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textColor="@color/actionbar_text_color" + android:maxLines="@integer/quickcontact_title_lines" + android:textSize="@dimen/quickcontact_maximum_title_size" + android:textAlignment="viewStart" + android:ellipsize="end" + android:importantForAccessibility="no" + android:id="@+id/large_title"/> + + <TextView + android:id="@+id/contact_spam_count" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textSize="14dp" + android:textColor="@android:color/white" + android:visibility="gone"/> + + <TextView + android:id="@+id/contact_info_attribution" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textSize="14dp" + android:textColor="@android:color/white" + android:alpha="0.5" + android:visibility="gone"/> + +</LinearLayout>
\ No newline at end of file |