summaryrefslogtreecommitdiff
path: root/main/res
diff options
context:
space:
mode:
authorSetup Wizard Team <android-setup-team-eng@google.com>2020-05-05 10:02:57 +0800
committerCating Lin <catinglin@google.com>2020-05-07 03:26:45 +0000
commitd520f469f449f64cab202d160fd3c35d6c8f54f7 (patch)
tree7569d0e863d201856867b4943d5a3d87b036db2e /main/res
parent0564078669999e2e240c9a5ca55e7cd5c28a7e04 (diff)
downloadsetupdesign-d520f469f449f64cab202d160fd3c35d6c8f54f7.tar.gz
Import updated Android Setupdesign Library 309863724
Copied from google3/third_party/java_src/android_libs/setupdesign Test: mm Bug: 155846468 Included changes: - 309863724 Fine tuning the progress illustration for better ux exper... - 308970672 Add description field for illustration_loading_screen lay... - 306581820 Support PartnerResource to customize packages to recipien... - 306566965 New progress illustration layout and related partner conf... - 305382237 Lower log level to prevent crash PiperOrigin-RevId: 309863724 Change-Id: I1820bd33788ab637f974ba7350d5d389271abcf8
Diffstat (limited to 'main/res')
-rw-r--r--main/res/layout/sud_glif_illustration_loading_screen.xml56
1 files changed, 56 insertions, 0 deletions
diff --git a/main/res/layout/sud_glif_illustration_loading_screen.xml b/main/res/layout/sud_glif_illustration_loading_screen.xml
new file mode 100644
index 0000000..581d5c6
--- /dev/null
+++ b/main/res/layout/sud_glif_illustration_loading_screen.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2020 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.google.android.setupdesign.GlifLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:id="@+id/setup_wizard_layout"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:ignore="UnusedResources">
+ <!-- Ignore UnusedResources: can be used by clients -->
+
+ <LinearLayout
+ android:id="@+id/default_content_container"
+ style="@style/SudContentFrame"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/sud_layout_description"
+ style="@style/SudDescription.Glif"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:visibility="invisible"/>
+
+ <com.google.android.setupdesign.view.FillContentLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="1">
+
+ <com.google.android.setupdesign.view.IllustrationVideoView
+ android:id="@+id/sud_illustration_video_view"
+ style="@style/SudContentIllustration"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" />
+
+ </com.google.android.setupdesign.view.FillContentLayout>
+
+ </LinearLayout>
+
+</com.google.android.setupdesign.GlifLayout>