Andrew Sapperstein | 51b6f56 | 2013-10-17 21:08:24 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2013 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 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | android:layout_width="match_parent" |
| 19 | android:layout_height="match_parent" |
| 20 | android:orientation="horizontal" |
| 21 | android:divider="?android:attr/dividerVertical" |
| 22 | android:dividerPadding="12dip" |
| 23 | android:showDividers="middle"> |
| 24 | |
| 25 | <!-- id must match corresponding menu item id --> |
| 26 | <LinearLayout |
| 27 | android:id="@+id/action_cancel" |
| 28 | style="@style/CustomActionButton"> |
| 29 | |
| 30 | <ImageView |
Jin Cao | 0c998d4 | 2014-08-13 16:46:39 -0700 | [diff] [blame] | 31 | android:src="@drawable/ic_cancel_holo_light" |
Andrew Sapperstein | 51b6f56 | 2013-10-17 21:08:24 -0700 | [diff] [blame] | 32 | style="@style/CustomActionButtonImage" /> |
| 33 | <TextView |
| 34 | android:text="@string/cancel" |
| 35 | style="@style/CustomActionButtonText" /> |
| 36 | |
| 37 | </LinearLayout> |
| 38 | |
| 39 | <!-- id must match corresponding menu item id --> |
| 40 | <LinearLayout |
| 41 | android:id="@+id/action_done" |
| 42 | style="@style/CustomActionButton"> |
| 43 | |
| 44 | <ImageView |
| 45 | android:src="@drawable/ic_menu_done_holo_light" |
| 46 | style="@style/CustomActionButtonImage" /> |
| 47 | <TextView |
| 48 | android:text="@string/done" |
| 49 | style="@style/CustomActionButtonText" /> |
| 50 | |
| 51 | </LinearLayout> |
| 52 | |
| 53 | </LinearLayout> |