• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
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/EditEventCustomActionButton">
29
30        <ImageView
31            android:src="@drawable/ic_menu_cancel_holo_light"
32            style="@style/EditEventCustomActionButtonImage" />
33        <TextView
34            android:text="@string/discard_label"
35            style="@style/EditEventCustomActionButtonText" />
36
37    </LinearLayout>
38
39    <!-- id must match corresponding menu item id -->
40    <LinearLayout
41        android:id="@+id/action_done"
42        style="@style/EditEventCustomActionButton">
43
44        <ImageView
45            android:src="@drawable/ic_menu_done_holo_light"
46            style="@style/EditEventCustomActionButtonImage" />
47        <TextView
48            android:text="@string/save_label"
49            style="@style/EditEventCustomActionButtonText" />
50
51    </LinearLayout>
52
53
54</LinearLayout>
55