nekocode / emojix Goto Github PK
View Code? Open in Web Editor NEWImplementation of iOS style emoji on android.
License: Apache License 2.0
Implementation of iOS style emoji on android.
License: Apache License 2.0
请问资源文件夹下的emoji可以使用tingpng优化下大小吗
Is there a way to increase the size of the emojis. Everything works fine but the size is so much smaller than the text when inline...
The emoji is incredibly small
Can't find a way to make it working with my recyclerview implementation.
For a university school project I will be making some edits to your documentation which will aim to make writing more technical
Please add edits if you would like :)
java.lang.IllegalStateException: A factory has already been set on this LayoutInflater
at android.view.LayoutInflater.setFactory2(LayoutInflater.java:308)
at cn.nekocode.emojix.EmojixLayoutInflater.setFactory2(EmojixLayoutInflater.java:85)
at android.support.v4.view.LayoutInflaterCompatLollipop.setFactory(LayoutInflaterCompatLollipop.java:24)
at android.support.v4.view.LayoutInflaterCompat$LayoutInflaterCompatImplV21.setFactory(LayoutInflaterCompat.java:55)
at android.support.v4.view.LayoutInflaterCompat.setFactory(LayoutInflaterCompat.java:85)
at android.support.v4.app.Fragment.getLayoutInflater(Fragment.java:1118)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1104)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1286)
at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:758)
at android.support.v4.app.FragmentManagerImpl.execSingleAction(FragmentManager.java:1632)
at android.support.v4.app.BackStackRecord.commitNowAllowingStateLoss(BackStackRecord.java:637)
at android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:143)
at android.support.v4.view.ViewPager.populate(ViewPager.java:1235)
at android.support.v4.view.ViewPager.populate(ViewPager.java:1083)
at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1609)
at android.view.View.measure(View.java:17621)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:900)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:638)
at android.view.View.measure(View.java:17621)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5548)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
at android.view.View.measure(View.java:17621)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5548)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
at android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:135)
at android.view.View.measure(View.java:17621)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5548)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1467)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:747)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:638)
at android.view.View.measure(View.java:17621)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5548)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
at android.view.View.measure(View.java:17621)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5548)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1467)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:747)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:638)
at android.view.View.measure(View.java:17621)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5548)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2636)
at android.view.View.measure(View.java:17621)
at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2081)
at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1217)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1423)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1105)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6204)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:799)
at android.view.Choreographer.doCallbacks(Choreographer.java:612)
at android.view.Choreographer.doFrame(Choreographer.java:581)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:785)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(
at javax.crypto.Cipher.checkInputOffsetAndCount(Cipher.java:1038)
at javax.crypto.Cipher.doFinal(Cipher.java:1374)
at com.huawei.android.hicloud.util.a.a(Aes128Cbc.java:264)
at com.huawei.android.hicloud.util.a.b(Aes128Cbc.java:131)
at com.huawei.android.hicloud.util.z.c(STUtils.java:105)
at com.huawei.android.hicloud.common.account.a.b(AccountInfo.java:203)
at com.huawei.android.hicloud.common.account.a.a(AccountInfo.java:158)
at com.huawei.android.hicloud.HicloudApplication.onCreate(HicloudApplication.java:70)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4850)
at android.app.ActivityThread.access$1900(ActivityThread.java:165)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1442)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5593)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:967)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)
at javax.crypto.Cipher.checkInputOffsetAndCount(Cipher.java:1038)
at javax.crypto.Cipher.doFinal(Cipher.java:1374)
at com.huawei.android.hicloud.util.a.a(Aes128Cbc.java:264)
at com.huawei.android.hicloud.util.a.b(Aes128Cbc.java:131)
at com.huawei.android.hicloud.util.z.c(STUtils.java:105)
at com.huawei.android.hicloud.common.account.a.b(AccountInfo.java:204)
at com.huawei.android.hicloud.common.account.a.a(AccountInfo.java:158)
at com.huawei.android.hicloud.HicloudApplication.onCreate(HicloudApplication.java:70)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1012)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4850)
at android.app.ActivityThread.access$1900(ActivityThread.java:165)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1442)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5593)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:967)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)
Error:Could not find com.github.nekocode:Emojix:{1.2.0}.
Required by:
CloudClassroom_Android:app:unspecified
Search in build.gradle files
Error:Could not find com.github.nekocode:Emojix:{lastest-version}.
Required by:
SyllabusApplication:app:unspecified
Search in build.gradle files
查阅了源码之后,发现在田中emojisMap的时候,还有很多非\u开头的emoji,而是数字127897这样的,请问这种对应的emoji如何使用
最新版本是多少
lastest-version填什么?
dependencies {
compile 'com.github.nekocode:Emojix:{lastest-version}'
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.