diff --git a/AndroidImageIndicatorSample/res/layout/activity_indicator_auto.xml b/AndroidImageIndicatorSample/res/layout/activity_indicator_auto.xml deleted file mode 100644 index 556a352..0000000 --- a/AndroidImageIndicatorSample/res/layout/activity_indicator_auto.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - \ No newline at end of file diff --git a/AndroidImageIndicatorSample/src/com/allthelucky/common/view/sample/AutoImageIndicatorActivity.java b/AndroidImageIndicatorSample/src/com/allthelucky/common/view/sample/AutoImageIndicatorActivity.java index caf26cb..df729ab 100644 --- a/AndroidImageIndicatorSample/src/com/allthelucky/common/view/sample/AutoImageIndicatorActivity.java +++ b/AndroidImageIndicatorSample/src/com/allthelucky/common/view/sample/AutoImageIndicatorActivity.java @@ -12,9 +12,9 @@ public class AutoImageIndicatorActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - setContentView(R.layout.activity_indicator_auto); + setContentView(R.layout.activity_indicator); - this.autoImageIndicatorView = (ImageIndicatorView) findViewById(R.id.auto_indicate_view); + this.autoImageIndicatorView = (ImageIndicatorView) findViewById(R.id.indicate_view); autoImageIndicatorView.setOnItemChangeListener(new ImageIndicatorView.OnItemChangeListener() { @Override public void onPosition(int position, int totalCount) {