Andrew Sapperstein | e2a30e1 | 2014-07-02 22:36:56 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2014 Google Inc. |
| 4 | Licensed to The Android Open Source Project. |
| 5 | |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | --> |
| 18 | <com.android.mail.browse.ConversationFooterView |
| 19 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 20 | android:orientation="vertical" |
| 21 | android:layout_width="match_parent" |
Andrew Sapperstein | 27230d6 | 2014-09-11 14:23:18 -0700 | [diff] [blame] | 22 | android:layout_height="wrap_content" |
| 23 | android:layout_marginTop="24dp" > |
Andrew Sapperstein | e2a30e1 | 2014-07-02 22:36:56 -0700 | [diff] [blame] | 24 | |
Andrew Sapperstein | 7dc32fd | 2014-08-04 18:06:53 -0700 | [diff] [blame] | 25 | <include layout="@layout/conversation_view_border" /> |
Andrew Sapperstein | e2a30e1 | 2014-07-02 22:36:56 -0700 | [diff] [blame] | 26 | |
| 27 | <LinearLayout |
Andrew Sapperstein | 735a22a | 2014-07-11 03:57:42 -0700 | [diff] [blame] | 28 | android:id="@+id/footer_buttons" |
Andrew Sapperstein | e2a30e1 | 2014-07-02 22:36:56 -0700 | [diff] [blame] | 29 | android:layout_width="match_parent" |
Andrew Sapperstein | 7dc32fd | 2014-08-04 18:06:53 -0700 | [diff] [blame] | 30 | android:layout_height="wrap_content" |
| 31 | android:layout_marginLeft="@dimen/conversation_border_margin_side" |
| 32 | android:layout_marginRight="@dimen/conversation_border_margin_side" > |
Andrew Sapperstein | e2a30e1 | 2014-07-02 22:36:56 -0700 | [diff] [blame] | 33 | |
| 34 | <TextView |
| 35 | android:id="@+id/reply_button" |
Andrew Sapperstein | 69a94ae | 2014-07-03 19:01:21 -0700 | [diff] [blame] | 36 | android:drawableTop="@drawable/ic_reply_24dp" |
Jin Cao | a740458 | 2014-08-05 14:03:59 -0700 | [diff] [blame] | 37 | android:focusable="true" |
Andrew Sapperstein | e2a30e1 | 2014-07-02 22:36:56 -0700 | [diff] [blame] | 38 | android:text="@string/reply" |
| 39 | style="@style/ConversationFooterButtonStyle" /> |
| 40 | |
| 41 | <TextView |
| 42 | android:id="@+id/reply_all_button" |
Andrew Sapperstein | 69a94ae | 2014-07-03 19:01:21 -0700 | [diff] [blame] | 43 | android:drawableTop="@drawable/ic_reply_all_24dp" |
Jin Cao | a740458 | 2014-08-05 14:03:59 -0700 | [diff] [blame] | 44 | android:focusable="true" |
Andrew Sapperstein | e2a30e1 | 2014-07-02 22:36:56 -0700 | [diff] [blame] | 45 | android:text="@string/reply_all" |
| 46 | style="@style/ConversationFooterButtonStyle" /> |
| 47 | |
| 48 | <TextView |
| 49 | android:id="@+id/forward_button" |
Andrew Sapperstein | 69a94ae | 2014-07-03 19:01:21 -0700 | [diff] [blame] | 50 | android:drawableTop="@drawable/ic_forward_24dp" |
Jin Cao | a740458 | 2014-08-05 14:03:59 -0700 | [diff] [blame] | 51 | android:focusable="true" |
Andrew Sapperstein | e2a30e1 | 2014-07-02 22:36:56 -0700 | [diff] [blame] | 52 | android:text="@string/forward" |
| 53 | style="@style/ConversationFooterButtonStyle" /> |
| 54 | |
| 55 | </LinearLayout> |
| 56 | |
| 57 | <View |
| 58 | android:layout_width="match_parent" |
Andrew Sapperstein | 27230d6 | 2014-09-11 14:23:18 -0700 | [diff] [blame] | 59 | android:layout_height="48dp" |
Andrew Sapperstein | 7dc32fd | 2014-08-04 18:06:53 -0700 | [diff] [blame] | 60 | android:background="@color/conversation_view_item_background_color" /> |
Andrew Sapperstein | e2a30e1 | 2014-07-02 22:36:56 -0700 | [diff] [blame] | 61 | |
| 62 | </com.android.mail.browse.ConversationFooterView> |