blob: ac2ec499c20706ceb4e0ae84ec3379ee1880d466 [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-->
Aravind Sreekumar71212852018-04-06 15:47:45 -070016<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
Tingting Wang18906c02015-10-16 14:53:10 -070017 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
John Shaobd9ef3c2016-12-15 12:42:03 -080032 android:src="@drawable/quantum_ic_assistant_vd_theme_24"
John Shao1e24ae82016-12-06 18:55:24 -080033 android:tint="@color/editor_icon_color"
Wenyi Wang53684892015-10-23 11:11:16 -070034 android:layout_width="@dimen/quickcontact_collapse_icon_size"
35 android:layout_height="@dimen/quickcontact_collapse_icon_size"
36 android:layout_margin="@dimen/quickcontact_collapse_image_padding"
Tingting Wang18906c02015-10-16 14:53:10 -070037 android:layout_gravity="center_vertical"/>
38
39 <TextView
40 android:id="@+id/collapsed_suggestion_card_title"
41 android:textSize="@dimen/expanding_entry_card_title_text_size"
Tingting Wang4f5770c2015-11-02 12:16:32 -080042 android:layout_marginLeft="8dp"
Tingting Wang18906c02015-10-16 14:53:10 -070043 android:layout_width="wrap_content"
44 android:layout_height="wrap_content"
45 android:layout_weight="1"
46 android:textColor="@color/quickcontact_entry_header_text_color"
47 android:singleLine="true"
48 android:ellipsize="end"
Tingting Wang52a935d2015-11-06 12:37:06 -080049 android:textAlignment="viewStart"
Wenyi Wang53684892015-10-23 11:11:16 -070050 android:paddingTop="@dimen/quickcontact_collapse_text_padding"/>
Tingting Wang18906c02015-10-16 14:53:10 -070051
52 <ImageView
John Shaobd9ef3c2016-12-15 12:42:03 -080053 android:src="@drawable/quantum_ic_expand_more_vd_theme_24"
Tingting Wang18906c02015-10-16 14:53:10 -070054 android:layout_width="wrap_content"
55 android:layout_height="wrap_content"
56 android:layout_gravity="center_vertical|end"
57 android:layout_alignParentEnd="true"
58 android:paddingStart="@dimen/editor_round_button_padding_left"
59 android:paddingEnd="@dimen/editor_round_button_padding_right"
60 android:paddingTop="@dimen/editor_round_button_padding_top"
61 android:paddingBottom="@dimen/editor_round_button_padding_bottom"/>
62 </LinearLayout>>
63
Aravind Sreekumar71212852018-04-06 15:47:45 -070064</androidx.cardview.widget.CardView>