Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3      Copyright (C) 2015 The Android Open Source Project
      4 
      5      Licensed under the Apache License, Version 2.0 (the "License");
      6      you may not use this file except in compliance with the License.
      7      You may obtain a copy of the License at
      8 
      9           http://www.apache.org/licenses/LICENSE-2.0
     10 
     11      Unless required by applicable law or agreed to in writing, software
     12      distributed under the License is distributed on an "AS IS" BASIS,
     13      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14      See the License for the specific language governing permissions and
     15      limitations under the License.
     16 -->
     17 <!-- Layout for an action item displayed in the 2 pane actions fragment. -->
     18 <android.support.v17.leanback.widget.GuidedActionItemContainer
     19     xmlns:android="http://schemas.android.com/apk/res/android"
     20     xmlns:tools="http://schemas.android.com/tools"
     21     style="?attr/guidedActionItemContainerStyle" >
     22 
     23     <android.support.v17.leanback.widget.CheckableImageView
     24         android:id="@+id/guidedactions_item_checkmark"
     25         style="?attr/guidedActionItemCheckmarkStyle"
     26         tools:ignore="ContentDescription" />
     27 
     28     <ImageView
     29         android:id="@+id/guidedactions_item_icon"
     30         style="?attr/guidedActionItemIconStyle"
     31         tools:ignore="ContentDescription" />
     32 
     33     <android.support.v17.leanback.widget.NonOverlappingLinearLayout
     34         android:id="@+id/guidedactions_item_content"
     35         style="?attr/guidedActionItemContentStyle" >
     36 
     37         <android.support.v17.leanback.widget.GuidedActionEditText
     38             android:id="@+id/guidedactions_item_title"
     39             style="?attr/guidedActionItemTitleStyle" />
     40 
     41         <android.support.v17.leanback.widget.GuidedActionEditText
     42             android:id="@+id/guidedactions_item_description"
     43             style="?attr/guidedActionItemDescriptionStyle" />
     44 
     45     </android.support.v17.leanback.widget.NonOverlappingLinearLayout>
     46 
     47     <ImageView
     48         android:id="@+id/guidedactions_item_chevron"
     49         style="?attr/guidedActionItemChevronStyle"
     50         tools:ignore="ContentDescription" />
     51 
     52 </android.support.v17.leanback.widget.GuidedActionItemContainer>
     53