Skip to content

Commit

Permalink
Merge pull request #13 from CaptainHuangsh/9-cardView
Browse files Browse the repository at this point in the history
发布(Release)了第一个版本
  • Loading branch information
CaptainHuangsh authored Apr 22, 2017
2 parents 86593bd + 7d8133a commit e58a5c8
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 18 deletions.
Binary file modified app/app-release.apk
Binary file not shown.
29 changes: 13 additions & 16 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
apply plugin: 'com.android.application'
android {
signingConfigs {
release {
keyAlias 'weather_go'
keyPassword 'captainhuang1234'
storeFile file('E:/Android/release/weather_go.jks')
storePassword 'captainhuang1234'
}
}
configurations.all {
resolutionStrategy.force 'com.google.code.findbugs:jsr305:1.3.9'
}
Expand All @@ -17,13 +25,11 @@ android {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
}
dependencies {



compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
Expand All @@ -39,38 +45,29 @@ dependencies {
compile 'io.reactivex:rxandroid:1.1.0'
compile 'com.tbruyelle.rxpermissions:rxpermissions:0.7.0@aar'
compile 'com.trello:rxlifecycle:1.0'

// If you want to bind to Android-specific lifecycles
// If you want to bind to Android-specific lifecycles
compile 'com.trello:rxlifecycle-android:1.0'

// If you want pre-written Activities and Fragments you can subclass as providers
// If you want pre-written Activities and Fragments you can subclass as providers
compile 'com.trello:rxlifecycle-components:1.0'

// If you want to use Navi for providers
// If you want to use Navi for providers
compile 'com.trello:rxlifecycle-navi:1.0'

// If you want to use Kotlin syntax
// If you want to use Kotlin syntax
compile 'com.trello:rxlifecycle-kotlin:1.0'

// network
compile 'com.google.code.gson:gson:2.4'
// Retrofit & OkHttp
compile 'com.squareup.retrofit2:retrofit:2.2.0'
compile 'com.squareup.retrofit2:converter-gson:2.2.0'
compile 'com.squareup.retrofit2:adapter-rxjava:2.0.2'

compile 'com.squareup.okhttp3:okhttp:3.0.1'
compile 'com.squareup.okhttp3:logging-interceptor:3.2.0'

compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.github.bumptech.glide:okhttp3-integration:1.4.0@aar'
//butterknife http://jakewharton.github.io/butterknife/
compile 'com.jakewharton:butterknife:8.5.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'

debugCompile 'com.github.moduth:blockcanary-android:1.2.1'
releaseCompile 'com.github.moduth:blockcanary-no-op:1.2.1'
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.4-beta2'
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta2'

}
Binary file removed app/src/main/res/data/china_city.db
Binary file not shown.
4 changes: 2 additions & 2 deletions app/src/main/res/layout/main_weather.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
android:layout_width="240dp"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@id/weather_info"

android:layout_margin="16dp"
android:ems="10"
android:hint="城市"
Expand All @@ -120,7 +120,7 @@
android:id="@+id/hsh_search_weather"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/weather_info"

android:layout_toRightOf="@id/hsh_weather_city_editview"
android:text="@string/weather"
android:visibility="gone" />
Expand Down

0 comments on commit e58a5c8

Please sign in to comment.