blob: 494447f871636cec5d800d1d3fd8edaf4c3df440 [file] [log] [blame]
Tingting Wang18906c02015-10-16 14:53:10 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 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<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
17 xmlns:card_view="http://schemas.android.com/apk/res-auto"
18 style="@style/ExpandingEntryCardStyle"
Wenyi Wang53684892015-10-23 11:11:16 -070019 android:layout_height="@dimen/quickcontact_collapse_view_height"
Tingting Wang18906c02015-10-16 14:53:10 -070020 android:layout_width="match_parent"
21 android:visibility="gone"
22 android:id="@+id/collapsed_suggestion_card">
23
24 <LinearLayout
25 android:layout_height="wrap_content"
26 android:layout_width="match_parent"
27 android:orientation="horizontal"
28 android:clickable="true"
29 android:id="@+id/collapsed_suggestion_header">
30
31 <ImageView
32 android:src="@drawable/quantum_ic_assistant_grey600_24"
Wenyi Wang53684892015-10-23 11:11:16 -070033 android:layout_width="@dimen/quickcontact_collapse_icon_size"
34 android:layout_height="@dimen/quickcontact_collapse_icon_size"
35 android:layout_margin="@dimen/quickcontact_collapse_image_padding"
Tingting Wang18906c02015-10-16 14:53:10 -070036 android:layout_gravity="center_vertical"/>
37
38 <TextView
39 android:id="@+id/collapsed_suggestion_card_title"
40 android:textSize="@dimen/expanding_entry_card_title_text_size"
Wenyi Wang53684892015-10-23 11:11:16 -070041 android:layout_marginLeft="16dp"
Tingting Wang18906c02015-10-16 14:53:10 -070042 android:layout_width="wrap_content"
43 android:layout_height="wrap_content"
44 android:layout_weight="1"
45 android:textColor="@color/quickcontact_entry_header_text_color"
46 android:singleLine="true"
47 android:ellipsize="end"
Wenyi Wang53684892015-10-23 11:11:16 -070048 android:paddingTop="@dimen/quickcontact_collapse_text_padding"/>
Tingting Wang18906c02015-10-16 14:53:10 -070049
50 <ImageView
51 android:src="@drawable/ic_menu_expander_minimized_holo_light"
52 android:layout_width="wrap_content"
53 android:layout_height="wrap_content"
54 android:layout_gravity="center_vertical|end"
55 android:layout_alignParentEnd="true"
56 android:paddingStart="@dimen/editor_round_button_padding_left"
57 android:paddingEnd="@dimen/editor_round_button_padding_right"
58 android:paddingTop="@dimen/editor_round_button_padding_top"
59 android:paddingBottom="@dimen/editor_round_button_padding_bottom"/>
60 </LinearLayout>>
61
62</android.support.v7.widget.CardView>