<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 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"
        xmlns:tools="http://schemas.android.com/tools"
        android:id="@+id/card_info_field"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        tools:showIn="@layout/recents_tv_task_card_view_fallback_banner">
    <ImageView
            android:id="@+id/card_extra_badge"
            android:layout_width="@dimen/recents_tv_card_extra_badge_size"
            android:layout_height="@dimen/recents_tv_card_extra_badge_size"
            android:layout_marginBottom="@dimen/recents_tv_icon_padding_bottom"
            android:scaleType="fitCenter"
            android:layout_centerVertical="true"
            android:layout_alignParentEnd="true"/>
    <TextView
            android:id="@+id/card_title_text"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:includeFontPadding="true"
            android:singleLine="true"
            android:shadowColor="@color/recents_tv_text_shadow_color"
            android:shadowRadius="5"
            android:shadowDx="0"
            android:shadowDy="0"
            android:textColor="@color/recents_tv_card_title_text_color"
            android:fontFamily="@string/font_roboto_regular"
            android:textSize="@dimen/recents_tv_title_text_size"
            android:paddingStart="@dimen/recents_tv_text_padding_start"
            android:layout_marginBottom="@dimen/recents_tv_text_padding_bottom"
            android:ellipsize="end"/>
</LinearLayout>