Replace autoadvance screens with waiting screen in PS setup
This change replaces the auto advancing screens shown during private space setup flow with a single loading screen. Recording: b/332652637#comment3 Bug: 332652637 Test: Manual Change-Id: I470e5c6ece16cfefd0734d3daadf1d8efe963f63
This commit is contained in:
@@ -1,46 +0,0 @@
|
||||
<!--
|
||||
~ Copyright (C) 2023 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:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/private_space_autoadvance_screen"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:icon="@drawable/ic_private_space_icon">
|
||||
<LinearLayout style="@style/SudContentFrame"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
<com.airbnb.lottie.LottieAnimationView
|
||||
android:id="@+id/lottie_animation"
|
||||
style="@style/SudContentIllustration"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
app:lottie_rawRes="@null"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/createMessage"
|
||||
style="@style/PrivateSpaceSetupTextFontStyle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
android:text="@string/private_space_setting_up_text"
|
||||
android:layout_marginBottom="24dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
</com.google.android.setupdesign.GlifLayout>
|
||||
@@ -25,6 +25,6 @@
|
||||
android:icon="@drawable/ic_delete_accent"
|
||||
app:sudUsePartnerHeavyTheme="true"
|
||||
app:sudIllustrationType="default"
|
||||
app:sudDescriptionText = "@string/private_space_confirm_deletion_summary"
|
||||
app:sudDescriptionText = "@string/private_space_few_moments_text"
|
||||
app:sucHeaderText="@string/private_space_confirm_deletion_header">
|
||||
</com.google.android.setupdesign.GlifLoadingLayout>
|
||||
30
res/layout/private_space_create_screen.xml
Normal file
30
res/layout/private_space_create_screen.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (C) 2024 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.GlifLoadingLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/private_space_create_screen"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:icon="@drawable/ic_private_space_icon"
|
||||
app:sudUsePartnerHeavyTheme="true"
|
||||
app:sudIllustrationType="default"
|
||||
app:sudDescriptionText = "@string/private_space_few_moments_text"
|
||||
app:sucHeaderText="@string/private_space_setting_up_text">
|
||||
</com.google.android.setupdesign.GlifLoadingLayout>
|
||||
Reference in New Issue
Block a user