From e9cb1270e5faf4ae462d9f03f63da080f1771016 Mon Sep 17 00:00:00 2001 From: panxw Date: Tue, 16 Sep 2014 12:05:45 +0800 Subject: [PATCH] update --- .../res/layout/activity_indicator_auto.xml | 11 ----------- .../view/sample/AutoImageIndicatorActivity.java | 4 ++-- 2 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 AndroidImageIndicatorSample/res/layout/activity_indicator_auto.xml 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) {