mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-02-03 20:59:36 +00:00
83 lines
No EOL
3.1 KiB
XML
83 lines
No EOL
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<data>
|
|
<import type="android.view.View" />
|
|
<variable
|
|
name="data"
|
|
type="org.linphone.activities.call.viewmodels.CallStatisticsViewModel" />
|
|
</data>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<include
|
|
layout="@layout/call_statistics_cell_header"
|
|
data="@{data}" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="?attr/dividerColor"/>
|
|
|
|
<LinearLayout
|
|
android:visibility="@{data.isExpanded() ? View.VISIBLE : View.GONE, default=gone}"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
style="@style/call_stats_title_font"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical|center"
|
|
android:layout_marginTop="10dp"
|
|
android:text="@string/call_stats_audio"
|
|
tools:gravity="center" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="start|center"
|
|
android:paddingLeft="5dp"
|
|
android:paddingRight="5dp"
|
|
android:paddingBottom="10dp"
|
|
android:orientation="vertical"
|
|
app:entries="@{data.audioStats}"
|
|
app:layout="@{@layout/call_single_statistic_cell}"/>
|
|
|
|
<TextView
|
|
android:visibility="@{data.isVideoEnabled ? View.VISIBLE : View.GONE, default=gone}"
|
|
style="@style/call_stats_title_font"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical|center"
|
|
android:text="@string/call_stats_video"
|
|
tools:gravity="center" />
|
|
|
|
<LinearLayout
|
|
android:visibility="@{data.isVideoEnabled ? View.VISIBLE : View.GONE, default=gone}"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="left|center"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="5dp"
|
|
android:paddingRight="5dp"
|
|
android:paddingBottom="10dp"
|
|
app:entries="@{data.videoStats}"
|
|
app:layout="@{@layout/call_single_statistic_cell}" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="?attr/dividerColor"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</layout> |