navigation_bar.xml 1.3 KB
Newer Older
1 2 3
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
4
    android:layout_height="@dimen/action_bar_height"
5 6 7 8 9 10 11
    android:background="@drawable/actionbar_bg"
    android:gravity="center_horizontal|center_vertical"
    android:orientation="horizontal" >

    <ImageView
        android:id="@+id/go_back"
        android:layout_width="wrap_content"
A
andrewleo 已提交
12
        android:layout_height="wrap_content"
13
        android:paddingRight ="@dimen/image_padding"
黄庆兵 已提交
14
        android:src="@drawable/btn_back"
A
andrewleo 已提交
15
        android:clickable="true" />
16 17 18 19 20 21 22 23

    <TextView
        android:id="@+id/nb_title"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:gravity="center"
        android:singleLine="true"
A
andrewleo 已提交
24
        android:text="@string/setting"
25 26 27 28 29 30
        android:textColor="@color/white"
        android:textSize="@dimen/text_size_big" />

    <ImageView
        android:id="@+id/btn_set"
        android:layout_width="wrap_content"
31
        android:padding="@dimen/image_padding"
A
andrewleo 已提交
32
        android:src="@drawable/btn_save"
33
        android:layout_height="wrap_content"
A
andrewleo 已提交
34
        android:clickable="true" />
35 36

</LinearLayout>