Commit d09750c8 authored by Grigory Fedorov's avatar Grigory Fedorov

Emoticons keyboard backgroud changed.

parent 3c093a52
...@@ -30,6 +30,7 @@ import java.util.List; ...@@ -30,6 +30,7 @@ import java.util.List;
import android.app.Activity; import android.app.Activity;
import android.content.Context; import android.content.Context;
import android.graphics.Rect; import android.graphics.Rect;
import android.graphics.drawable.BitmapDrawable;
import android.os.Handler; import android.os.Handler;
import android.os.SystemClock; import android.os.SystemClock;
import android.support.v4.view.PagerAdapter; import android.support.v4.view.PagerAdapter;
...@@ -85,6 +86,7 @@ public class EmojiconsPopup extends PopupWindow implements ViewPager.OnPageChang ...@@ -85,6 +86,7 @@ public class EmojiconsPopup extends PopupWindow implements ViewPager.OnPageChang
//default size //default size
setSize((int) mContext.getResources().getDimension(R.dimen.keyboard_height), LayoutParams.MATCH_PARENT); setSize((int) mContext.getResources().getDimension(R.dimen.keyboard_height), LayoutParams.MATCH_PARENT);
setBackgroundDrawable(new BitmapDrawable());
} }
/** /**
......
...@@ -18,8 +18,6 @@ ...@@ -18,8 +18,6 @@
android:id="@+id/Emoji_GridView" android:id="@+id/Emoji_GridView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@android:color/transparent"
android:cacheColorHint="@android:color/transparent"
android:columnWidth="40dip" android:columnWidth="40dip"
android:horizontalSpacing="0dip" android:horizontalSpacing="0dip"
android:numColumns="auto_fit" android:numColumns="auto_fit"
......
...@@ -16,9 +16,10 @@ ...@@ -16,9 +16,10 @@
--> -->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@drawable/keyboard_background_holo"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent"
android:background="@android:color/darker_gray">
<LinearLayout <LinearLayout
android:id="@+id/emojis_tab" android:id="@+id/emojis_tab"
android:layout_width="match_parent" android:layout_width="match_parent"
...@@ -105,15 +106,12 @@ ...@@ -105,15 +106,12 @@
android:id="@+id/emojis_backspace" android:id="@+id/emojis_backspace"
android:src="@drawable/sym_keyboard_delete_holo_dark"/> android:src="@drawable/sym_keyboard_delete_holo_dark"/>
</LinearLayout> </LinearLayout>
<android.support.v4.view.ViewPager <android.support.v4.view.ViewPager
android:layout_below="@id/emojis_tab" android:layout_below="@id/emojis_tab"
android:id="@+id/emojis_pager" android:id="@+id/emojis_pager"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentBottom="true"/> android:layout_alignParentBottom="true"/>
<View
android:layout_width="match_parent"
android:layout_height="1px"
android:layout_below="@id/emojis_tab"
android:background="#8f8f8f"/>
</RelativeLayout> </RelativeLayout>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment