For top layout use FrameLayout than GlifLayout

In these xml files we are having nested GlifLayout, that I think
messes up the UI

Bug: 237169259
Test: Manual
Change-Id: I9df8b1b7b5c19c61b92b30432bc7d78325876425
This commit is contained in:
Ayush Sharma
2022-09-15 14:21:58 +00:00
parent cb97ad28c7
commit 3dcf68f321
2 changed files with 6 additions and 10 deletions

View File

@@ -14,16 +14,14 @@
~ See the License for the specific language governing permissions and
~ limitations under the License
-->
<com.google.android.setupdesign.GlifLayout
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/setup_wizard_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout="@layout/sud_glif_blank_template">
android:layout_height="match_parent">
<include
layout="@layout/confirm_lock_password_base"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_horizontal" />
</com.google.android.setupdesign.GlifLayout>
</FrameLayout>

View File

@@ -13,16 +13,14 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<com.google.android.setupdesign.GlifLayout
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/setup_wizard_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout="@layout/sud_glif_blank_template">
android:layout_height="match_parent">
<include
layout="@layout/confirm_lock_pattern_base"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_horizontal" />
</com.google.android.setupdesign.GlifLayout>
</FrameLayout>