summaryrefslogtreecommitdiffstats
path: root/res/layout-land/quickcontact_title.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout-land/quickcontact_title.xml')
-rw-r--r--res/layout-land/quickcontact_title.xml59
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