aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorDocile-Alligator <chineseperson5@gmail.com>2022-04-24 03:11:15 +0000
committerDocile-Alligator <chineseperson5@gmail.com>2022-04-24 03:11:15 +0000
commitbe4e73c504b55b95ac12820a4dfff131f3d0ca84 (patch)
tree1a981304b5457328ebcfddd4a3b4eba71dcb9241 /app/src/main/res/layout
parent3fa86984dce075f7646bdc6a83abf062c007c2aa (diff)
downloadinfinity-for-reddit-be4e73c504b55b95ac12820a4dfff131f3d0ca84.tar
infinity-for-reddit-be4e73c504b55b95ac12820a4dfff131f3d0ca84.tar.gz
infinity-for-reddit-be4e73c504b55b95ac12820a4dfff131f3d0ca84.tar.bz2
infinity-for-reddit-be4e73c504b55b95ac12820a4dfff131f3d0ca84.tar.lz
infinity-for-reddit-be4e73c504b55b95ac12820a4dfff131f3d0ca84.tar.xz
infinity-for-reddit-be4e73c504b55b95ac12820a4dfff131f3d0ca84.tar.zst
infinity-for-reddit-be4e73c504b55b95ac12820a4dfff131f3d0ca84.zip
Submit posts using another account is available in PostTextActivity.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/activity_post_text.xml27
-rw-r--r--app/src/main/res/layout/fragment_account_chooser_bottom_sheet.xml15
2 files changed, 42 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_post_text.xml b/app/src/main/res/layout/activity_post_text.xml
index 78728545..bd7174c8 100644
--- a/app/src/main/res/layout/activity_post_text.xml
+++ b/app/src/main/res/layout/activity_post_text.xml
@@ -39,6 +39,33 @@
android:layout_height="match_parent"
android:orientation="vertical">
+ <LinearLayout
+ android:id="@+id/account_linear_layout_post_text_activity"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingTop="16dp"
+ android:paddingBottom="16dp"
+ android:clickable="true"
+ android:focusable="true"
+ android:background="?attr/selectableItemBackground">
+
+ <pl.droidsonroids.gif.GifImageView
+ android:id="@+id/account_icon_gif_image_view_post_text_activity"
+ android:layout_width="24dp"
+ android:layout_height="24dp"
+ android:layout_marginStart="16dp" />
+
+ <TextView
+ android:id="@+id/account_name_text_view_post_text_activity"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:layout_marginStart="32dp"
+ android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family" />
+
+ </LinearLayout>
+
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
diff --git a/app/src/main/res/layout/fragment_account_chooser_bottom_sheet.xml b/app/src/main/res/layout/fragment_account_chooser_bottom_sheet.xml
new file mode 100644
index 00000000..bbe1ad65
--- /dev/null
+++ b/app/src/main/res/layout/fragment_account_chooser_bottom_sheet.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<FrameLayout 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"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ tools:context=".bottomsheetfragments.AccountChooserBottomSheetFragment">
+
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/recycler_view_account_chooser_bottom_sheet_fragment"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
+
+</FrameLayout> \ No newline at end of file