Updated app icon, started drawer menu content
|
|
@ -1,13 +1,13 @@
|
|||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:name="vector"
|
||||
android:width="29dp"
|
||||
android:height="28dp"
|
||||
android:viewportWidth="29"
|
||||
android:viewportHeight="28">
|
||||
android:width="24dp"
|
||||
android:height="25dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="25">
|
||||
<path
|
||||
android:name="path"
|
||||
android:pathData="M 14.5 2.333 C 8.06 2.333 2.833 7.56 2.833 14 C 2.833 20.44 8.06 25.667 14.5 25.667 C 20.94 25.667 26.167 20.44 26.167 14 C 26.167 7.56 20.94 2.333 14.5 2.333 Z M 20.333 15.167 L 15.667 15.167 L 15.667 19.834 L 13.333 19.834 L 13.333 15.167 L 8.667 15.167 L 8.667 12.834 L 13.333 12.834 L 13.333 8.167 L 15.667 8.167 L 15.667 12.834 L 20.333 12.834 L 20.333 15.167 Z"
|
||||
android:pathData="M 13 7.5 L 11 7.5 L 11 11.5 L 7 11.5 L 7 13.5 L 11 13.5 L 11 17.5 L 13 17.5 L 13 13.5 L 17 13.5 L 17 11.5 L 13 11.5 L 13 7.5 Z M 12 2.5 C 6.48 2.5 2 6.98 2 12.5 C 2 18.02 6.48 22.5 12 22.5 C 17.52 22.5 22 18.02 22 12.5 C 22 6.98 17.52 2.5 12 2.5 Z M 12 20.5 C 7.59 20.5 4 16.91 4 12.5 C 4 8.09 7.59 4.5 12 4.5 C 16.41 4.5 20 8.09 20 12.5 C 20 16.91 16.41 20.5 12 20.5 Z"
|
||||
android:fillColor="#fe5e00"
|
||||
android:strokeWidth="1"/>
|
||||
</vector>
|
||||
|
|
|
|||
13
app/src/main/res/drawable/arrow.xml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:name="vector"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:name="path"
|
||||
android:pathData="M 8.295 8.115 L 12.875 12.705 L 8.295 17.295 L 9.705 18.705 L 15.705 12.705 L 9.705 6.705 L 8.295 8.115 Z"
|
||||
android:fillColor="#6c7a87"
|
||||
android:strokeWidth="1"/>
|
||||
</vector>
|
||||
13
app/src/main/res/drawable/dot_menu.xml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:name="vector"
|
||||
android:width="4dp"
|
||||
android:height="16dp"
|
||||
android:viewportWidth="4"
|
||||
android:viewportHeight="16">
|
||||
<path
|
||||
android:name="path_1"
|
||||
android:pathData="M 2 4 C 3.1 4 4 3.1 4 2 C 4 0.9 3.1 0 2 0 C 0.9 0 0 0.9 0 2 C 0 3.1 0.9 4 2 4 Z M 2 6 C 0.9 6 0 6.9 0 8 C 0 9.1 0.9 10 2 10 C 3.1 10 4 9.1 4 8 C 4 6.9 3.1 6 2 6 Z M 2 12 C 0.9 12 0 12.9 0 14 C 0 15.1 0.9 16 2 16 C 3.1 16 4 15.1 4 14 C 4 12.9 3.1 12 2 12 Z"
|
||||
android:fillColor="#6c7a87"
|
||||
android:strokeWidth="1"/>
|
||||
</vector>
|
||||
13
app/src/main/res/drawable/help.xml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:name="vector"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:name="path_1"
|
||||
android:pathData="M 11 18 L 13 18 L 13 16 L 11 16 L 11 18 Z M 12 2 C 6.48 2 2 6.48 2 12 C 2 17.52 6.48 22 12 22 C 17.52 22 22 17.52 22 12 C 22 6.48 17.52 2 12 2 Z M 12 20 C 7.59 20 4 16.41 4 12 C 4 7.59 7.59 4 12 4 C 16.41 4 20 7.59 20 12 C 20 16.41 16.41 20 12 20 Z M 12 6 C 9.79 6 8 7.79 8 10 L 10 10 C 10 8.9 10.9 8 12 8 C 13.1 8 14 8.9 14 10 C 14 12 11 11.75 11 15 L 13 15 C 13 12.75 16 12.5 16 10 C 16 7.79 14.21 6 12 6 Z"
|
||||
android:fillColor="#6c7a87"
|
||||
android:strokeWidth="1"/>
|
||||
</vector>
|
||||
13
app/src/main/res/drawable/recordings.xml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:name="vector"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:name="path"
|
||||
android:pathData="M 7 21.5 L 9 21.5 L 9 23.5 L 7 23.5 L 7 21.5 Z M 12 12.5 C 13.66 12.5 15 11.16 15 9.5 L 15 3.5 C 15 1.84 13.66 0.5 12 0.5 C 10.34 0.5 9 1.84 9 3.5 L 9 9.5 C 9 11.16 10.34 12.5 12 12.5 Z M 11 3.5 C 11 2.95 11.45 2.5 12 2.5 C 12.55 2.5 13 2.95 13 3.5 L 13 9.5 C 13 10.06 12.56 10.5 12 10.5 C 11.45 10.5 11 10.05 11 9.5 L 11 3.5 Z M 11 21.5 L 13 21.5 L 13 23.5 L 11 23.5 L 11 21.5 Z M 15 21.5 L 17 21.5 L 17 23.5 L 15 23.5 L 15 21.5 Z M 19 9.5 L 17.3 9.5 C 17.3 12.5 14.76 14.6 12 14.6 C 9.24 14.6 6.7 12.5 6.7 9.5 L 5 9.5 C 5 12.91 7.72 15.73 11 16.22 L 11 19.5 L 13 19.5 L 13 16.22 C 16.28 15.73 19 12.91 19 9.5 Z"
|
||||
android:fillColor="#6c7a87"
|
||||
android:strokeWidth="1"/>
|
||||
</vector>
|
||||
13
app/src/main/res/drawable/settings.xml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:name="vector"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:name="path_1"
|
||||
android:pathData="M 19.459 12.98 C 19.499 12.66 19.529 12.34 19.529 12 C 19.529 11.66 19.499 11.34 19.459 11.02 L 21.569 9.37 C 21.759 9.22 21.809 8.95 21.689 8.73 L 19.689 5.27 C 19.599 5.11 19.429 5.02 19.249 5.02 C 19.189 5.02 19.129 5.03 19.079 5.05 L 16.589 6.05 C 16.069 5.65 15.509 5.32 14.899 5.07 L 14.519 2.42 C 14.489 2.18 14.279 2 14.029 2 L 10.029 2 C 9.779 2 9.569 2.18 9.539 2.42 L 9.159 5.07 C 8.549 5.32 7.989 5.66 7.469 6.05 L 4.979 5.05 C 4.919 5.03 4.859 5.02 4.799 5.02 C 4.629 5.02 4.459 5.11 4.369 5.27 L 2.369 8.73 C 2.239 8.95 2.299 9.22 2.489 9.37 L 4.599 11.02 C 4.559 11.34 4.529 11.67 4.529 12 C 4.529 12.33 4.559 12.66 4.599 12.98 L 2.489 14.63 C 2.299 14.78 2.249 15.05 2.369 15.27 L 4.369 18.73 C 4.459 18.89 4.629 18.98 4.809 18.98 C 4.869 18.98 4.929 18.97 4.979 18.95 L 7.469 17.95 C 7.989 18.35 8.549 18.68 9.159 18.93 L 9.539 21.58 C 9.569 21.82 9.779 22 10.029 22 L 14.029 22 C 14.279 22 14.489 21.82 14.519 21.58 L 14.899 18.93 C 15.509 18.68 16.069 18.34 16.589 17.95 L 19.079 18.95 C 19.139 18.97 19.199 18.98 19.259 18.98 C 19.429 18.98 19.599 18.89 19.689 18.73 L 21.689 15.27 C 21.809 15.05 21.759 14.78 21.569 14.63 L 19.459 12.98 Z M 17.479 11.27 C 17.519 11.58 17.529 11.79 17.529 12 C 17.529 12.21 17.509 12.43 17.479 12.73 L 17.339 13.86 L 18.229 14.56 L 19.309 15.4 L 18.609 16.61 L 17.339 16.1 L 16.299 15.68 L 15.399 16.36 C 14.969 16.68 14.559 16.92 14.149 17.09 L 13.089 17.52 L 12.929 18.65 L 12.729 20 L 11.329 20 L 11.139 18.65 L 10.979 17.52 L 9.919 17.09 C 9.489 16.91 9.089 16.68 8.689 16.38 L 7.779 15.68 L 6.719 16.11 L 5.449 16.62 L 4.749 15.41 L 5.829 14.57 L 6.719 13.87 L 6.579 12.74 C 6.549 12.43 6.529 12.2 6.529 12 C 6.529 11.8 6.549 11.57 6.579 11.27 L 6.719 10.14 L 5.829 9.44 L 4.749 8.6 L 5.449 7.39 L 6.719 7.9 L 7.759 8.32 L 8.659 7.64 C 9.089 7.32 9.499 7.08 9.909 6.91 L 10.969 6.48 L 11.129 5.35 L 11.329 4 L 12.719 4 L 12.909 5.35 L 13.069 6.48 L 14.129 6.91 C 14.559 7.09 14.959 7.32 15.359 7.62 L 16.269 8.32 L 17.329 7.89 L 18.599 7.38 L 19.299 8.59 L 18.229 9.44 L 17.339 10.14 L 17.479 11.27 Z M 12.029 8 C 9.819 8 8.029 9.79 8.029 12 C 8.029 14.21 9.819 16 12.029 16 C 14.239 16 16.029 14.21 16.029 12 C 16.029 9.79 14.239 8 12.029 8 Z M 12.029 14 C 10.929 14 10.029 13.1 10.029 12 C 10.029 10.9 10.929 10 12.029 10 C 13.129 10 14.029 10.9 14.029 12 C 14.029 13.1 13.129 14 12.029 14 Z"
|
||||
android:fillColor="#6c7a87"
|
||||
android:strokeWidth="1"/>
|
||||
</vector>
|
||||
5
app/src/main/res/drawable/shape_chip_gray_background.xml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
|
||||
<corners android:radius="90dp" />
|
||||
<solid android:color="@color/gray_3"/>
|
||||
</shape>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
|
||||
<corners android:radius="48dp" />
|
||||
<stroke android:color="@color/primary_color" android:width="1dp" />
|
||||
<solid android:color="@color/white"/>
|
||||
</shape>
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
bind:viewModel="@{viewModel}"
|
||||
bind:onAvatarClickListener="@{onAvatarClickListener}"
|
||||
layout="@layout/top_search_bar"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="@dimen/top_search_bar_height"
|
||||
android:layout_width="0dp"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/bottom_nav_bar"
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
bind:viewModel="@{viewModel}"
|
||||
bind:onAvatarClickListener="@{onAvatarClickListener}"
|
||||
layout="@layout/top_search_bar"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="@dimen/top_search_bar_height"
|
||||
android:layout_width="0dp"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/bottom_nav_bar"
|
||||
|
|
|
|||
112
app/src/main/res/layout/account_list_cell.xml
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<data>
|
||||
<import type="android.view.View" />
|
||||
<import type="android.graphics.Typeface" />
|
||||
<variable
|
||||
name="model"
|
||||
type="org.linphone.ui.main.contacts.model.ContactAvatarModel" />
|
||||
<variable
|
||||
name="onClickListener"
|
||||
type="View.OnClickListener" />
|
||||
</data>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:onClick="@{onClickListener}"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:background="@drawable/cell_background">
|
||||
|
||||
<io.getstream.avatarview.AvatarView
|
||||
android:id="@+id/avatar"
|
||||
android:layout_width="@dimen/avatar_list_cell_size"
|
||||
android:layout_height="@dimen/avatar_list_cell_size"
|
||||
android:layout_marginStart="12dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:adjustViewBounds="true"
|
||||
contactAvatar="@{model}"
|
||||
app:avatarViewInitials="JD"
|
||||
app:avatarViewPlaceholder="@drawable/contact_avatar"
|
||||
app:avatarViewInitialsBackgroundColor="@color/blue_outgoing_message"
|
||||
app:avatarViewInitialsTextColor="@color/gray_9"
|
||||
app:avatarViewInitialsTextSize="16sp"
|
||||
app:avatarViewInitialsTextStyle="bold"
|
||||
app:avatarViewShape="circle"
|
||||
app:avatarViewBorderColor="@color/trusted_blue"
|
||||
app:avatarViewBorderWidth="2dp"
|
||||
app:avatarViewIndicatorSizeCriteria="3"
|
||||
app:avatarViewIndicatorEnabled="true"
|
||||
app:avatarViewIndicatorDrawable="@drawable/trusted"
|
||||
app:avatarViewIndicatorPosition="bottomLeft"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
style="@style/default_text_style"
|
||||
android:id="@+id/name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:text="John Doe"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/gray_8"
|
||||
android:layout_marginStart="10dp"
|
||||
app:layout_constraintStart_toEndOf="@id/avatar"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@id/register_status"/>
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
style="@style/default_text_style_300"
|
||||
android:id="@+id/register_status"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:paddingStart="8dp"
|
||||
android:paddingEnd="8dp"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingBottom="4dp"
|
||||
android:background="@drawable/shape_chip_gray_background"
|
||||
android:gravity="center"
|
||||
android:text="Connected"
|
||||
android:textColor="@color/green_online"
|
||||
android:textSize="12sp"
|
||||
app:layout_constraintStart_toStartOf="@id/name"
|
||||
app:layout_constraintTop_toBottomOf="@id/name"
|
||||
app:layout_constraintBottom_toTopOf="@id/separator"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/menu"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:src="@drawable/dot_menu"
|
||||
android:paddingEnd="10dp"
|
||||
android:paddingStart="10dp"
|
||||
android:paddingTop="4dp"
|
||||
android:paddingBottom="4dp"
|
||||
app:tint="@color/gray_1"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/name"
|
||||
app:layout_constraintBottom_toBottomOf="@id/register_status" />
|
||||
|
||||
<View
|
||||
android:id="@+id/separator"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:background="@color/blue_outgoing_message"
|
||||
app:layout_constraintStart_toStartOf="@id/name"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"/>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</layout>
|
||||
|
|
@ -59,7 +59,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:background="@drawable/shape_round_orange_background"
|
||||
android:background="@drawable/shape_chip_orange_background"
|
||||
android:paddingStart="12dp"
|
||||
android:paddingEnd="12dp"
|
||||
android:paddingTop="6dp"
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@
|
|||
android:paddingBottom="13dp"
|
||||
android:paddingTop="13dp"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/shape_dialog_red_button_background"
|
||||
android:background="@drawable/shape_red_outlined_button_background"
|
||||
android:text="Letters don't match!"
|
||||
android:textSize="18sp"
|
||||
android:textColor="@color/red_danger"
|
||||
|
|
|
|||
167
app/src/main/res/layout/drawer_menu.xml
Normal file
|
|
@ -0,0 +1,167 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:bind="http://schemas.android.com/tools"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<data>
|
||||
<import type="android.view.View" />
|
||||
</data>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/brand_icon"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="32dp"
|
||||
android:layout_marginStart="26dp"
|
||||
android:layout_marginTop="30dp"
|
||||
android:src="@mipmap/ic_launcher_round"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
style="@style/default_text_style_800"
|
||||
android:id="@+id/brand_name"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="30dp"
|
||||
android:layout_marginTop="30dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:text="@string/app_name"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/gray_9"
|
||||
android:gravity="center_vertical"
|
||||
android:drawableEnd="@drawable/close"
|
||||
android:drawablePadding="15dp"
|
||||
app:drawableTint="@color/gray_9"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@id/brand_icon"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/brand_name"
|
||||
app:layout_constraintBottom_toTopOf="@id/add_account_background">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<include
|
||||
layout="@layout/account_list_cell" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/add_account_background"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:src="@drawable/shape_orange_outlined_button_background"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@id/add_account"
|
||||
app:layout_constraintBottom_toBottomOf="@id/add_account" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
style="@style/default_text_style_600"
|
||||
android:id="@+id/add_account"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="30dp"
|
||||
android:paddingTop="13dp"
|
||||
android:paddingBottom="13dp"
|
||||
android:text="Add an account"
|
||||
android:textSize="18sp"
|
||||
android:textColor="@color/primary_color"
|
||||
android:gravity="center_vertical"
|
||||
android:drawableStart="@drawable/add"
|
||||
android:drawablePadding="8dp"
|
||||
app:drawableTint="@color/primary_color"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@id/separator" />
|
||||
|
||||
<View
|
||||
android:id="@+id/separator"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginBottom="30dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="@color/blue_outgoing_message"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@id/settings" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
style="@style/default_text_style_700"
|
||||
android:id="@+id/settings"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:text="Settings"
|
||||
android:textSize="13sp"
|
||||
android:drawableStart="@drawable/settings"
|
||||
android:drawableEnd="@drawable/arrow"
|
||||
android:drawablePadding="8dp"
|
||||
app:drawableTint="@color/gray_1"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@id/recordings" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
style="@style/default_text_style_700"
|
||||
android:id="@+id/recordings"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:text="Recordings"
|
||||
android:textSize="13sp"
|
||||
android:drawableStart="@drawable/recordings"
|
||||
android:drawableEnd="@drawable/arrow"
|
||||
android:drawablePadding="8dp"
|
||||
app:drawableTint="@color/gray_1"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@id/help" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
style="@style/default_text_style_700"
|
||||
android:id="@+id/help"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:text="Help"
|
||||
android:textSize="13sp"
|
||||
android:drawableStart="@drawable/help"
|
||||
android:drawableEnd="@drawable/arrow"
|
||||
android:drawablePadding="8dp"
|
||||
app:drawableTint="@color/gray_1"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</layout>
|
||||
|
|
@ -39,7 +39,8 @@
|
|||
android:background="@color/white"
|
||||
android:layout_gravity="start">
|
||||
|
||||
<!-- TODO -->
|
||||
<include
|
||||
layout="@layout/drawer_menu" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
|
|
|||
|
|
@ -15,20 +15,20 @@
|
|||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="55dp"
|
||||
android:layout_height="@dimen/top_search_bar_height"
|
||||
android:background="@color/primary_color">
|
||||
|
||||
<androidx.constraintlayout.widget.Group
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:constraint_referenced_ids="avatar, title, search_toggle"
|
||||
android:visibility="@{viewModel.searchBarVisible ? View.GONE : View.VISIBLE, default=gone}" />
|
||||
android:visibility="@{viewModel.searchBarVisible ? View.GONE : View.VISIBLE}" />
|
||||
|
||||
<androidx.constraintlayout.widget.Group
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:constraint_referenced_ids="cancel_search, search, clear_field"
|
||||
android:visibility="@{viewModel.searchBarVisible ? View.VISIBLE : View.GONE}" />
|
||||
android:visibility="@{viewModel.searchBarVisible ? View.VISIBLE : View.GONE, default=gone}" />
|
||||
|
||||
<androidx.constraintlayout.widget.Barrier
|
||||
android:id="@+id/background_barrier"
|
||||
|
|
@ -40,13 +40,12 @@
|
|||
<io.getstream.avatarview.AvatarView
|
||||
android:onClick="@{onAvatarClickListener}"
|
||||
android:id="@+id/avatar"
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_width="@dimen/avatar_list_cell_size"
|
||||
android:layout_height="@dimen/avatar_list_cell_size"
|
||||
android:layout_marginStart="15dp"
|
||||
app:avatarViewBorderColor="@color/trusted_blue"
|
||||
app:avatarViewBorderWidth="2dp"
|
||||
app:avatarViewIndicatorSizeCriteria="3"
|
||||
app:avatarViewIndicatorBorderSizeCriteria="4"
|
||||
app:avatarViewIndicatorEnabled="true"
|
||||
app:avatarViewIndicatorDrawable="@drawable/trusted"
|
||||
app:avatarViewIndicatorPosition="bottomLeft"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
<monochrome android:drawable="@drawable/ic_launcher_foreground" />
|
||||
<background android:drawable="@color/primary_color" />
|
||||
<foreground android:drawable="@mipmap/linphone_launcher_icon_foreground" />
|
||||
<monochrome android:drawable="@mipmap/linphone_launcher_icon_foreground"/>
|
||||
</adaptive-icon>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
<monochrome android:drawable="@drawable/ic_launcher_foreground" />
|
||||
<background android:drawable="@color/primary_color" />
|
||||
<foreground android:drawable="@mipmap/linphone_launcher_icon_foreground" />
|
||||
<monochrome android:drawable="@mipmap/linphone_launcher_icon_foreground"/>
|
||||
</adaptive-icon>
|
||||
BIN
app/src/main/res/mipmap-hdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_round.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 6.4 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 982 B |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_round.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 5.9 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 7.3 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 2.8 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
|
Before Width: | Height: | Size: 5.8 KiB |
|
After Width: | Height: | Size: 9.3 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 6.1 KiB |
|
Before Width: | Height: | Size: 3.8 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
Normal file
|
After Width: | Height: | Size: 7.9 KiB |
|
Before Width: | Height: | Size: 7.6 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
|
@ -11,6 +11,8 @@
|
|||
<dimen name="avatar_big_size">100dp</dimen>
|
||||
<dimen name="avatar_in_call_size">120dp</dimen>
|
||||
|
||||
<dimen name="top_search_bar_height">55dp</dimen>
|
||||
|
||||
<dimen name="in_call_main_actions_menu_height">116dp</dimen>
|
||||
<dimen name="in_call_extra_actions_menu_height">237dp</dimen>
|
||||
<dimen name="in_call_all_actions_menu_height">353dp</dimen> <!-- sum of above two -->
|
||||
|
|
|
|||