Commit 8a22dea9 authored by Grigory Fedorov's avatar Grigory Fedorov

chat messages Autolink property set to "web", allows to open links in browser. But work bad so far.

parent dc29dedd
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
android:id="@+id/chat_message_incoming" android:id="@+id/chat_message_incoming"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants"
> >
<ImageView <ImageView
android:id="@+id/avatar" android:id="@+id/avatar"
...@@ -41,6 +42,8 @@ ...@@ -41,6 +42,8 @@
android:layout_toRightOf="@id/avatar" android:layout_toRightOf="@id/avatar"
android:layout_toEndOf="@id/avatar" android:layout_toEndOf="@id/avatar"
android:autoLink="web"
android:minWidth="142dp" android:minWidth="142dp"
android:paddingLeft="16dp" android:paddingLeft="16dp"
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
android:id="@+id/chat_message_incoming" android:id="@+id/chat_message_incoming"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants"
> >
<TextView <TextView
...@@ -36,6 +37,7 @@ ...@@ -36,6 +37,7 @@
android:layout_marginRight="6dp" android:layout_marginRight="6dp"
android:layout_marginEnd="6dp" android:layout_marginEnd="6dp"
android:autoLink="web"
android:minWidth="160dp" android:minWidth="160dp"
......
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