Commit fd1283a2 authored by divyanshu's avatar divyanshu

Improvement in message notify layout

parent 98b0b8f6
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<solid android:color="@color/colorAccent" /> <solid android:color="@color/colorAccent" />
<size <size
android:width="20dp" android:width="24dp"
android:height="20dp" /> android:height="24dp" />
</shape> </shape>
\ No newline at end of file
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" 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 <androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_view" android:id="@+id/recycler_view"
...@@ -10,40 +11,33 @@ ...@@ -10,40 +11,33 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:scrollbars="vertical" /> android:scrollbars="vertical" />
<RelativeLayout <com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/button_fab"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentEnd="true" android:visibility="invisible"
android:layout_alignParentBottom="true" android:layout_margin="16dp"
app:layout_anchor="@id/recycler_view" android:src="@drawable/ic_arrow_downward_24dp"
app:layout_anchorGravity="bottom|end"> 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 <TextView
android:id="@+id/button_fab" android:id="@+id/text_count"
android:layout_alignParentEnd="true" android:layout_width="wrap_content"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_height="wrap_content" android:elevation="6dp"
android:visibility="invisible" android:gravity="center"
android:layout_margin="16dp" android:textColor="@color/colorWhite"
android:src="@drawable/ic_arrow_downward_24dp" android:visibility="invisible"
android:theme="@style/Theme.AppCompat" android:textSize="@dimen/message_time_text_size"
android:tint="@color/actionMenuColor" android:background="@drawable/round_textview"
app:backgroundTint="@color/colorWhite" tools:visibility="visible"
app:fabSize="mini" /> tools:text="1"
android:layout_gravity="center_vertical"
<TextView app:layout_anchor="@id/button_fab"
android:id="@+id/text_count" app:layout_anchorGravity="end"/>
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>
</androidx.coordinatorlayout.widget.CoordinatorLayout> </androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment