Katherine Kuan | 9b3dfd0 | 2011-07-21 17:16:20 -0700 | [diff] [blame] | 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 | |
Brian Attwell | 5a4c59d | 2014-06-27 14:16:09 -0700 | [diff] [blame] | 17 | <LinearLayout |
Katherine Kuan | 9b3dfd0 | 2011-07-21 17:16:20 -0700 | [diff] [blame] | 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:layout_width="match_parent" |
Brian Attwell | 5a4c59d | 2014-06-27 14:16:09 -0700 | [diff] [blame] | 20 | android:layout_height="match_parent" |
| 21 | android:orientation="horizontal"> |
Katherine Kuan | 9b3dfd0 | 2011-07-21 17:16:20 -0700 | [diff] [blame] | 22 | |
Brian Attwell | 5a4c59d | 2014-06-27 14:16:09 -0700 | [diff] [blame] | 23 | <ImageView |
Katherine Kuan | 9b3dfd0 | 2011-07-21 17:16:20 -0700 | [diff] [blame] | 24 | android:id="@+id/save_menu_item" |
Yorke Lee | e7f3e4c | 2013-01-22 11:15:08 -0800 | [diff] [blame] | 25 | android:focusable="true" |
Brian Attwell | 5a4c59d | 2014-06-27 14:16:09 -0700 | [diff] [blame] | 26 | android:clickable="true" |
| 27 | android:layout_width="wrap_content" |
| 28 | android:layout_height="wrap_content" |
| 29 | android:layout_gravity="center_vertical" |
| 30 | android:layout_marginEnd="8dip" |
| 31 | android:src="@drawable/ic_done_wht_24dp" |
| 32 | style="?android:attr/actionButtonStyle" |
Brian Attwell | 3b442e4 | 2014-07-17 10:58:09 -0700 | [diff] [blame] | 33 | android:contentDescription="@string/menu_done" /> |
Katherine Kuan | 9b3dfd0 | 2011-07-21 17:16:20 -0700 | [diff] [blame] | 34 | |
Brian Attwell | 5a4c59d | 2014-06-27 14:16:09 -0700 | [diff] [blame] | 35 | <TextView |
| 36 | android:id="@+id/title" |
| 37 | android:layout_width="wrap_content" |
| 38 | android:layout_height="wrap_content" |
| 39 | android:layout_gravity="center_vertical" |
| 40 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 41 | android:textColor="@color/actionbar_text_color" |
| 42 | android:text="@string/menu_done" |
| 43 | style="@android:style/TextAppearance.Material.Widget.ActionBar.Title" /> |
Katherine Kuan | 9b3dfd0 | 2011-07-21 17:16:20 -0700 | [diff] [blame] | 44 | |
Brian Attwell | 5a4c59d | 2014-06-27 14:16:09 -0700 | [diff] [blame] | 45 | </LinearLayout> |