aboutsummaryrefslogblamecommitdiff
path: root/app/src/main/res/layout/activity_lock_screen.xml
blob: e1e371688ea4b899cc3c3e7949c74132954f37b5 (plain) (tree)





















                                                                                                             

                                               









                                                                       

                                       




                                                                                
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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"
    tools:context=".activities.LockScreenActivity">

    <com.airbnb.lottie.LottieAnimationView
        android:id="@+id/lottie_animation_view"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center_horizontal"
        app:layout_constraintTop_toTopOf="parent"
        app:lottie_autoPlay="true"
        app:lottie_loop="true"
        app:lottie_rawRes="@raw/lock_screen" />

    <TextView
        android:id="@+id/text_view_lock_screen_activity"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="16dp"
        android:text="@string/lock_screen_text"
        android:textSize="?attr/font_20"
        android:fontFamily="?attr/font_family"
        app:layout_constraintTop_toBottomOf="@id/lottie_animation_view"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent" />

    <com.google.android.material.button.MaterialButton
        android:id="@+id/unlock_button_lock_screen_activity"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="16dp"
        android:text="@string/unlock"
        app:layout_constraintTop_toBottomOf="@id/text_view_lock_screen_activity"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent" />

</androidx.constraintlayout.widget.ConstraintLayout>