- reduce top padding for suggestion container - match condition card corner radius with suggestion card. - change condition card background color to white - update suggestion title font from medium to regular. Change-Id: I0267b37822facf4bd389e2b21c47a1fcf0d00264 Fixes: 70573674 Test: visual
45 lines
1.6 KiB
XML
45 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2017 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.
|
|
-->
|
|
|
|
<FrameLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
style="@style/SuggestionConditionStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="16dp"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="16dp"
|
|
android:paddingBottom="@dimen/dashboard_padding_bottom">
|
|
|
|
<android.support.v7.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:cardUseCompatPadding="true"
|
|
app:cardElevation="2dp"
|
|
app:cardCornerRadius="@dimen/suggestion_card_corner_radius">
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
android:id="@+id/data"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:scrollbars="none"/>
|
|
|
|
</android.support.v7.widget.CardView>
|
|
|
|
</FrameLayout>
|