summaryrefslogtreecommitdiffstats
path: root/res/layout/carousel_updates_tab.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/carousel_updates_tab.xml')
-rw-r--r--res/layout/carousel_updates_tab.xml66
1 files changed, 66 insertions, 0 deletions
diff --git a/res/layout/carousel_updates_tab.xml b/res/layout/carousel_updates_tab.xml
new file mode 100644
index 000000000..9deb2f7ce
--- /dev/null
+++ b/res/layout/carousel_updates_tab.xml
@@ -0,0 +1,66 @@
+<?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.
+-->
+
+<RelativeLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="@dimen/detail_tab_carousel_tab_width"
+ android:layout_height="@dimen/detail_tab_carousel_height"
+ android:background="@color/detail_tab_background">
+
+ <!-- Transparent view to overlay on the contact's photo
+ (to allow white text to appear over a white photo). -->
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/detail_tab_carousel_tab_label_height"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentBottom="true"
+ android:background="@android:color/black"
+ android:alpha=".25"/>
+
+ <TextView
+ android:id="@+id/label"
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/detail_tab_carousel_tab_label_height"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentBottom="true"
+ android:paddingLeft="@dimen/detail_item_side_margin"
+ android:singleLine="true"
+ android:gravity="left|center_vertical"
+ android:textAppearance="?android:attr/textAppearanceLarge"
+ android:textColor="@color/detail_header_view_text_color"
+ style="@android:style/Widget.Holo.ActionBar.TabView" />
+
+ <TextView android:id="@+id/status"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:layout_alignParentLeft="true"
+ android:layout_marginTop="@dimen/detail_update_tab_vertical_margin"
+ android:paddingLeft="@dimen/detail_update_tab_side_padding"
+ android:paddingRight="@dimen/detail_update_tab_side_padding"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:maxLines="3"/>
+
+ <TextView android:id="@+id/status_date"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/status"
+ android:layout_marginBottom="@dimen/detail_update_tab_vertical_margin"
+ android:paddingLeft="@dimen/detail_update_tab_side_padding"
+ android:paddingRight="@dimen/detail_update_tab_side_padding"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:textColor="?android:attr/textColorTertiary"/>
+</RelativeLayout> \ No newline at end of file