mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-30 02:09:20 +00:00
203 lines
No EOL
6 KiB
XML
203 lines
No EOL
6 KiB
XML
<?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"
|
|
android:layout_gravity="center"
|
|
android:background="@color/colorH"
|
|
android:gravity="center">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<SurfaceView
|
|
android:id="@+id/qrcodeCaptureSurface"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_weight="10"
|
|
android:visibility="visible"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_gravity="center"
|
|
android:orientation="vertical"
|
|
android:layout_weight="0.1"
|
|
android:gravity="center">
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:background="@color/colorH">
|
|
</View>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/relative_layout1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentTop="true"
|
|
android:background="@color/colorH">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/header_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="120dp"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginBottom="20dp"
|
|
android:layout_marginEnd="35dp"
|
|
android:layout_marginStart="35dp"
|
|
android:layout_marginTop="30dp"
|
|
android:gravity="center"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView3"
|
|
android:layout_width="65dp"
|
|
android:layout_height="65dp"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_centerVertical="true"
|
|
android:src="@drawable/logo_secure_phone_big"/>
|
|
|
|
<TextView
|
|
android:id="@+id/textView2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="10dp"
|
|
android:text="Bienvenue sur
|
|
Mobile Security Intense"
|
|
android:textColor="#595959"
|
|
android:textSize="20sp"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/step"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/header_text"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginTop="-20dp"
|
|
android:paddingBottom="10dp"
|
|
android:text="@string/assistant_step1"
|
|
android:textColor="#ff6600"
|
|
android:textSize="16.7sp"/>
|
|
|
|
<TextView
|
|
android:id="@+id/instruction"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_below="@+id/step"
|
|
android:layout_marginBottom="50dp"
|
|
android:gravity="center_vertical|center_horizontal"
|
|
android:lineSpacingExtra="0sp"
|
|
android:paddingEnd="35dp"
|
|
android:paddingStart="35dp"
|
|
android:text="@string/assistant_instruction1"
|
|
android:textColor="#000000"
|
|
android:textSize="20sp"/>
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/relative_layout2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="250dp"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_below="@+id/relative_layout1">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/bottom_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:orientation="horizontal">
|
|
|
|
<View
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:background="@color/colorH">
|
|
</View>
|
|
|
|
<ImageView
|
|
android:id="@+id/imageView4"
|
|
android:layout_width="250dp"
|
|
android:layout_height="250dp"
|
|
android:background="@color/transparent"
|
|
android:src="@drawable/avatar_mask_border"
|
|
android:visibility="visible"/>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/layout_button"
|
|
android:layout_width="250dp"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/colorH"
|
|
android:visibility="gone">
|
|
|
|
<Button
|
|
android:id="@+id/retour"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="40dp"
|
|
android:layout_below="@+id/valider"
|
|
android:background="#595959"
|
|
android:text="retour"
|
|
android:textColor="#ffffff"
|
|
android:visibility="visible"/>
|
|
|
|
<Button
|
|
android:id="@+id/valider"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="40dp"
|
|
android:layout_below="@+id/code_sms"
|
|
android:layout_marginBottom="15dp"
|
|
android:background="#ff6600"
|
|
android:text="valider"
|
|
android:textColor="#ffffff"
|
|
android:visibility="visible"/>
|
|
|
|
<EditText
|
|
android:id="@+id/code_sms"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="40dp"
|
|
android:layout_marginBottom="15dp"
|
|
android:background="#f3f3f3"
|
|
android:gravity="center"
|
|
android:inputType="number"
|
|
android:maxLines="1"
|
|
android:textAlignment="center"
|
|
android:textColor="@color/colorB"
|
|
android:visibility="visible"/>
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:background="@color/colorH">
|
|
</View>
|
|
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:background="@color/colorH">
|
|
</View>
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|
|
|
|
</RelativeLayout> |