Skip to content

Instantly share code, notes, and snippets.


Yoshihito Ikeda yqritc

  • CyberAgent, Inc.
  • Yokohama, Japan
View GitHub Profile
yqritc /
Last active Oct 5, 2017
Android ABI share on Google Play Store

Android ABI share on Google Play (JAN/05/2017)

The followings are the number of supported devices for each ABI on GooglePlay Store.
Google Play Store shows us these number by uploading an application including native library which support each ABI.
Test application is

  • min sdk 16
  • no permission in android manifest
ABI The number of supported devices
yqritc /
Last active Jun 16, 2021
SeekBar showing its progress as text on thumb


Define a custom class extending SeekBar to show the progress text on thumb of SeekBar.

public class TextThumbSeekBar extends SeekBar {

    private int mThumbSize;
    private TextPaint mTextPaint;

    public TextThumbSeekBar(Context context) {
yqritc / gist:efa7bf4a9b060a74d27a
Last active Oct 29, 2021
Manage Android Software Keyboard Visibility
View gist:efa7bf4a9b060a74d27a


The ways to manage Android software keyboard visibility have already discussed so much on web.
But some of old solutions on web does not work since the view hierarchy of Activity changes over time.
Therefore, the following solution may not work in the future.


public class KeyboardHelper {
yqritc / gist:ccca77dc42f2364777e1
Last active May 23, 2022
Equal column spacing for Android RecyclerView GridLayoutManager by using custom ItemDecoration
View gist:ccca77dc42f2364777e1


public class ItemOffsetDecoration extends RecyclerView.ItemDecoration {

    private int mItemOffset;

    public ItemOffsetDecoration(int itemOffset) {
        mItemOffset = itemOffset;