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
fd1283a2
Commit
fd1283a2
authored
Jul 11, 2018
by
divyanshu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improvement in message notify layout
parent
98b0b8f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
35 deletions
+29
-35
round_textview.xml
app/src/main/res/drawable/round_textview.xml
+2
-2
message_list.xml
app/src/main/res/layout/message_list.xml
+27
-33
No files found.
app/src/main/res/drawable/round_textview.xml
View file @
fd1283a2
...
...
@@ -4,7 +4,7 @@
<solid
android:color=
"@color/colorAccent"
/>
<size
android:width=
"2
0
dp"
android:height=
"2
0
dp"
/>
android:width=
"2
4
dp"
android:height=
"2
4
dp"
/>
</shape>
\ No newline at end of file
app/src/main/res/layout/message_list.xml
View file @
fd1283a2
...
...
@@ -2,7 +2,8 @@
<androidx.coordinatorlayout.widget.CoordinatorLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
android:layout_height=
"match_parent"
xmlns:tools=
"http://schemas.android.com/tools"
>
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/recycler_view"
...
...
@@ -10,40 +11,33 @@
android:layout_height=
"match_parent"
android:scrollbars=
"vertical"
/>
<RelativeLayout
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id=
"@+id/button_fab"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentEnd=
"true"
android:layout_alignParentBottom=
"true"
app:layout_anchor=
"@id/recycler_view"
app:layout_anchorGravity=
"bottom|end"
>
android:visibility=
"invisible"
android:layout_margin=
"16dp"
android:src=
"@drawable/ic_arrow_downward_24dp"
android:theme=
"@style/Theme.AppCompat"
android:tint=
"@color/actionMenuColor"
app:backgroundTint=
"@color/colorWhite"
tools:visibility=
"visible"
android:layout_gravity=
"end|bottom"
/>
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id=
"@+id/button_fab"
android:layout_alignParentEnd=
"true"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:visibility=
"invisible"
android:layout_margin=
"16dp"
android:src=
"@drawable/ic_arrow_downward_24dp"
android:theme=
"@style/Theme.AppCompat"
android:tint=
"@color/actionMenuColor"
app:backgroundTint=
"@color/colorWhite"
app:fabSize=
"mini"
/>
<TextView
android:id=
"@+id/text_count"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:elevation=
"7dp"
android:padding=
"2dp"
android:gravity=
"center"
android:layout_margin=
"10dp"
android:textColor=
"@color/colorWhite"
android:visibility=
"invisible"
android:layout_alignParentEnd=
"true"
android:textSize=
"@dimen/message_time_text_size"
android:background=
"@drawable/round_textview"
/>
</RelativeLayout>
<TextView
android:id=
"@+id/text_count"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:elevation=
"6dp"
android:gravity=
"center"
android:textColor=
"@color/colorWhite"
android:visibility=
"invisible"
android:textSize=
"@dimen/message_time_text_size"
android:background=
"@drawable/round_textview"
tools:visibility=
"visible"
tools:text=
"1"
android:layout_gravity=
"center_vertical"
app:layout_anchor=
"@id/button_fab"
app:layout_anchorGravity=
"end"
/>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file
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