After initial loading, all cards slide down per material guideline. Test: visual Change-Id: I115e086a43fc9a2d4b4da3acad20be689fdee09d
59 lines
2.2 KiB
XML
59 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2018 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.
|
|
-->
|
|
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/card_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layoutAnimation="@anim/layout_animation_fall_down"/>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/suggestion_footer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/condition_header_height"
|
|
android:layout_centerHorizontal="true">
|
|
|
|
<ImageView
|
|
android:id="@+id/expand_indicator"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_alignParentEnd="true"
|
|
android:paddingTop="4dp"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="16dp"/>
|
|
|
|
<TextView
|
|
android:id="@+id/expand_summary"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_toStartOf="@id/expand_indicator"
|
|
android:layout_centerVertical="true"
|
|
android:gravity="end"
|
|
android:textAppearance="@style/TextAppearance.SuggestionTitle"
|
|
android:textColor="?android:attr/colorAccent"/>
|
|
|
|
</RelativeLayout>
|
|
<include layout="@layout/horizontal_divider"/>
|
|
</LinearLayout>
|