Add a backspace key to the emoji drawer

This commit is contained in:
Veeti Paananen
2014-07-31 01:37:04 +03:00
committed by Jake McGinty
parent 40ce0cebe0
commit 3597915d17
3 changed files with 41 additions and 5 deletions

View File

@@ -6,10 +6,25 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.astuetz.PagerSlidingTabStrip android:id="@+id/tabs"
android:background="#ff333333"
android:layout_width="match_parent"
android:layout_height="45dp" />
<LinearLayout android:background="#ff333333"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.astuetz.PagerSlidingTabStrip android:id="@+id/tabs"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="45dp" />
<ImageButton 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:layout_width="wrap_content"
android:layout_height="match_parent" />
</LinearLayout>
<android.support.v4.view.ViewPager android:id="@+id/emoji_pager"
android:visibility="visible"

View File

@@ -4,7 +4,7 @@
<dimen name="min_emoji_drawer_height">200dp</dimen>
<dimen name="emoji_drawer_item_padding">8dp</dimen>
<dimen name="emoji_drawer_indicator_height">2dp</dimen>
<dimen name="emoji_drawer_left_right_padding">15dp</dimen>
<dimen name="emoji_drawer_left_right_padding">8dp</dimen>
<dimen name="conversation_item_corner_radius">3dp</dimen>
<dimen name="conversation_item_drop_shadow_dist">2dp</dimen>
<dimen name="contact_selection_photo_size">50dp</dimen>