diff options
Diffstat (limited to 'ui/echo/src/main/res/layout/echo_activity.xml')
-rw-r--r-- | ui/echo/src/main/res/layout/echo_activity.xml | 94 |
1 files changed, 5 insertions, 89 deletions
diff --git a/ui/echo/src/main/res/layout/echo_activity.xml b/ui/echo/src/main/res/layout/echo_activity.xml index 3c5590d3a..593d941b6 100644 --- a/ui/echo/src/main/res/layout/echo_activity.xml +++ b/ui/echo/src/main/res/layout/echo_activity.xml @@ -1,16 +1,13 @@ <?xml version="1.0" encoding="utf-8"?> -<RelativeLayout +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:app="http://schemas.android.com/apk/res-auto" - xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent"> - <ImageView - android:id="@+id/echoImage" + <FrameLayout + android:id="@+id/screenContainer" android:layout_width="match_parent" - android:layout_height="match_parent" - android:importantForAccessibility="no" /> + android:layout_height="match_parent" /> <RelativeLayout android:layout_width="match_parent" @@ -49,87 +46,6 @@ android:layout_alignParentStart="true" android:layout_below="@id/echoProgressImage" /> - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_centerInParent="true" - android:padding="32dp" - android:orientation="vertical"> - - <TextView - android:id="@+id/aboveLabel" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:textAlignment="center" - android:textColor="#ffffff" - android:fontFamily="@font/sarabun_regular" - app:fontFamily="@font/sarabun_regular" - tools:text="text above" - style="@style/TextAppearance.Material3.TitleLarge" /> - - <TextView - android:id="@+id/largeLabel" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:textAlignment="center" - android:textColor="#ffffff" - android:layout_marginVertical="8dp" - android:fontFamily="@font/sarabun_semi_bold" - app:fontFamily="@font/sarabun_semi_bold" - tools:text="large" - style="@style/TextAppearance.Material3.DisplayLarge" - tools:targetApi="p" /> - - <TextView - android:id="@+id/belowLabel" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:textAlignment="center" - android:textColor="#ffffff" - android:fontFamily="@font/sarabun_regular" - app:fontFamily="@font/sarabun_regular" - tools:text="text below" - style="@style/TextAppearance.Material3.TitleLarge" /> - - <TextView - android:id="@+id/smallLabel" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:textAlignment="center" - android:textColor="#ffffff" - android:textSize="16sp" - android:layout_marginTop="32dp" - android:fontFamily="@font/sarabun_regular" - app:fontFamily="@font/sarabun_regular" - tools:text="small" /> - - </LinearLayout> - - <ImageView - android:id="@+id/echoLogo" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:visibility="gone" - android:layout_margin="32dp" - android:src="@drawable/echo" - android:importantForAccessibility="no" - android:layout_alignParentBottom="true" /> - - <com.google.android.material.button.MaterialButton - android:id="@+id/shareButton" - android:layout_width="wrap_content" - android:layout_height="56dp" - android:layout_centerHorizontal="true" - android:layout_alignParentBottom="true" - android:layout_margin="32dp" - android:text="@string/share_label" - android:drawableLeft="@drawable/ic_share" - android:textColor="#fff" - android:contentDescription="@string/share_label" - style="@style/Widget.Material3.Button.OutlinedButton" - app:strokeColor="#fff" - tools:ignore="RtlHardcoded" /> - </RelativeLayout> -</RelativeLayout> +</FrameLayout> |