Add fade out/fade in animation in PS setup auto advancing screen

As per the UX requirement below changes are made in the screen:

- Position of "Setting up Pirvate Space" text is left aligned to layout
- Lading progress bar next to text removed
- Add fade out and fade in animation for header and image in auto
   advance screen

Bug: 310218201
Test: Manual
Change-Id: Iaf9c27761ce7f25368aac8f9a7d43eba20d66353
This commit is contained in:
josephpv
2023-11-14 19:14:03 +00:00
parent 62e64c592e
commit 5dea00c4e7
3 changed files with 44 additions and 24 deletions

View File

@@ -20,7 +20,6 @@
android:id="@+id/privatesapce_autoadvance_screen"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:sucHeaderText="@string/privatespace_lock_protected_title"
android:icon="@drawable/ic_privatespace_icon">
<LinearLayout style="@style/SudContentFrame"
android:layout_width="match_parent"
@@ -34,26 +33,14 @@
android:contentDescription="@null"
android:src="@drawable/privatespace_setup_flow_placeholder"/>
<LinearLayout
android:id="@+id/setup_progress"
<TextView
android:id="@+id/createMessage"
style="@style/PrivateSpaceSetupTextFontStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|right"
android:layout_margin="16dp"
android:orientation="horizontal">
<ProgressBar
android:id="@+id/progressBar_cyclic"
style="?android:attr/progressBarStyleSmall"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_gravity="center"/>
<TextView
android:id="@+id/createMessage"
style="@style/PrivateSpaceSetupTextFontStyle"
android:textSize="14sp"
android:text="@string/privatespace_setting_up_text"
android:layout_margin="8dp"/>
</LinearLayout>
android:textSize="14sp"
android:text="@string/privatespace_setting_up_text"
android:layout_marginBottom="24dp"/>
</LinearLayout>
</com.google.android.setupdesign.GlifLayout>