session-android/res/layout/emoji_drawer.xml
Jake McGinty fa62b9bde2 clean up EmojiDrawer layout
Fixes #2940
Closes #3517
// FREEBIE
2015-07-06 16:50:22 -07:00

50 lines
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/container"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout android:background="?emoji_tab_strip_background"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="40dp">
<com.astuetz.PagerSlidingTabStrip android:id="@+id/tabs"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="match_parent"
android:background="?emoji_tab_strip_background"
app:pstsShouldExpand="true"
app:pstsTabPaddingLeftRight="@dimen/emoji_drawer_left_right_padding"
app:pstsUnderlineColor="?emoji_tab_underline"
app:pstsIndicatorColor="?emoji_tab_indicator"
app:pstsIndicatorHeight="@dimen/emoji_drawer_indicator_height" />
<View android:layout_width="1px"
android:layout_height="match_parent"
android:background="?emoji_tab_seperator"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp" />
<org.thoughtcrime.securesms.components.RepeatableImageKey
android:id="@+id/backspace"
android:background="?emoji_tab_strip_background"
android:src="@drawable/ic_backspace_grey600_24dp"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:layout_width="wrap_content"
android:layout_height="match_parent" />
</LinearLayout>
<android.support.v4.view.ViewPager
android:id="@+id/emoji_pager"
android:visibility="visible"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?emoji_background" />
</LinearLayout>