blob: c5e90fde17b9f1db65afaef2ec94baf5c421163a [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 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.
-->
<!-- This is sized in code, so we'll set it to 0dp for now. -->
<android.support.v7.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:grid="http://schemas.android.com/apk/res-auto"
android:layout_width="0dp"
android:layout_height="0dp"
grid:layout_gravity="fill"
grid:layout_columnWeight="1"
grid:layout_rowWeight="1"
android:layout_margin="@dimen/car_padding_2">
<TextView
android:textAppearance="@style/TextAppearance.Car.Title"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/car_card_ripple_background"
android:id="@+id/button"
android:gravity="center"/>
</android.support.v7.widget.CardView>