2018-11-28 19:15:30 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?><!--
|
2018-06-12 21:16:29 +03:00
|
|
|
~ Nextcloud Talk application
|
|
|
|
~
|
|
|
|
~ @author Mario Danic
|
2021-05-04 15:42:46 +03:00
|
|
|
~ @author Andy Scherzinger
|
|
|
|
~ Copyright (C) 2021 Andy Scherzinger <info@andy-scherzinger.de>
|
2018-06-12 21:16:29 +03:00
|
|
|
~ Copyright (C) 2017-2018 Mario Danic <mario@lovelyhq.com>
|
|
|
|
~
|
|
|
|
~ This program is free software: you can redistribute it and/or modify
|
|
|
|
~ it under the terms of the GNU General Public License as published by
|
|
|
|
~ the Free Software Foundation, either version 3 of the License, or
|
|
|
|
~ at your option) any later version.
|
|
|
|
~
|
|
|
|
~ This program is distributed in the hope that it will be useful,
|
|
|
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
~ GNU General Public License for more details.
|
|
|
|
~
|
|
|
|
~ You should have received a copy of the GNU General Public License
|
|
|
|
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
-->
|
2019-04-24 09:32:19 +03:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-11-28 19:15:30 +03:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
2018-12-07 18:54:50 +03:00
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<ImageView
|
2019-04-24 09:32:19 +03:00
|
|
|
android:id="@+id/backgroundImageView"
|
2018-12-07 18:54:50 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2021-05-04 15:42:46 +03:00
|
|
|
android:contentDescription="@null"
|
2019-04-24 09:32:19 +03:00
|
|
|
android:scaleType="centerCrop"
|
2018-12-07 18:54:50 +03:00
|
|
|
android:src="@color/grey950"
|
2019-04-24 09:32:19 +03:00
|
|
|
tools:srcCompat="@tools:sample/backgrounds/scenic" />
|
2018-06-12 21:16:29 +03:00
|
|
|
|
2019-08-30 13:12:40 +03:00
|
|
|
<LinearLayout
|
2021-10-28 14:02:18 +03:00
|
|
|
android:id="@+id/callAnswerButtons"
|
2019-08-30 13:12:40 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:animateLayoutChanges="true"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<com.facebook.drawee.view.SimpleDraweeView
|
|
|
|
android:id="@+id/callAnswerVoiceOnlyView"
|
|
|
|
android:layout_width="60dp"
|
|
|
|
android:layout_height="60dp"
|
|
|
|
android:layout_margin="24dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:backgroundImage="@color/nc_darkGreen"
|
|
|
|
app:placeholderImage="@drawable/ic_call_white_24dp"
|
2021-02-04 10:29:09 +03:00
|
|
|
app:roundAsCircle="true"
|
2021-05-04 15:42:46 +03:00
|
|
|
tools:visibility="visible" />
|
2019-08-30 13:12:40 +03:00
|
|
|
|
|
|
|
<com.facebook.drawee.view.SimpleDraweeView
|
2021-10-28 01:10:06 +03:00
|
|
|
android:id="@+id/hangupButton"
|
2019-08-30 13:12:40 +03:00
|
|
|
android:layout_width="60dp"
|
|
|
|
android:layout_height="60dp"
|
|
|
|
android:layout_margin="24dp"
|
|
|
|
app:backgroundImage="@color/nc_darkRed"
|
|
|
|
app:placeholderImage="@drawable/ic_call_end_white_24px"
|
|
|
|
app:roundAsCircle="true" />
|
|
|
|
|
|
|
|
<com.facebook.drawee.view.SimpleDraweeView
|
|
|
|
android:id="@+id/callAnswerCameraView"
|
|
|
|
android:layout_width="60dp"
|
|
|
|
android:layout_height="60dp"
|
|
|
|
android:layout_margin="24dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:backgroundImage="@color/nc_darkGreen"
|
|
|
|
app:placeholderImage="@drawable/ic_videocam_white_24px"
|
2021-02-04 10:29:09 +03:00
|
|
|
app:roundAsCircle="true"
|
2021-05-04 15:42:46 +03:00
|
|
|
tools:visibility="visible" />
|
2019-08-30 13:12:40 +03:00
|
|
|
</LinearLayout>
|
|
|
|
|
2018-07-10 15:34:35 +03:00
|
|
|
<RelativeLayout
|
2021-10-28 14:02:18 +03:00
|
|
|
android:id="@+id/incomingCallRelativeLayout"
|
2018-06-12 21:16:29 +03:00
|
|
|
android:layout_width="match_parent"
|
2018-11-28 19:15:30 +03:00
|
|
|
android:layout_height="wrap_content">
|
2018-06-12 21:16:29 +03:00
|
|
|
|
2018-07-10 15:34:35 +03:00
|
|
|
<TextView
|
2021-02-04 10:29:09 +03:00
|
|
|
android:id="@+id/incomingCallVoiceOrVideoTextView"
|
2018-07-10 15:34:35 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="16dp"
|
2021-03-22 14:39:06 +03:00
|
|
|
android:text="@string/nc_call_unknown"
|
2018-07-10 15:34:35 +03:00
|
|
|
android:textAlignment="center"
|
2019-03-04 20:35:38 +03:00
|
|
|
android:textColor="@color/controller_call_incomingCallTextView"
|
2018-07-10 15:34:35 +03:00
|
|
|
android:textSize="16sp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2018-11-28 19:15:30 +03:00
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2018-07-10 15:34:35 +03:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/conversationNameTextView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-02-04 10:29:09 +03:00
|
|
|
android:layout_below="@+id/incomingCallVoiceOrVideoTextView"
|
2018-07-29 15:03:52 +03:00
|
|
|
android:layout_marginBottom="16dp"
|
2018-07-10 15:34:35 +03:00
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:textAlignment="center"
|
|
|
|
android:textColor="@color/white"
|
2021-04-01 17:33:40 +03:00
|
|
|
android:textSize="22sp"
|
|
|
|
android:textStyle="bold"
|
2018-11-28 19:15:30 +03:00
|
|
|
tools:text="Victor Gregorius Magnus" />
|
2018-07-10 15:34:35 +03:00
|
|
|
|
2021-02-04 10:29:09 +03:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/incomingCallDescriptionTextView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-05-04 15:42:46 +03:00
|
|
|
android:layout_below="@+id/conversationNameTextView"
|
2021-02-04 10:29:09 +03:00
|
|
|
android:text="@string/nc_call_incoming"
|
|
|
|
android:textAlignment="center"
|
|
|
|
android:textColor="@color/controller_call_incomingCallTextView"
|
2021-05-04 15:42:46 +03:00
|
|
|
android:textSize="16sp" />
|
2021-02-04 10:29:09 +03:00
|
|
|
|
2018-07-10 15:34:35 +03:00
|
|
|
</RelativeLayout>
|
2018-06-12 21:16:29 +03:00
|
|
|
|
2019-04-24 09:32:19 +03:00
|
|
|
<com.facebook.drawee.view.SimpleDraweeView
|
2018-06-14 22:26:54 +03:00
|
|
|
android:id="@+id/avatarImageView"
|
|
|
|
android:layout_width="@dimen/avatar_size_very_big"
|
|
|
|
android:layout_height="@dimen/avatar_size_very_big"
|
2019-04-24 09:32:19 +03:00
|
|
|
android:layout_centerInParent="true"
|
|
|
|
app:roundAsCircle="true"
|
|
|
|
tools:srcCompat="@tools:sample/avatars[0]" />
|
2018-06-12 21:16:29 +03:00
|
|
|
|
2019-04-24 09:32:19 +03:00
|
|
|
</RelativeLayout>
|