• Stars
    star
    109
  • Rank 319,077 (Top 7 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created over 8 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

快速实现点击任意位置收缩键盘

AutoHideIME

快速实现收缩键盘

在实际项目中是不是有很多这样的需求:点击屏幕中除EditText任意位置收缩键盘。

遇到这样的需求是不是总是很无奈?

AutoHideIME帮助你快速实现这样的需求。

效果展示

如何使用

android studio用户在gradle配置中加入:

compile 'org.loader:autohideime:1.0'

在Activity中使用, 仅仅一句话就可以搞定:

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        HideIMEUtil.wrap(this);
    }
}

在Fragment中使用, 依然一句话:

public class MyFragment extends Fragment {

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return super.onCreateView(inflater, container, savedInstanceState);
    }

    @Override
    public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);
        HideIMEUtil.wrap(this);
    }
}

More Repositories

1

CardLayoutManager

RecyclerView自定义LayoutManager
Java
115
star
2

Module2Module

Android模块化开发小demo
Java
114
star
3

go-designpattern

用Golang描述设计模式
Go
88
star
4

Meizar

golang实现的抓取图片程序
Go
56
star
5

LitePlayer

Java
55
star
6

Glin

一款灵活支持中间件的Java&Android动态代理网络框架
Java
49
star
7

OpenLRC

android上的一款LRC歌词显示控件
Java
39
star
8

AndNet

AndNet是一个Android开中中二次封装的网络框架
Java
34
star
9

TitanPages

A fast, simple static blog builder, powered by golang.
Go
34
star
10

DropEditText

like a spinner but can edit
Java
29
star
11

traffic_light_classify

Python
27
star
12

Android7_Shortcuts_Demo

android 7.1的shortcuts功能demo
Java
26
star
13

MDTab

一个仿google photos和google G+的Material Design风格的Tabbar
Java
25
star
14

ChatRoom-PWA

A ChatRoom by Progressive Web App
JavaScript
23
star
15

N_notification_quick_reply

demo of android N notification quick reply
Java
13
star
16

TransitionAnimator

android transition animator demo
Java
10
star
17

Py-Glassless-3D-Video

A glassless 3D video generator
Python
7
star
18

autonomous-toy-car

在Raspberry Pi上使用深度卷积神经网络实现的自动驾驶玩具车
Python
7
star
19

SelfDrivingAmericanTruck

Self driving system for American Truck game.
Python
4
star
20

quantumbrain

Yet Another Deep Learning Framework.
Python
4
star
21

change_face

仿抖音最强变脸术
Python
2
star
22

js-curry

currying function in javascript
HTML
1
star
23

AStarView

just learn A* Pathfinding algorithm
Java
1
star
24

KtMatrix

A kotlin implemention of Matrix
Kotlin
1
star
25

CarND-MPC-Project

C++
1
star
26

openpilot_land_detect

train a openpilot land detect model (supercombo)
Python
1
star