aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/res')
-rw-r--r--src/main/res/drawable-hdpi/ic_web_grey600_48.pngbin0 -> 476 bytes
-rw-r--r--src/main/res/drawable-mdpi/ic_web_grey600_48.pngbin0 -> 345 bytes
-rw-r--r--src/main/res/drawable-xhdpi/ic_web_grey600_48.pngbin0 -> 788 bytes
-rw-r--r--src/main/res/drawable-xxhdpi/ic_web_grey600_48.pngbin0 -> 1014 bytes
-rw-r--r--src/main/res/drawable-xxxhdpi/ic_web_grey600_48.pngbin0 -> 2346 bytes
-rw-r--r--src/main/res/layout/link_layout.xml26
-rw-r--r--src/main/res/layout/message_content.xml3
7 files changed, 9 insertions, 20 deletions
diff --git a/src/main/res/drawable-hdpi/ic_web_grey600_48.png b/src/main/res/drawable-hdpi/ic_web_grey600_48.png
new file mode 100644
index 000000000..6f5d6d238
--- /dev/null
+++ b/src/main/res/drawable-hdpi/ic_web_grey600_48.png
Binary files differ
diff --git a/src/main/res/drawable-mdpi/ic_web_grey600_48.png b/src/main/res/drawable-mdpi/ic_web_grey600_48.png
new file mode 100644
index 000000000..0aa17eabf
--- /dev/null
+++ b/src/main/res/drawable-mdpi/ic_web_grey600_48.png
Binary files differ
diff --git a/src/main/res/drawable-xhdpi/ic_web_grey600_48.png b/src/main/res/drawable-xhdpi/ic_web_grey600_48.png
new file mode 100644
index 000000000..51d89ff49
--- /dev/null
+++ b/src/main/res/drawable-xhdpi/ic_web_grey600_48.png
Binary files differ
diff --git a/src/main/res/drawable-xxhdpi/ic_web_grey600_48.png b/src/main/res/drawable-xxhdpi/ic_web_grey600_48.png
new file mode 100644
index 000000000..cab977e14
--- /dev/null
+++ b/src/main/res/drawable-xxhdpi/ic_web_grey600_48.png
Binary files differ
diff --git a/src/main/res/drawable-xxxhdpi/ic_web_grey600_48.png b/src/main/res/drawable-xxxhdpi/ic_web_grey600_48.png
new file mode 100644
index 000000000..095e00936
--- /dev/null
+++ b/src/main/res/drawable-xxxhdpi/ic_web_grey600_48.png
Binary files differ
diff --git a/src/main/res/layout/link_layout.xml b/src/main/res/layout/link_layout.xml
index 68e7a6cc7..bdd7469be 100644
--- a/src/main/res/layout/link_layout.xml
+++ b/src/main/res/layout/link_layout.xml
@@ -5,27 +5,26 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="5dp"
- android:gravity="center"
- android:orientation="horizontal">
+ android:gravity="center">
<ImageView
android:id="@+id/rich_link_image"
android:layout_width="80dp"
android:layout_height="80dp"
+ android:padding="2dp"
android:scaleType="centerCrop" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:orientation="vertical"
- android:padding="2dp">
+ android:orientation="vertical">
<TextView
android:id="@+id/rich_link_title"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
+ android:layout_height="match_parent"
android:ellipsize="end"
- android:maxLines="1"
+ android:maxLines="2"
android:padding="2dp"
android:textAppearance="@style/TextAppearance.Conversations.Body2"
tools:text="Data" />
@@ -33,23 +32,12 @@
<TextView
android:id="@+id/rich_link_desp"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
+ android:layout_height="match_parent"
android:ellipsize="end"
- android:maxLines="4"
+ android:maxLines="3"
android:padding="2dp"
android:textAppearance="@style/TextAppearance.Conversations.Status"
tools:text="Data" />
- <TextView
- android:id="@+id/rich_link_url"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:ellipsize="end"
- android:maxLines="1"
- android:padding="2dp"
- android:textAppearance="@style/TextAppearance.Conversations.Body1.Secondary"
- android:visibility="gone"
- tools:text="Data" />
-
</LinearLayout>
</LinearLayout> \ No newline at end of file
diff --git a/src/main/res/layout/message_content.xml b/src/main/res/layout/message_content.xml
index be2bbf3db..bf96cef95 100644
--- a/src/main/res/layout/message_content.xml
+++ b/src/main/res/layout/message_content.xml
@@ -31,7 +31,8 @@
<de.pixart.messenger.ui.widget.RichLinkView
android:id="@+id/richLinkView"
android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
+ android:layout_height="wrap_content"
+ android:maxHeight="80dp" />
<de.pixart.messenger.ui.widget.CopyTextView
android:id="@+id/message_body"