1
0
mirror of https://github.com/wulkanowy/wulkanowy.git synced 2024-11-14 16:50:27 -06:00
wulkanowy-mirror/app/src/main/res/layout/fragment_send_message.xml

146 lines
5.6 KiB
XML
Raw Normal View History

2019-02-24 08:11:32 -06:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:id="@+id/sendMessageContent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="14dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="10dp"
android:layout_marginRight="10dp"
android:text="@string/send_message_from"
android:textColor="@android:color/darker_gray"
android:textSize="18sp" />
<androidx.appcompat.widget.AppCompatEditText
android:id="@+id/sendMessageFromTextView"
android:layout_width="match_parent"
android:layout_height="38dp"
android:background="@android:color/transparent"
android:enabled="false"
android:textColor="?android:attr/textColorPrimaryNoDisable"
tools:text="Jan Kowalski" />
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?attr/dividerColor" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="14dp"
android:paddingLeft="14dp"
android:paddingTop="14dp"
android:paddingEnd="0dp"
android:paddingRight="0dp"
android:paddingBottom="14dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="10dp"
android:layout_marginRight="10dp"
android:text="@string/send_message_to"
android:textColor="@android:color/darker_gray"
android:textSize="18sp" />
<com.hootsuite.nachos.NachoTextView
android:id="@+id/sendMessageRecipientInput"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
android:inputType="text"
android:maxLines="1"
android:textColor="?attr/chipTextColor"
app:chipBackground="?attr/chipBackgroundColor" />
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?attr/dividerColor" />
<androidx.appcompat.widget.AppCompatEditText
android:id="@+id/sendMessageSubjectInput"
android:layout_width="match_parent"
android:layout_height="66dp"
android:background="@android:color/transparent"
android:hint="@string/send_message_subject"
android:inputType="text"
android:maxLines="1"
android:padding="14dp" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?attr/dividerColor" />
<androidx.appcompat.widget.AppCompatEditText
android:id="@+id/sendMessageContentInput"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/transparent"
android:gravity="top|start"
android:hint="@string/send_message_content"
android:inputType="textMultiLine"
android:paddingStart="14dp"
android:paddingLeft="14dp"
android:paddingTop="18dp"
android:paddingEnd="14dp"
android:paddingRight="14dp"
android:singleLine="false" />
</LinearLayout>
<androidx.coordinatorlayout.widget.CoordinatorLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/sendMessageEmpty"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:orientation="vertical"
android:visibility="gone">
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:minWidth="100dp"
android:minHeight="100dp"
app:srcCompat="@drawable/ic_more_messages_24dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/error_unknown"
android:textSize="20sp" />
</LinearLayout>
<ProgressBar
android:id="@+id/sendMessageProgress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:visibility="gone" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</RelativeLayout>