Files
packages_apps_Settings/res/layout/settings_actionbar.xml
Amith Yamasani b61cf51d85 Breadcrumbs in the action bar for navigating up one level and showing current title.
Change-Id: I595e06549b888bd67c6dddd599a4cc77416c3a41
2010-09-12 11:47:26 -07:00

65 lines
2.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:padding="4dip"
android:gravity="center_vertical"
android:layout_width="wrap_content"
android:layout_height="match_parent">
<!-- ImageView
android:src="@drawable/ic_launcher_settings"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="4dip"
android:layout_marginRight="4dip"
/-->
<view class="com.android.settings.Settings$BreadCrumbs"
android:id="@+id/bread_crumbs"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:orientation="horizontal">
<TextView android:id="@+id/level_up_title"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center_vertical"
style="?android:attr/textAppearanceMediumInverse"
/>
<ImageView
android:id="@+id/level_divider"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginTop="4dip"
android:layout_marginBottom="4dip"
android:layout_marginLeft="12dip"
android:layout_marginRight="12dip"
android:src="@drawable/nav_divider"/>
<TextView android:id="@+id/level_current_title"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center_vertical"
style="?android:attr/textAppearanceMediumInverse"
/>
</view>
</LinearLayout>