blob: 6fa15b1b96535defe42ab65ac71cb6eca9dc54d0 [file] [log] [blame]
Dave Santoro39156002011-07-19 01:18:14 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18 android:layout_width="match_parent"
19 android:layout_height="wrap_content"
Mindy Pereira5ab5f862011-08-25 12:03:43 -070020 android:orientation="vertical"
21 android:paddingLeft="@dimen/detail_update_section_side_padding"
22 android:paddingRight="@dimen/detail_update_section_side_padding">
Dave Santoro39156002011-07-19 01:18:14 -070023
Makoto Onukida9cdc12012-02-27 16:11:50 -080024 <!-- Clickable area -->
Mindy Pereira570d3a12011-08-30 14:00:44 -070025 <LinearLayout
Dave Santoro39156002011-07-19 01:18:14 -070026 android:id="@+id/stream_item_content"
27 android:layout_width="match_parent"
28 android:layout_height="wrap_content"
Makoto Onuki4d26eee2012-03-05 18:24:04 -080029 android:paddingLeft="@dimen/detail_update_section_item_horizontal_padding"
30 android:paddingRight="@dimen/detail_update_section_item_horizontal_padding"
31 android:paddingTop="@dimen/detail_update_section_item_vertical_padding"
Makoto Onuki7b456132011-08-18 19:05:21 -070032 android:background="?android:attr/selectableItemBackground"
Mindy Pereira570d3a12011-08-30 14:00:44 -070033 android:orientation="vertical"
Makoto Onukida9cdc12012-02-27 16:11:50 -080034 >
35
36 <!-- Images -->
37 <LinearLayout
38 android:id="@+id/stream_item_image_rows"
39 android:layout_width="match_parent"
40 android:layout_height="wrap_content"
Makoto Onukida9cdc12012-02-27 16:11:50 -080041 android:paddingBottom="@dimen/detail_update_section_between_items_vertical_padding"
42 android:layout_gravity="center_vertical"
43 android:orientation="vertical"
44 >
45 </LinearLayout>
46
47 <!-- Text -->
48 <TextView android:id="@+id/stream_item_html"
49 android:layout_width="match_parent"
50 android:layout_height="wrap_content"
51 android:textSize="16sp"
52 android:textColor="?android:attr/textColorPrimary" />
53 <TextView android:id="@+id/stream_item_attribution"
54 android:layout_width="wrap_content"
55 android:layout_height="wrap_content"
56 android:textAppearance="?android:attr/textAppearanceSmall"
57 android:textColor="?android:attr/textColorSecondary"
58 android:ellipsize="end"
59 android:maxLines="1" />
60 <TextView android:id="@+id/stream_item_comments"
61 android:layout_width="wrap_content"
62 android:layout_height="wrap_content"
63 android:layout_marginLeft="@dimen/detail_update_section_attribution_comments_padding"
64 android:textAppearance="?android:attr/textAppearanceSmall"
65 android:textColor="?android:attr/textColorSecondary"
66 android:maxLines="1"/>
67 </LinearLayout>
Dave Santoro39156002011-07-19 01:18:14 -070068
69 <View
70 android:id="@+id/horizontal_divider"
71 android:layout_width="match_parent"
72 android:layout_height="1px"
Makoto Onukida9cdc12012-02-27 16:11:50 -080073 android:layout_marginTop="@dimen/detail_update_section_item_vertical_padding"
Mindy Pereira19f64f82011-08-28 11:53:02 -070074 android:background="?android:attr/dividerHorizontal"
75 android:layout_gravity="bottom" />
Flavio Lerdafd43cdd2011-08-05 04:56:44 +010076
Dave Santoro39156002011-07-19 01:18:14 -070077</LinearLayout>