aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-07-07 15:35:18 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-07-07 15:35:18 +0000
commit40fd7bf40f698b7670003cd28bc8db484c8615dc (patch)
tree4825e924f58b8dced9b569ae8b8fd5f53ebac169 /app/src/main/res/layout
parentba2a219168721680cd6e5e553a35a7cbf2614e22 (diff)
downloadinfinity-for-reddit-40fd7bf40f698b7670003cd28bc8db484c8615dc.tar
infinity-for-reddit-40fd7bf40f698b7670003cd28bc8db484c8615dc.tar.gz
infinity-for-reddit-40fd7bf40f698b7670003cd28bc8db484c8615dc.tar.bz2
infinity-for-reddit-40fd7bf40f698b7670003cd28bc8db484c8615dc.tar.lz
infinity-for-reddit-40fd7bf40f698b7670003cd28bc8db484c8615dc.tar.xz
infinity-for-reddit-40fd7bf40f698b7670003cd28bc8db484c8615dc.tar.zst
infinity-for-reddit-40fd7bf40f698b7670003cd28bc8db484c8615dc.zip
Prepare to add composing private message feature.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/activity_send_private_message.xml98
1 files changed, 98 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_send_private_message.xml b/app/src/main/res/layout/activity_send_private_message.xml
new file mode 100644
index 00000000..3938e90d
--- /dev/null
+++ b/app/src/main/res/layout/activity_send_private_message.xml
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.coordinatorlayout.widget.CoordinatorLayout 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:id="@+id/coordinator_layout_send_private_message_activity"
+ tools:context=".Activity.SendPrivateMessageActivity">
+
+ <com.google.android.material.appbar.AppBarLayout
+ android:id="@+id/appbar_layout_send_private_message_activity"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:theme="@style/AppTheme.AppBarOverlay">
+
+ <androidx.appcompat.widget.Toolbar
+ android:id="@+id/toolbar_send_private_message_activity"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:minHeight="?attr/actionBarSize"
+ app:navigationIcon="?attr/homeAsUpIndicator"
+ app:popupTheme="@style/AppTheme.PopupOverlay" />
+
+ </com.google.android.material.appbar.AppBarLayout>
+
+ <androidx.core.widget.NestedScrollView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ app:layout_behavior="@string/appbar_scrolling_view_behavior">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <EditText
+ android:id="@+id/username_edit_text_send_private_message_activity"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="#00000000"
+ android:gravity="top"
+ android:hint="@string/send_message_username_hint"
+ android:inputType="textCapSentences|textMultiLine"
+ android:paddingTop="16dp"
+ android:paddingStart="16dp"
+ android:paddingEnd="16dp"
+ android:paddingBottom="16dp"
+ android:textColor="?attr/primaryTextColor"
+ android:textSize="?attr/content_font_18"
+ android:fontFamily="?attr/content_font_family" />
+
+ <View
+ android:id="@+id/divider_1_send_private_message_activity"
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ android:layout_marginBottom="16dp" />
+
+ <EditText
+ android:id="@+id/subjet_edit_text_send_private_message_activity"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="#00000000"
+ android:gravity="top"
+ android:hint="@string/send_message_subject_hint"
+ android:inputType="textCapSentences|textMultiLine"
+ android:paddingStart="16dp"
+ android:paddingEnd="16dp"
+ android:paddingBottom="16dp"
+ android:textColor="?attr/primaryTextColor"
+ android:textSize="?attr/content_font_18"
+ android:fontFamily="?attr/content_font_family" />
+
+ <View
+ android:id="@+id/divider_2_send_private_message_activity"
+ android:layout_width="match_parent"
+ android:layout_height="1dp"
+ android:layout_marginBottom="16dp" />
+
+ <EditText
+ android:id="@+id/content_edit_text_send_private_message_activity"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="#00000000"
+ android:gravity="top"
+ android:hint="@string/send_message_content_hint"
+ android:inputType="textCapSentences|textMultiLine"
+ android:paddingStart="16dp"
+ android:paddingEnd="16dp"
+ android:paddingBottom="16dp"
+ android:textColor="?attr/primaryTextColor"
+ android:textSize="?attr/content_font_18"
+ android:fontFamily="?attr/content_font_family" />
+
+ </LinearLayout>
+
+ </androidx.core.widget.NestedScrollView>
+
+</androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file