• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3    Copyright (C) 2015 The Android Open Source Project
4
5    Licensed under the Apache License, Version 2.0 (the "License");
6    you may not use this file except in compliance with the License.
7    You may obtain a copy of the License at
8
9        http://www.apache.org/licenses/LICENSE-2.0
10
11    Unless required by applicable law or agreed to in writing, software
12    distributed under the License is distributed on an "AS IS" BASIS,
13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    See the License for the specific language governing permissions and
15    limitations under the License.
16-->
17
18<merge xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:tools="http://schemas.android.com/tools">
20
21    <com.android.setupwizardlib.view.NavigationBarButton
22        android:id="@+id/suw_navbar_back"
23        style="@style/SuwNavBarButtonStyle"
24        android:layout_width="wrap_content"
25        android:layout_height="match_parent"
26        android:contentDescription="@string/suw_back_button_label"
27        android:drawableLeft="@drawable/suw_navbar_ic_back"
28        android:drawableStart="@drawable/suw_navbar_ic_back"
29        tools:ignore="RtlHardcoded" />
30    <!-- Ignore RtlHardcoded: drawableLeft is needed for compatibility.
31         Will be overridden by drawableStart on versions that support it. -->
32
33    <View
34        android:layout_width="0dp"
35        android:layout_height="wrap_content"
36        android:layout_weight="1"
37        android:visibility="invisible" />
38
39    <com.android.setupwizardlib.view.NavigationBarButton
40        android:id="@+id/suw_navbar_more"
41        style="@style/SuwNavBarButtonStyle"
42        android:layout_width="wrap_content"
43        android:layout_height="match_parent"
44        android:contentDescription="@string/suw_more_button_label"
45        android:drawableEnd="@drawable/suw_navbar_ic_more"
46        android:drawableRight="@drawable/suw_navbar_ic_more"
47        android:gravity="end|center_vertical"
48        android:visibility="gone"
49        tools:ignore="RtlHardcoded" />
50    <!-- Ignore RtlHardcoded: drawableRight is needed for compatibility.
51         Will be overridden by drawableEnd on versions that support it. -->
52
53    <com.android.setupwizardlib.view.NavigationBarButton
54        android:id="@+id/suw_navbar_next"
55        style="@style/SuwNavBarButtonStyle"
56        android:layout_width="wrap_content"
57        android:layout_height="match_parent"
58        android:drawableEnd="@drawable/suw_navbar_ic_next"
59        android:drawableRight="@drawable/suw_navbar_ic_next"
60        android:gravity="end|center_vertical"
61        android:text="@string/suw_next_button_label"
62        tools:ignore="RtlHardcoded" />
63    <!-- Ignore RtlHardcoded: drawableRight is needed for compatibility.
64         Will be overridden by drawableEnd on versions that support it. -->
65
66</merge>
67