Skip to content
FVolodia edited this page Jan 22, 2017 · 28 revisions

1. For use Dialog Fragment (All display)

getDialog().getWindow().requestFeature(Window.FEATURE_NO_TITLE);

2. Generate android debug key

keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android

3. GIT commands

git checkout -b feature_#1234 - create new branch from current

git add . - add all to git

git tag v1.2.0 - add tag for branch (Don't forget add tag until push)

4. Percentage for alpha channel

4. Generation android library for updating on Bintray jCenter link libray

adding to your library

apply plugin: 'com.android.library'

ext {
    PUBLISH_GROUP_ID = 'com.blundell'
    PUBLISH_ARTIFACT_ID = 'example-library-name'
    PUBLISH_VERSION = '1.0.0'
}

android {
    // configs, flavors etc
}

dependencies {
    // dependencies
}

// Copy the file locally and use
apply from: 'android-release-aar.gradle'
// or use the remote copy to keep update with latest changes
apply from: 'https://raw.githubusercontent.com/blundell/release-android-library/master/android-release-aar.gradle' ```