mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-25 11:05:25 +00:00
b89c20ff40
We can do this now that our minSdk is 19.
38 lines
1.3 KiB
XML
38 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout
|
|
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="wrap_content"
|
|
android:padding="2dp"
|
|
android:background="?selectableItemBackground">
|
|
|
|
<ImageView
|
|
android:id="@+id/emoji_image"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:paddingTop="6dp"
|
|
android:paddingEnd="6dp"
|
|
android:paddingStart="6dp"
|
|
android:adjustViewBounds="true"
|
|
android:scaleType="fitCenter" />
|
|
|
|
<org.thoughtcrime.securesms.components.emoji.AsciiEmojiView
|
|
android:id="@+id/emoji_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="6dp"
|
|
android:paddingEnd="6dp"
|
|
android:paddingStart="6dp"
|
|
android:visibility="gone"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/emoji_variation_hint"
|
|
android:layout_width="7dp"
|
|
android:layout_height="7dp"
|
|
android:layout_gravity="bottom|right|end"
|
|
app:srcCompat="@drawable/triangle_bottom_right_corner"
|
|
android:tint="@color/core_grey_25"/>
|
|
|
|
</FrameLayout> |