Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Mason Liu MasonLiuChn

🎯
Focusing
View GitHub Profile
View FullscreenResizeUtil.java
public class FullscreenResizeUtil {
public static void assistActivity(Activity activity) {
new FullscreenResizeUtil(activity);
}
private View mChildOfContent;
private int usableHeightPrevious;
private FrameLayout.LayoutParams frameLayoutParams;
private SystemBarTintManager tintManager;
View InputInterceptEditText.java
public class InputInterceptEditText extends EditText {
private InputInterceptListener inputInterceptListener;
public InputInterceptEditText(Context context) {
super(context);
}
public InputInterceptEditText(Context context, AttributeSet attrs) {
super(context, attrs);
}
@MasonLiuChn
MasonLiuChn / publishaartomaven.gradle
Created Aug 26, 2015
publish aar to maven by gradle
View publishaartomaven.gradle
apply plugin: 'com.android.library'
apply plugin: 'maven'
uploadArchives {
repositories {
mavenDeployer {
//repository(url: "file:///Users/liumeng/Documents/Backup/maven")
repository(url: "http://localhost:8081/nexus/content/repositories/snapshots") {
authentication(userName: "admin", password: "admin")
View publishtomaven.gradle
apply plugin: 'java'
sourceCompatibility = '1.7'
targetCompatibility = '1.7'
dependencies {
}
apply plugin: 'maven'
You can’t perform that action at this time.