2010-11-08 23:04:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- Copyright (C) 2010 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.
|
|
|
|
-->
|
|
|
|
|
2011-01-11 19:55:50 +00:00
|
|
|
<!-- extends LinearLayout -->
|
2010-11-08 23:04:10 +00:00
|
|
|
<com.android.email.activity.MessageCommandButtonView
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2011-01-11 19:55:50 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="64dip"
|
2010-11-08 23:04:10 +00:00
|
|
|
android:orientation="horizontal"
|
2011-01-11 19:55:50 +00:00
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingLeft="16dip"
|
|
|
|
android:paddingRight="16dip"
|
2011-01-11 22:36:00 +00:00
|
|
|
android:background="#fff"
|
2010-11-08 23:04:10 +00:00
|
|
|
>
|
|
|
|
<Button
|
|
|
|
android:id="@+id/move_to_newer_button"
|
|
|
|
android:text="@string/message_view_move_to_newer"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
2011-01-11 19:55:50 +00:00
|
|
|
android:minWidth="128dip"
|
2010-11-08 23:04:10 +00:00
|
|
|
/>
|
2011-01-11 19:55:50 +00:00
|
|
|
<!-- Filler -->
|
|
|
|
<View
|
|
|
|
android:layout_height="0dip"
|
|
|
|
android:layout_width="0dip"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:visibility="invisible"
|
2010-11-08 23:04:10 +00:00
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/message_position"
|
|
|
|
android:layout_height="wrap_content"
|
2011-01-11 19:55:50 +00:00
|
|
|
android:layout_width="wrap_content"
|
2010-11-08 23:04:10 +00:00
|
|
|
android:gravity="center"
|
2011-01-11 19:55:50 +00:00
|
|
|
android:textSize="14dip"
|
|
|
|
android:textColor="@color/text_secondary_color"
|
|
|
|
android:singleLine="true"
|
|
|
|
/>
|
|
|
|
<!-- Filler -->
|
|
|
|
<View
|
|
|
|
android:layout_height="0dip"
|
|
|
|
android:layout_width="0dip"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:visibility="invisible"
|
|
|
|
/>
|
|
|
|
<Button
|
|
|
|
android:id="@+id/move_to_older_button"
|
|
|
|
android:text="@string/message_view_move_to_older"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:minWidth="128dip"
|
2010-11-08 23:04:10 +00:00
|
|
|
/>
|
|
|
|
</com.android.email.activity.MessageCommandButtonView>
|