Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xabber-android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
xabber-android
Commits
d09750c8
Commit
d09750c8
authored
Sep 04, 2015
by
Grigory Fedorov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Emoticons keyboard backgroud changed.
parent
3c093a52
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
10 deletions
+8
-10
EmojiconsPopup.java
...n/java/github/ankushsachdeva/emojicon/EmojiconsPopup.java
+2
-0
emojicon_grid.xml
app/emojicon/src/main/res/layout/emojicon_grid.xml
+0
-2
emojicons.xml
app/emojicon/src/main/res/layout/emojicons.xml
+6
-8
No files found.
app/emojicon/src/main/java/github/ankushsachdeva/emojicon/EmojiconsPopup.java
View file @
d09750c8
...
@@ -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
());
}
}
/**
/**
...
...
app/emojicon/src/main/res/layout/emojicon_grid.xml
View file @
d09750c8
...
@@ -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"
...
...
app/emojicon/src/main/res/layout/emojicons.xml
View file @
d09750c8
...
@@ -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>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment