diff --git a/app/build.gradle b/app/build.gradle index 5c88b21..982595f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -25,6 +25,6 @@ dependencies { compile 'com.android.support:design:25.3.1' compile project(":library") -// compile 'com.github.lsxiao:capa:85cdf7a3d8' +// compile 'com.github.lsxiao:capa:87055ead38' compile parent.ext.libs.cardView } diff --git a/app/src/main/java/com/lsxiao/demo/MainActivity.java b/app/src/main/java/com/lsxiao/demo/MainActivity.java index f5c82f3..c146968 100644 --- a/app/src/main/java/com/lsxiao/demo/MainActivity.java +++ b/app/src/main/java/com/lsxiao/demo/MainActivity.java @@ -8,7 +8,7 @@ import android.view.View; import android.widget.Button; -import com.lsxiao.capa.library.CapaLayout; +import com.lsxiao.capa.CapaLayout; public class MainActivity extends AppCompatActivity implements View.OnClickListener { CapaLayout capaLayout; diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 9493e76..1aed0d8 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -57,7 +57,7 @@ android:textSize="12sp"/> - - + diff --git a/library/src/main/java/com/lsxiao/capa/library/CapaLayout.java b/library/src/main/java/com/lsxiao/capa/CapaLayout.java similarity index 99% rename from library/src/main/java/com/lsxiao/capa/library/CapaLayout.java rename to library/src/main/java/com/lsxiao/capa/CapaLayout.java index e1d38e1..3714ad1 100644 --- a/library/src/main/java/com/lsxiao/capa/library/CapaLayout.java +++ b/library/src/main/java/com/lsxiao/capa/CapaLayout.java @@ -1,4 +1,4 @@ -package com.lsxiao.capa.library; +package com.lsxiao.capa; import android.content.Context; import android.content.res.TypedArray;