update version to 8.0.1
This commit is contained in:
parent
68092e4075
commit
0947387fae
|
@ -1,4 +1,5 @@
|
|||
apply plugin: 'com.android.application'
|
||||
apply plugin: 'android-apt'
|
||||
|
||||
android {
|
||||
compileSdkVersion 23
|
||||
|
@ -30,8 +31,10 @@ dependencies {
|
|||
testCompile 'junit:junit:4.12'
|
||||
compile 'com.android.support:appcompat-v7:23.3.0'
|
||||
compile 'joda-time:joda-time:2.9.1'
|
||||
compile 'com.jakewharton:butterknife:7.0.1'
|
||||
compile 'com.jakewharton:butterknife:8.0.1'
|
||||
compile 'com.github.yukuku:ambilwarna:2.0.1'
|
||||
|
||||
apt 'com.jakewharton:butterknife-compiler:8.0.1'
|
||||
}
|
||||
|
||||
def Properties props = new Properties()
|
||||
|
|
|
@ -16,18 +16,5 @@
|
|||
# public *;
|
||||
#}
|
||||
|
||||
# Butterknife
|
||||
-keep class butterknife.** { *; }
|
||||
-dontwarn butterknife.internal.**
|
||||
-keep class **$$ViewBinder { *; }
|
||||
|
||||
-keepclasseswithmembernames class * {
|
||||
@butterknife.* <fields>;
|
||||
}
|
||||
|
||||
-keepclasseswithmembernames class * {
|
||||
@butterknife.* <methods>;
|
||||
}
|
||||
|
||||
# Joda
|
||||
-dontwarn org.joda.time.**
|
||||
|
|
|
@ -9,13 +9,13 @@ import android.widget.TextView;
|
|||
|
||||
import java.util.Calendar;
|
||||
|
||||
import butterknife.Bind;
|
||||
import butterknife.BindView;
|
||||
import butterknife.ButterKnife;
|
||||
|
||||
public class AboutActivity extends AppCompatActivity {
|
||||
@Bind(R.id.about_copyright) TextView copyright;
|
||||
@Bind(R.id.about_version) TextView version;
|
||||
@Bind(R.id.about_email) TextView emailTV;
|
||||
@BindView(R.id.about_copyright) TextView copyright;
|
||||
@BindView(R.id.about_version) TextView version;
|
||||
@BindView(R.id.about_email) TextView emailTV;
|
||||
private Resources res;
|
||||
|
||||
@Override
|
||||
|
|
|
@ -22,16 +22,16 @@ import org.joda.time.DateTime;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import butterknife.Bind;
|
||||
import butterknife.BindDimen;
|
||||
import butterknife.BindView;
|
||||
import butterknife.ButterKnife;
|
||||
import butterknife.OnClick;
|
||||
|
||||
public class MainActivity extends AppCompatActivity implements Calendar {
|
||||
@Bind(R.id.left_arrow) ImageView leftArrow;
|
||||
@Bind(R.id.right_arrow) ImageView rightArrow;
|
||||
@Bind(R.id.table_month) TextView monthTV;
|
||||
@Bind(R.id.calendar_holder) View calendarHolder;
|
||||
@BindView(R.id.left_arrow) ImageView leftArrow;
|
||||
@BindView(R.id.right_arrow) ImageView rightArrow;
|
||||
@BindView(R.id.table_month) TextView monthTV;
|
||||
@BindView(R.id.calendar_holder) View calendarHolder;
|
||||
@BindDimen(R.dimen.day_text_size) float dayTextSize;
|
||||
@BindDimen(R.dimen.today_text_size) float todayTextSize;
|
||||
@BindDimen(R.dimen.activity_margin) int activityMargin;
|
||||
|
|
|
@ -19,21 +19,21 @@ import org.joda.time.DateTime;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import butterknife.Bind;
|
||||
import butterknife.BindDimen;
|
||||
import butterknife.BindView;
|
||||
import butterknife.ButterKnife;
|
||||
import butterknife.OnClick;
|
||||
import yuku.ambilwarna.AmbilWarnaDialog;
|
||||
|
||||
public class MyWidgetConfigure extends AppCompatActivity implements Calendar {
|
||||
@Bind(R.id.left_arrow) ImageView leftArrow;
|
||||
@Bind(R.id.right_arrow) ImageView rightArrow;
|
||||
@Bind(R.id.table_month) TextView monthTV;
|
||||
@Bind(R.id.config_bg_color) View bgColorPicker;
|
||||
@Bind(R.id.config_bg_seekbar) SeekBar bgSeekBar;
|
||||
@Bind(R.id.config_text_color) View textColorPicker;
|
||||
@Bind(R.id.config_calendar) View widgetBackground;
|
||||
@Bind(R.id.config_save) Button saveBtn;
|
||||
@BindView(R.id.left_arrow) ImageView leftArrow;
|
||||
@BindView(R.id.right_arrow) ImageView rightArrow;
|
||||
@BindView(R.id.table_month) TextView monthTV;
|
||||
@BindView(R.id.config_bg_color) View bgColorPicker;
|
||||
@BindView(R.id.config_bg_seekbar) SeekBar bgSeekBar;
|
||||
@BindView(R.id.config_text_color) View textColorPicker;
|
||||
@BindView(R.id.config_calendar) View widgetBackground;
|
||||
@BindView(R.id.config_save) Button saveBtn;
|
||||
@BindDimen(R.dimen.day_text_size) float dayTextSize;
|
||||
@BindDimen(R.dimen.today_text_size) float todayTextSize;
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ buildscript {
|
|||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:2.1.0'
|
||||
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
|
|
Loading…
Reference in New Issue