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 | 135 |
1 files changed, 135 insertions, 0 deletions
diff --git a/ui/echo/src/main/res/layout/echo_activity.xml b/ui/echo/src/main/res/layout/echo_activity.xml new file mode 100644 index 000000000..3c5590d3a --- /dev/null +++ b/ui/echo/src/main/res/layout/echo_activity.xml @@ -0,0 +1,135 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout + 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" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:importantForAccessibility="no" /> + + <RelativeLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:fitsSystemWindows="true"> + + <ImageView + android:id="@+id/echoProgressImage" + android:layout_width="match_parent" + android:layout_height="4dp" + android:layout_marginHorizontal="16dp" + android:layout_marginTop="16dp" + android:importantForAccessibility="no" + android:layout_alignParentTop="true" + android:layout_alignParentStart="true" + android:layout_alignParentEnd="true" + android:layout_marginStart="16dp" + android:layout_marginEnd="16dp" /> + + <ImageView + android:id="@+id/closeButton" + android:layout_width="32dp" + android:layout_height="32dp" + android:layout_margin="16dp" + android:src="@drawable/ic_close_white" + android:contentDescription="@string/close_label" + android:layout_alignParentEnd="true" + android:layout_below="@id/echoProgressImage" /> + + <ImageView + android:layout_width="32dp" + android:layout_height="32dp" + android:layout_margin="16dp" + android:src="@drawable/logo_monochrome" + android:importantForAccessibility="no" + 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> |