77 lines
3.1 KiB
XML
77 lines
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:orientation="vertical"
|
|
android:gravity="center_horizontal"
|
|
android:paddingLeft="@dimen/large_spacing"
|
|
android:paddingRight="@dimen/large_spacing"
|
|
android:paddingBottom="@dimen/large_spacing"
|
|
app:behavior_hideable="true"
|
|
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
|
|
|
|
<include layout="@layout/view_profile_picture"
|
|
android:id="@+id/profilePictureView"
|
|
android:layout_width="@dimen/large_profile_picture_size"
|
|
android:layout_height="@dimen/large_profile_picture_size"
|
|
android:layout_marginTop="@dimen/large_spacing"/>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/medium_spacing"
|
|
android:gravity="center">
|
|
|
|
<TextView
|
|
android:id="@+id/nameTextView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginStart="@dimen/small_spacing"
|
|
android:layout_marginEnd="@dimen/small_spacing"
|
|
android:textSize="@dimen/large_font_size"
|
|
android:textStyle="bold"
|
|
android:textColor="@color/text"
|
|
android:textAlignment="center"
|
|
tools:text="Incoming call from... big name here of a user" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_marginTop="@dimen/medium_spacing"
|
|
android:paddingVertical="@dimen/medium_spacing"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
style="@style/Widget.Session.Button.Common.ProminentOutline"
|
|
android:layout_marginHorizontal="@dimen/small_spacing"
|
|
android:id="@+id/acceptButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/medium_button_height"
|
|
android:gravity="center"
|
|
android:paddingLeft="@dimen/large_spacing"
|
|
android:paddingRight="@dimen/large_spacing"
|
|
android:text="Accept" />
|
|
|
|
<TextView
|
|
style="@style/Widget.Session.Button.Common.ProminentFilled"
|
|
android:backgroundTint="@color/destructive"
|
|
android:layout_marginHorizontal="@dimen/small_spacing"
|
|
android:id="@+id/declineButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/medium_button_height"
|
|
android:gravity="center"
|
|
android:paddingLeft="@dimen/large_spacing"
|
|
android:paddingRight="@dimen/large_spacing"
|
|
android:text="Decline" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |