Android O SDK.
[android_tools.git] / sdk / platforms / android-26 / data / res / layout / action_bar_home.xml
blob5341f3d035c789c24cf4e5e4b80d3734042883aa
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2010 The Android Open Source Project
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
8           http://www.apache.org/licenses/LICENSE-2.0
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 -->
17 <view xmlns:android="http://schemas.android.com/apk/res/android"
18       class="com.android.internal.widget.ActionBarView$HomeView"
19       android:layout_width="wrap_content"
20       android:layout_height="match_parent">
21     <ImageView android:id="@android:id/up"
22                android:src="?android:attr/homeAsUpIndicator"
23                android:layout_gravity="center_vertical|start"
24                android:visibility="gone"
25                android:layout_width="wrap_content"
26                android:layout_height="wrap_content"
27                android:layout_marginEnd="-8dip" />
28     <ImageView android:id="@android:id/home"
29                android:layout_width="wrap_content"
30                android:layout_height="wrap_content"
31                android:layout_marginEnd="8dip"
32                android:layout_marginTop="@android:dimen/action_bar_icon_vertical_padding"
33                android:layout_marginBottom="@android:dimen/action_bar_icon_vertical_padding"
34                android:layout_gravity="center"
35                android:adjustViewBounds="true"
36                android:scaleType="fitCenter" />
37 </view>