blob: 45de7f5cf898d04c196c5ceb742df240ad59de73 [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
Tingting Wang4f5770c2015-11-02 12:16:32 -080032 android:src="@drawable/quantum_ic_assistant_grey600_48"
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"
Tingting Wang4f5770c2015-11-02 12:16:32 -080041 android:layout_marginLeft="8dp"
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"
Tingting Wang52a935d2015-11-06 12:37:06 -080048 android:textAlignment="viewStart"
Wenyi Wang53684892015-10-23 11:11:16 -070049 android:paddingTop="@dimen/quickcontact_collapse_text_padding"/>
Tingting Wang18906c02015-10-16 14:53:10 -070050
51 <ImageView
52 android:src="@drawable/ic_menu_expander_minimized_holo_light"
53 android:layout_width="wrap_content"
54 android:layout_height="wrap_content"
55 android:layout_gravity="center_vertical|end"
56 android:layout_alignParentEnd="true"
57 android:paddingStart="@dimen/editor_round_button_padding_left"
58 android:paddingEnd="@dimen/editor_round_button_padding_right"
59 android:paddingTop="@dimen/editor_round_button_padding_top"
60 android:paddingBottom="@dimen/editor_round_button_padding_bottom"/>
61 </LinearLayout>>
62
63</android.support.v7.widget.CardView>