Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2010 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 <!-- extends LinearLayout -->
     18 <com.android.email.activity.MessageCommandButtonView
     19     xmlns:android="http://schemas.android.com/apk/res/android"
     20     android:layout_width="match_parent"
     21     android:layout_height="64dip"
     22     android:orientation="horizontal"
     23     android:gravity="center_vertical"
     24     android:paddingLeft="16dip"
     25     android:paddingRight="16dip"
     26     android:background="#fff"
     27     >
     28     <Button
     29         android:id="@+id/move_to_newer_button"
     30         android:text="@string/message_view_move_to_newer"
     31         android:layout_height="wrap_content"
     32         android:layout_width="wrap_content"
     33         android:minWidth="128dip"
     34         />
     35     <!-- Filler -->
     36     <View
     37         android:layout_height="0dip"
     38         android:layout_width="0dip"
     39         android:layout_weight="1"
     40         android:visibility="invisible"
     41         />
     42     <TextView
     43         android:id="@+id/message_position"
     44         android:layout_height="wrap_content"
     45         android:layout_width="wrap_content"
     46         android:gravity="center"
     47         android:textSize="14dip"
     48         android:textColor="@color/text_secondary_color"
     49         android:singleLine="true"
     50         />
     51     <!-- Filler -->
     52     <View
     53         android:layout_height="0dip"
     54         android:layout_width="0dip"
     55         android:layout_weight="1"
     56         android:visibility="invisible"
     57         />
     58     <Button
     59         android:id="@+id/move_to_older_button"
     60         android:text="@string/message_view_move_to_older"
     61         android:layout_height="wrap_content"
     62         android:layout_width="wrap_content"
     63         android:minWidth="128dip"
     64         />
     65 </com.android.email.activity.MessageCommandButtonView>
     66