Home | History | Annotate | Download | only in layout-sw580dp
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2011 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 
     17 <!--
     18   This is a header entry in the contact updates list.
     19 -->
     20 <LinearLayout
     21     xmlns:android="http://schemas.android.com/apk/res/android"
     22     xmlns:ex="http://schemas.android.com/apk/res-auto"
     23     android:layout_width="match_parent"
     24     android:layout_height="wrap_content"
     25     android:orientation="vertical">
     26 
     27     <!-- This blank view pushes the other content down because of the tab carousel -->
     28     <view
     29         class="com.android.contacts.common.widget.ProportionalLayout"
     30         android:layout_width="match_parent"
     31         android:layout_height="wrap_content"
     32         android:layout_marginBottom="8dip"
     33         ex:ratio="0.6667"
     34         ex:direction="widthToHeight">
     35 
     36         <!-- Put a dummy view here because the ProportionalLayout requires one -->
     37         <FrameLayout
     38             android:layout_width="match_parent"
     39             android:layout_height="match_parent"/>
     40 
     41     </view>
     42 
     43     <!-- "Recent updates" header text -->
     44     <TextView
     45         style="?android:attr/listSeparatorTextViewStyle"
     46         android:layout_height="32dip"
     47         android:paddingLeft="8dip"
     48         android:paddingRight="8dip"
     49         android:paddingStart="8dip"
     50         android:paddingEnd="8dip"
     51         android:background="@drawable/list_section_divider_holo_custom"
     52         android:text="@string/recent"
     53         android:textColor="@color/people_app_theme_color"
     54         android:textAllCaps="true"
     55         android:singleLine="true"
     56         android:ellipsize="end" />
     57 
     58 </LinearLayout>
     59