Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
74c79b79
Commit
74c79b79
authored
Oct 03, 2017
by
Filipe de Lima Brito
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update message_inline_attachment.xml
parent
bbdad87f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
83 additions
and
82 deletions
+83
-82
message_inline_attachment.xml
...widgets/src/main/res/layout/message_inline_attachment.xml
+83
-82
No files found.
rocket-chat-android-widgets/src/main/res/layout/message_inline_attachment.xml
View file @
74c79b79
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools
"
xmlns:fresco=
"http://schemas.android.com/apk/res-auto
"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
android:paddingTop
=
"4dp"
android:paddingBottom
=
"4dp"
>
xmlns:fresco=
"http://schemas.android.com/apk/res-auto
"
xmlns:tools=
"http://schemas.android.com/tools
"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
android:paddingBottom
=
"4dp"
android:paddingTop
=
"4dp"
>
<View
android:id=
"@+id/attachment_strip"
android:layout_width=
"3dp"
android:layout_height=
"match_parent"
android:layout_marginRight=
"5dp"
android:background=
"@color/inline_attachment_quote_line"
/>
android:id=
"@+id/attachment_strip"
android:layout_width=
"3dp"
android:layout_height=
"match_parent"
android:layout_marginEnd=
"5dp"
android:layout_marginRight=
"5dp"
android:background=
"@color/inline_attachment_quote_line"
/>
<LinearLayout
android:id=
"@+id/attachment_content"
android:layout_width=
"0px"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:orientation=
"vertical"
>
android:id=
"@+id/attachment_content"
android:layout_width=
"0px"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:orientation=
"vertical"
>
<LinearLayout
android:id=
"@+id/author_box"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:gravity=
"center_vertical
"
android:orientation=
"horizont
al"
android:layout_marginBottom=
"8dp
"
>
android:id=
"@+id/author_box"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"8dp
"
android:gravity=
"center_vertic
al"
android:orientation=
"horizontal
"
>
<com.facebook.drawee.view.SimpleDraweeView
android:id=
"@+id/author_icon"
android:layout_width=
"16dp"
android:layout_height=
"16dp"
tools:src=
"@drawable/circle_black
"
fresco:actualImageScaleType=
"fitCenter
"
/>
android:id=
"@+id/author_icon"
android:layout_width=
"16dp"
android:layout_height=
"16dp"
fresco:actualImageScaleType=
"fitCenter
"
tools:src=
"@drawable/circle_black
"
/>
<android.support.v4.widget.Space
android:layout_width=
"8dp"
android:layout_height=
"8dp"
/>
android:layout_width=
"8dp"
android:layout_height=
"8dp"
/>
<TextView
android:id=
"@+id/author_name"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textAppearance=
"@style/TextAppearance.RocketChat.MessageAttachment.Title.Link"
tools:text=
"Bradley Hilton"
/>
android:id=
"@+id/author_name"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textAppearance=
"@style/TextAppearance.RocketChat.MessageAttachment.Title.Link"
tools:text=
"Bradley Hilton"
/>
<android.support.v4.widget.Space
android:layout_width=
"8dp"
android:layout_height=
"8dp"
/>
android:layout_width=
"8dp"
android:layout_height=
"8dp"
/>
<TextView
android:id=
"@+id/timestamp"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
tools:text=
"14:53"
/>
android:id=
"@+id/timestamp"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
tools:text=
"14:53"
/>
</LinearLayout>
<TextView
android:id=
"@+id/title"
android:layout_width=
"match_par
ent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"8dp"
android:textAppearance=
"@style/TextAppearance.RocketChat.MessageAttachment.Title
"
android:background=
"?attr/selectableItemBackground
"
tools:text=
"Attachment Example"
/>
android:id=
"@+id/title"
android:layout_width=
"wrap_cont
ent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"8dp"
android:background=
"?attr/selectableItemBackground
"
android:textAppearance=
"@style/TextAppearance.RocketChat.MessageAttachment.Title
"
tools:text=
"Attachment Example"
/>
<LinearLayout
android:id=
"@+id/ref_box"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:gravity=
"center_vertical
"
android:orientation=
"horizont
al"
android:layout_marginBottom=
"8dp
"
>
android:id=
"@+id/ref_box"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"8dp
"
android:gravity=
"center_vertic
al"
android:orientation=
"horizontal
"
>
<com.facebook.drawee.view.SimpleDraweeView
android:id=
"@+id/thumb"
android:layout_width=
"32dp"
android:layout_height=
"32dp"
tools:src=
"@drawable/circle_black
"
fresco:actualImageScaleType=
"fitCenter
"
/>
android:id=
"@+id/thumb"
android:layout_width=
"32dp"
android:layout_height=
"32dp"
fresco:actualImageScaleType=
"fitCenter
"
tools:src=
"@drawable/circle_black
"
/>
<android.support.v4.widget.Space
android:layout_width=
"8dp"
android:layout_height=
"8dp"
/>
android:layout_width=
"8dp"
android:layout_height=
"8dp"
/>
<TextView
android:id=
"@+id/text"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
tools:text=
"Bradley Hilton"
/>
android:id=
"@+id/text"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
tools:text=
"Bradley Hilton"
/>
</LinearLayout>
<FrameLayout
android:id=
"@+id/image_container"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
android:id=
"@+id/image_container"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_marginBottom=
"8dp"
android:padding=
"5dp"
android:background=
"@drawable/inline_attachment_background"
>
<com.facebook.drawee.view.SimpleDraweeView
android:id=
"@+id/image"
android:layout_width=
"match_parent"
android:layout_height=
"150dp"
android:layout_marginBottom=
"8dp"
fresco:actualImageScaleType=
"fitStart"
/>
android:id=
"@+id/image"
android:layout_width=
"match_parent"
android:layout_height=
"200dp"
android:layout_gravity=
"center"
/>
<TextView
android:id=
"@+id/image_load"
android:layout_width=
"match_parent"
android:layout_height=
"15
0dp"
android:gravity=
"center_horizontal|bottom
"
android:paddingBottom=
"16dp
"
android:text=
"@string/click_to_load"
/>
android:id=
"@+id/image_load"
android:layout_width=
"match_parent"
android:layout_height=
"20
0dp"
android:layout_gravity=
"center
"
android:gravity=
"center_horizontal|bottom
"
android:paddingBottom=
"16dp"
android:text=
"@string/click_to_load"
/>
</FrameLayout>
<!-- audio -->
<!-- video -->
</LinearLayout>
</LinearLayout>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment