blob: 61e3acc469926ec179476138ab88247c2b6e7954 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/action_bar">
<!-- Add the up chevron to the icon -->
<ImageView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:src="@drawable/abc_ic_ab_back_holo_dark"/>
<ImageView
style="@style/action_bar_action"
android:layout_marginLeft="-13dp"
android:onClick="goHome" />
<View style="@style/action_bar_separator" />
<TextView
android:id="@+id/actionbar_title"
style="@style/action_bar_title" />
<ProgressBar
android:id="@+id/actionbar_progress"
style="@style/action_bar_progress"
android:visibility="gone" />
<View style="@style/action_bar_separator" />
<FrameLayout style="@style/action_bar_action">
<CheckBox
android:id="@+id/my_position"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:button="@drawable/ic_menu_myposition"
android:checked="false" />
</FrameLayout>
<!-- No overflow (...) button here since this menu is only shown on Gingerbread, which never
features an overflow menu -->
</LinearLayout>
|