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
b003ad60
Commit
b003ad60
authored
Mar 11, 2018
by
Shailesh Baldaniya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: Add ripple effect on recyclerview items
parent
c1871a62
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
12 deletions
+24
-12
item_chat.xml
app/src/main/res/layout/item_chat.xml
+5
-4
item_member.xml
app/src/main/res/layout/item_member.xml
+5
-4
item_message.xml
app/src/main/res/layout/item_message.xml
+7
-4
message_attachment.xml
app/src/main/res/layout/message_attachment.xml
+1
-0
message_url_preview.xml
app/src/main/res/layout/message_url_preview.xml
+1
-0
dimens.xml
app/src/main/res/values/dimens.xml
+5
-0
No files found.
app/src/main/res/layout/item_chat.xml
View file @
b003ad60
...
...
@@ -4,10 +4,11 @@
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"12dp"
android:layout_marginEnd=
"@dimen/screen_edge_left_and_right_margins"
android:layout_marginStart=
"@dimen/screen_edge_left_and_right_margins"
android:layout_marginTop=
"12dp"
>
android:background=
"?android:attr/selectableItemBackground"
android:paddingStart=
"@dimen/screen_edge_left_and_right_padding"
android:paddingEnd=
"@dimen/screen_edge_left_and_right_padding"
android:paddingTop=
"@dimen/chat_item_top_and_bottom_padding"
android:paddingBottom=
"@dimen/chat_item_top_and_bottom_padding"
>
<include
android:id=
"@+id/layout_avatar"
...
...
app/src/main/res/layout/item_member.xml
View file @
b003ad60
...
...
@@ -4,10 +4,11 @@
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"6dp"
android:layout_marginEnd=
"@dimen/screen_edge_left_and_right_margins"
android:layout_marginStart=
"@dimen/screen_edge_left_and_right_margins"
android:layout_marginTop=
"6dp"
>
android:background=
"?android:attr/selectableItemBackground"
android:paddingBottom=
"@dimen/member_item_top_and_bottom_padding"
android:paddingEnd=
"@dimen/screen_edge_left_and_right_padding"
android:paddingStart=
"@dimen/screen_edge_left_and_right_padding"
android:paddingTop=
"@dimen/member_item_top_and_bottom_padding"
>
<include
android:id=
"@+id/layout_avatar"
...
...
app/src/main/res/layout/item_message.xml
View file @
b003ad60
...
...
@@ -4,10 +4,13 @@
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"6dp"
android:layout_marginEnd=
"@dimen/screen_edge_left_and_right_margins"
android:layout_marginStart=
"@dimen/screen_edge_left_and_right_margins"
android:layout_marginTop=
"6dp"
>
android:background=
"?android:attr/selectableItemBackground"
android:clickable=
"true"
android:paddingStart=
"@dimen/screen_edge_left_and_right_padding"
android:paddingEnd=
"@dimen/screen_edge_left_and_right_padding"
android:paddingTop=
"@dimen/message_item_top_and_bottom_padding"
android:paddingBottom=
"@dimen/message_item_top_and_bottom_padding"
android:focusable=
"true"
>
<include
android:id=
"@+id/layout_avatar"
...
...
app/src/main/res/layout/message_attachment.xml
View file @
b003ad60
...
...
@@ -5,6 +5,7 @@
android:id=
"@+id/attachment_container"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"?android:attr/selectableItemBackground"
android:paddingStart=
"72dp"
android:paddingEnd=
"@dimen/screen_edge_left_and_right_margins"
android:orientation=
"vertical"
>
...
...
app/src/main/res/layout/message_url_preview.xml
View file @
b003ad60
...
...
@@ -6,6 +6,7 @@
android:id=
"@+id/url_preview_layout"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"?android:attr/selectableItemBackground"
android:paddingStart=
"72dp"
android:paddingEnd=
"24dp"
>
...
...
app/src/main/res/values/dimens.xml
View file @
b003ad60
...
...
@@ -4,6 +4,11 @@
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen
name=
"screen_edge_left_and_right_margins"
>
16dp
</dimen>
<dimen
name=
"screen_edge_left_and_right_padding"
>
16dp
</dimen>
<dimen
name=
"chat_item_top_and_bottom_padding"
>
12dp
</dimen>
<dimen
name=
"message_item_top_and_bottom_padding"
>
6dp
</dimen>
<dimen
name=
"member_item_top_and_bottom_padding"
>
6dp
</dimen>
<dimen
name=
"edit_text_margin"
>
10dp
</dimen>
<dimen
name=
"edit_text_drawable_padding"
>
16dp
</dimen>
...
...
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