|
@@ -7,65 +7,21 @@
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
tools:context=".ui.main.setup.SplashFragment">
|
|
tools:context=".ui.main.setup.SplashFragment">
|
|
|
|
|
|
|
|
- <!-- TODO: Update blank fragment layout -->
|
|
|
|
|
-
|
|
|
|
|
- <androidx.cardview.widget.CardView
|
|
|
|
|
- android:id="@+id/cvIcon"
|
|
|
|
|
- android:layout_width="100dp"
|
|
|
|
|
- android:layout_height="100dp"
|
|
|
|
|
- android:layout_marginStart="32dp"
|
|
|
|
|
- android:layout_marginTop="64dp"
|
|
|
|
|
- android:layout_marginEnd="32dp"
|
|
|
|
|
- app:cardBackgroundColor="@android:color/black"
|
|
|
|
|
- app:cardCornerRadius="50dp"
|
|
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
-
|
|
|
|
|
- <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="match_parent">
|
|
|
|
|
-
|
|
|
|
|
- <ImageView
|
|
|
|
|
- android:id="@+id/imageView3"
|
|
|
|
|
- android:layout_width="85dp"
|
|
|
|
|
- android:layout_height="50dp"
|
|
|
|
|
- android:contentDescription="@string/app_name"
|
|
|
|
|
- android:scaleType="centerCrop"
|
|
|
|
|
- android:src="@mipmap/ic_launcher"
|
|
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
- </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
- </androidx.cardview.widget.CardView>
|
|
|
|
|
-
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/welcome_title"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:id="@+id/imageView3"
|
|
|
|
|
+ android:layout_width="@dimen/splash_ic_box_size"
|
|
|
|
|
+ android:layout_height="@dimen/splash_ic_box_size"
|
|
|
android:layout_marginStart="8dp"
|
|
android:layout_marginStart="8dp"
|
|
|
- android:layout_marginTop="64dp"
|
|
|
|
|
|
|
+ android:layout_marginLeft="8dp"
|
|
|
|
|
+ android:layout_marginTop="@dimen/splash_ic_box_marginTop"
|
|
|
android:layout_marginEnd="8dp"
|
|
android:layout_marginEnd="8dp"
|
|
|
- android:text="@string/setup_text_welcome"
|
|
|
|
|
- android:textSize="36sp"
|
|
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/cvIcon" />
|
|
|
|
|
-
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/welcome_text"
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginStart="32dp"
|
|
|
|
|
- android:layout_marginTop="8dp"
|
|
|
|
|
- android:layout_marginEnd="32dp"
|
|
|
|
|
- android:gravity="center"
|
|
|
|
|
- android:text="@string/setup_text_lets_get_you_set_up"
|
|
|
|
|
- android:textSize="18sp"
|
|
|
|
|
|
|
+ android:layout_marginRight="8dp"
|
|
|
|
|
+ android:contentDescription="@string/app_name"
|
|
|
|
|
+ android:scaleType="fitCenter"
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/welcome_title" />
|
|
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
|
|
+ app:srcCompat="@mipmap/ic_launcher" />
|
|
|
|
|
|
|
|
<Button
|
|
<Button
|
|
|
android:id="@+id/setup_splash_button_start"
|
|
android:id="@+id/setup_splash_button_start"
|
|
@@ -73,8 +29,49 @@
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
|
|
|
+ android:layout_marginRight="16dp"
|
|
|
android:layout_marginBottom="16dp"
|
|
android:layout_marginBottom="16dp"
|
|
|
android:text="@string/setup_button_start"
|
|
android:text="@string/setup_button_start"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/textView13"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
|
|
+ android:layout_marginLeft="8dp"
|
|
|
|
|
+ android:layout_marginTop="@dimen/splash_welcome_margin"
|
|
|
|
|
+ android:layout_marginEnd="8dp"
|
|
|
|
|
+ android:layout_marginRight="8dp"
|
|
|
|
|
+ android:text="@string/setup_welcome"
|
|
|
|
|
+ android:textSize="@dimen/splash_welcome_font_size"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/imageView3" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/textView15"
|
|
|
|
|
+ android:layout_width="@dimen/splash_welcome_text_width"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginStart="@dimen/splash_welcome_text_marginLeft"
|
|
|
|
|
+ android:layout_marginLeft="@dimen/splash_welcome_text_marginLeft"
|
|
|
|
|
+ android:layout_marginTop="@dimen/splash_welcome_text_marginTop"
|
|
|
|
|
+ android:text="@string/setup_welcome2"
|
|
|
|
|
+ android:textSize="@dimen/splash_welcome_text_font_size"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="@+id/imageView6"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/imageView6" />
|
|
|
|
|
+
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:id="@+id/imageView6"
|
|
|
|
|
+ android:layout_width="@dimen/splash_phone_width"
|
|
|
|
|
+ android:layout_height="@dimen/splash_phone_height"
|
|
|
|
|
+ android:layout_marginStart="@dimen/splash_phone_marginLeft"
|
|
|
|
|
+ android:layout_marginLeft="@dimen/splash_phone_marginLeft"
|
|
|
|
|
+ android:layout_marginTop="@dimen/splash_welcome_margin"
|
|
|
|
|
+ android:contentDescription="@string/content_description_my_phone"
|
|
|
|
|
+ android:scaleType="centerCrop"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/textView13"
|
|
|
|
|
+ app:srcCompat="@drawable/ic_my_phone" />
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|