Created setup_preference for sw600dp-land, modeled after template_with_header in Setup Wizard. Copied over wide illustration, which is again a placeholder and needs real graphics from UX. Renamed SetupWizardHeader to SetupWizardIllustration. Added aspectRatio attribute to SetupWizardIllustration that, will set the aspect ratio of the top padding. If 0 or not specified, padding will not be set. Bug: 16349429 Change-Id: Ic2623ee0c0ee8864383d22da006b418b8c371bf0
38 lines
1.4 KiB
XML
38 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2014 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.
|
|
-->
|
|
|
|
<com.android.settings.widget.SetupWizardIllustration
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
|
|
android:id="@+id/title_area"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/grass"
|
|
android:foreground="@drawable/illustration_wifi"
|
|
android:tag="stickyContainer"
|
|
settings:aspectRatio="2.0">
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
style="@style/SetupTitle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:tag="sticky"
|
|
android:text="@string/wifi_setup_wizard_title"/>
|
|
|
|
</com.android.settings.widget.SetupWizardIllustration>
|