Home | History | Annotate | Download | only in layout-television
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2016 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 <com.android.systemui.recents.tv.views.RecentsTvView
     17     xmlns:android="http://schemas.android.com/apk/res/android"
     18     android:id="@+id/recents_view"
     19     android:layout_width="match_parent"
     20     android:layout_height="match_parent"
     21     android:clipChildren="false"
     22     android:clipToPadding="false"
     23     android:background="@drawable/recents_tv_background_gradient">
     24 
     25     <com.android.systemui.recents.tv.views.TaskStackHorizontalGridView
     26         android:id="@+id/task_list"
     27         android:layout_width="wrap_content"
     28         android:layout_height="wrap_content"
     29         android:clipChildren="false"
     30         android:clipToPadding="false"
     31         android:descendantFocusability="beforeDescendants"
     32         android:layout_marginTop="@dimen/recents_tv_gird_row_top_margin"
     33         android:focusable="true"
     34         android:layoutDirection="rtl" />
     35 
     36     <!-- Placeholder view to give focus to the PIP menus in talkback mode -->
     37     <View
     38         android:id="@+id/pip"
     39         android:layout_width="1dp"
     40         android:layout_height="1dp"
     41         android:focusable="true"
     42         android:visibility="gone" />
     43 
     44     <!-- Placeholder to dismiss during talkback. -->
     45     <ImageView
     46             android:id="@+id/dismiss_placeholder"
     47             android:layout_width="@dimen/recents_tv_dismiss_icon_size"
     48             android:layout_height="@dimen/recents_tv_dismiss_icon_size"
     49             android:layout_gravity="bottom|center_horizontal"
     50             android:layout_marginBottom="50dp"
     51             android:src="@drawable/ic_cancel_white_24dp"
     52             android:contentDescription="@string/status_bar_accessibility_dismiss_recents"
     53             android:focusable="true"
     54             android:visibility="gone" />
     55 
     56 </com.android.systemui.recents.tv.views.RecentsTvView>
     57