Show emoji-only messages larger

Closes #6531
// FREEBIE
This commit is contained in:
Mateo Hernandez
2017-04-25 19:09:35 -05:00
committed by Moxie Marlinspike
parent 5ffee53faa
commit b17cba621e
6 changed files with 77 additions and 9 deletions

View File

@@ -75,7 +75,8 @@
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?conversation_item_received_text_primary_color"
android:textColorLink="?conversation_item_received_text_primary_color"
android:textSize="@dimen/conversation_item_body_text_size" />
android:textSize="@dimen/conversation_item_body_text_size"
app:scaleEmojis="true" />
<LinearLayout android:layout_width="wrap_content"
android:layout_height="wrap_content"

View File

@@ -65,7 +65,8 @@
android:textColor="?conversation_item_sent_text_primary_color"
android:textColorLink="?conversation_item_sent_text_primary_color"
android:textSize="@dimen/conversation_item_body_text_size"
tools:text="Mango pickle lorem ipsum" />
app:scaleEmojis="true"
tools:text="Mango pickle lorem ipsum"/>
<LinearLayout android:layout_width="wrap_content"
android:layout_height="wrap_content"

View File

@@ -194,5 +194,9 @@
<attr name="documentForegroundTintColor" format="color" />
<attr name="documentBackgroundTintColor" format="color" />
</declare-styleable>
<declare-styleable name="EmojiTextView">
<attr name="scaleEmojis" format="boolean" />
</declare-styleable>
</resources>