blob: f05a739974e829b7007245d7586b12a4a051a0a2 [file] [log] [blame]
<?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
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:padding="@dimen/toggle_padding"
android:layout_marginStart="@dimen/car_padding_2"
android:layout_marginEnd="@dimen/car_padding_2"
android:layout_marginBottom="@dimen/car_padding_5"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="vertical">
<FrameLayout
android:id="@+id/icon_container"
android:layout_width="@dimen/car_touch_target_size"
android:layout_height="@dimen/car_touch_target_size"
android:background="@drawable/button_ripple_bg"
android:layout_marginBottom="@dimen/car_padding_4"
android:gravity="center">
<View
android:id="@+id/icon_background"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/circle_bg"/>
<ImageView
android:id="@+id/tile_icon"
android:layout_width="@dimen/car_primary_icon_size"
android:layout_height="@dimen/car_primary_icon_size"
android:layout_gravity="center"
android:src="@drawable/ic_settings_wifi"
android:tint="@color/toggle_icon_tint"
style="@style/ListIcon" />
</FrameLayout>
<LinearLayout
android:id="@+id/text_container"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/tile_text"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:textAppearance="@style/TextAppearance.Car.Label1"/>
<ImageView
android:id="@+id/deep_dive_icon"
android:layout_width="@dimen/car_primary_icon_size"
android:layout_height="@dimen/car_primary_icon_size"
android:src="@drawable/ic_arrow_drop_down"
android:tint="@color/car_label1"
android:layout_marginStart="@dimen/car_padding_1"
android:visibility="gone"/>
</LinearLayout>
</LinearLayout>