new emoji category layout

Fixes #2962
Fixes #2954
Fixes #2941
// FREEBIE
This commit is contained in:
Jake McGinty
2015-05-18 14:33:11 -07:00
parent 082b6b35f8
commit 0ee46bbe5f
144 changed files with 103 additions and 135 deletions

View File

@@ -7,28 +7,34 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout android:background="#ff333333"
<LinearLayout android:background="@color/emoji_tab_strip_background"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="40dp">
<com.astuetz.PagerSlidingTabStrip android:id="@+id/tabs"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="45dp"
android:layout_height="match_parent"
android:background="@color/emoji_tab_strip_background"
app:pstsShouldExpand="true"
app:pstsTabPaddingLeftRight="@dimen/emoji_drawer_left_right_padding"
app:pstsUnderlineColor="@color/emoji_tab_underline"
app:pstsIndicatorColor="@color/emoji_tab_indicator"
app:pstsIndicatorHeight="@dimen/emoji_drawer_indicator_height"
app:pstsTextAllCaps="false"/>
app:pstsIndicatorHeight="@dimen/emoji_drawer_indicator_height" />
<View android:layout_width="1px"
android:layout_height="match_parent"
android:background="#ffcccccc"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp" />
<org.thoughtcrime.securesms.components.RepeatableImageKey
android:id="@+id/backspace"
android:src="@drawable/ic_emoji_backspace"
android:background="@color/emoji_tab_underline"
android:paddingLeft="@dimen/emoji_drawer_left_right_padding"
android:paddingRight="@dimen/emoji_drawer_left_right_padding"
android:background="@color/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" />
@@ -39,6 +45,6 @@
android:visibility="visible"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#ff333333" />
android:background="#ffeeeeee" />
</org.thoughtcrime.securesms.components.KeyboardAwareLinearLayout>