zezung27 / api-mymeostore

1 stars 0 forks source link

mini_call_layout #15

Closed zezung27 closed 1 year ago

zezung27 commented 1 year ago

<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" xmlns:app="http://schemas.android.com/apk/res-auto" android:paddingHorizontal="5dp" android:paddingVertical="10dp" android:background="@drawable/border_popup_window">

<ImageView
    android:id="@+id/imgLeftCallMini"
    android:src="@mipmap/ic_launcher"
    android:layout_width="40dp"
    android:layout_height="40dp"
    android:layout_centerVertical="true"
    android:layout_alignParentLeft="true"/>

<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginHorizontal="10dp"
    android:layout_centerVertical="true"
    android:layout_toRightOf="@id/imgLeftCallMini"
    android:layout_toLeftOf="@id/listActionsMiniCall"
    android:orientation="vertical">

    <TextView
        android:id="@+id/phoneMiniCall"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="5dp"
        android:text="0389974664"
        android:textStyle="bold"
        android:textColor="@color/white" />

    <TextView
        android:id="@+id/nameMiniCall"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="Incomming call"
        android:textColor="@color/white"/>

</LinearLayout>
<LinearLayout
    android:id="@+id/listActionsMiniCall"
    android:layout_alignParentRight="true"
    android:layout_centerVertical="true"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:orientation="horizontal">

    <com.airbnb.lottie.LottieAnimationView
        android:id="@+id/phone_accept"
        android:layout_width="40dp"
        android:layout_height="40dp"
        android:visibility="gone"
        android:layout_marginEnd="10dp"
        app:lottie_rawRes="@raw/call_accept"
        app:lottie_autoPlay="true"
        app:lottie_loop="true"/>

    <com.airbnb.lottie.LottieAnimationView
        android:id="@+id/phone_reject"
        android:layout_width="40dp"
        android:layout_height="40dp"
        android:visibility="gone"
        app:lottie_rawRes="@raw/call_reject"
        app:lottie_autoPlay="true"
        app:lottie_loop="true"/>
</LinearLayout>