mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 02:39:05 +01:00
133 lines
4.6 KiB
XML
133 lines
4.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.v4.widget.NestedScrollView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fillViewport="true">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:padding="@dimen/margin_activity_horizontal">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/layoutContact1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toLeftOf="@+id/introductionIcon"
|
|
android:gravity="top|center_horizontal"
|
|
android:orientation="vertical">
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
android:id="@+id/avatarContact1"
|
|
style="@style/BriarAvatar"
|
|
android:layout_width="@dimen/listitem_picture_size"
|
|
android:layout_height="@dimen/listitem_picture_size"
|
|
android:layout_marginEnd="@dimen/listitem_horizontal_margin"
|
|
android:layout_marginLeft="@dimen/listitem_horizontal_margin"
|
|
android:layout_marginRight="@dimen/listitem_horizontal_margin"
|
|
android:layout_marginStart="@dimen/listitem_horizontal_margin"
|
|
tools:src="@drawable/ic_launcher"/>
|
|
|
|
<TextView
|
|
android:id="@+id/nameContact1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/margin_small"
|
|
android:gravity="center"
|
|
android:textColor="@color/briar_text_primary"
|
|
android:textSize="@dimen/text_size_tiny"
|
|
tools:text="Contact 1"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
android:id="@+id/introductionIcon"
|
|
android:layout_width="@dimen/listitem_picture_size"
|
|
android:layout_height="@dimen/listitem_picture_size"
|
|
android:layout_centerHorizontal="true"
|
|
android:src="@drawable/ic_contact_introduction"
|
|
tools:ignore="ContentDescription"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/layoutContact2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toEndOf="@+id/introductionIcon"
|
|
android:layout_toRightOf="@+id/introductionIcon"
|
|
android:gravity="top|center_horizontal"
|
|
android:orientation="vertical">
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
android:id="@+id/avatarContact2"
|
|
style="@style/BriarAvatar"
|
|
android:layout_width="@dimen/listitem_picture_size"
|
|
android:layout_height="@dimen/listitem_picture_size"
|
|
android:layout_marginEnd="@dimen/listitem_horizontal_margin"
|
|
android:layout_marginLeft="@dimen/listitem_horizontal_margin"
|
|
android:layout_marginRight="@dimen/listitem_horizontal_margin"
|
|
android:layout_marginStart="@dimen/listitem_horizontal_margin"
|
|
android:transitionName="avatar"
|
|
tools:src="@drawable/ic_launcher"/>
|
|
|
|
<TextView
|
|
android:id="@+id/nameContact2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/margin_small"
|
|
android:gravity="center"
|
|
android:textColor="@color/briar_text_primary"
|
|
android:textSize="@dimen/text_size_tiny"
|
|
tools:text="Contact 2"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progressBar"
|
|
style="?android:attr/progressBarStyleLarge"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
tools:visibility="gone"/>
|
|
|
|
<TextView
|
|
android:id="@+id/introductionText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_marginTop="@dimen/margin_medium"
|
|
android:layout_weight="1"
|
|
android:gravity="top"
|
|
android:textColor="@color/briar_text_secondary"
|
|
android:textSize="@dimen/text_size_medium"
|
|
tools:text="@string/introduction_message_text"/>
|
|
|
|
<EditText
|
|
android:id="@+id/introductionMessageView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/margin_medium"
|
|
android:gravity="bottom"
|
|
android:hint="@string/introduction_message_hint"
|
|
android:inputType="text|textMultiLine|textCapSentences"
|
|
android:textColor="@color/briar_text_primary"
|
|
android:textColorHint="@color/briar_text_tertiary"/>
|
|
|
|
<Button
|
|
android:id="@+id/makeIntroductionButton"
|
|
style="@style/BriarButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/introduction_button"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
</android.support.v4.widget.NestedScrollView> |