diff --git a/.gitignore b/.gitignore index 433d269..29932c5 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,5 @@ target/ #Maven release files *.releaseBackup *.versionsBackup +robodemo-lib/project.properties +robodemo-sample/project.properties diff --git a/README.md b/README.md index c62702c..6fabd59 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,7 @@ RoboDemo ======== RoboDemo is a ShowCase library for Android to demonstrate to users how a given Activity works. - -A sample is available in the [download area](https://github.com/stephanenicolas/RoboDemo/downloads) of the repository. +Additionally use RoboDemo to walk a user through a first time introduction to the app or show them how to use a new feature. Screenshots ----------- @@ -29,18 +28,18 @@ There are some cases where applications require more complex interactions from u or new interactions not covered by Android UI Guidelines. RoboDemo eases creating showcases / explaining / demonstrating of such activities to users. -It will display an overlay activity to illustrate the `Activity` under showcase. The explanations consist of a serie of +It will display an overlay to illustrate the `Activity` under showcase. The explanations consist of a series of points to click on and their associated labels. The `Activity` under showcase is dimmed and the showcase highlights transparent areas to point views or positions users have to click. -Creation of `DemoActivity` is straightforward, have a look at the sample to put in place RoboDemo in your own app : +Creation of `DemoFragment` is straightforward, have a look at the sample to put RoboDemo in your own app : -1. create a `DemoActivity`, using a custom `DrawAdapter` +1. create a `DemoFragment`, use a custom xml layout 2. in the `Activity` undershowcase, pass views or coordinates and their associated labels. -RoboDemo has been designed to be convinient. +RoboDemo can also walk a user through your own app. Great for first time use or explaining a feature that is not used often. Look in the sample to see how to switch from a showcase to a walkthrough. -To learn more, visit [RoboDemo Starter Guide](https://github.com/stephanenicolas/RoboDemo/wiki/RoboDemo-Starter-Guide) and [browse RoboDemo Javadocs online](http://stephanenicolas.github.com/RoboDemo/apidocs/index.html). +To learn more, visit [RoboDemo Fragment Starter Guide](https://github.com/ericharlow/RoboDemo/wiki/RoboDemo-FragmentStarterGuide) and [browse RoboDemo Javadocs online](http://stephanenicolas.github.com/RoboDemo/apidocs/index.html). Customization ------------- @@ -52,18 +51,7 @@ RoboDemo can be customized in different ways : * using custom drawable and text locations * and some more for sure... -To learn more, visit [RoboDemo Starter Guide](https://github.com/stephanenicolas/RoboDemo/wiki/RoboDemo-Starter-Guide) and [browse RoboDemo Javadocs online](http://stephanenicolas.github.com/RoboDemo/apidocs/index.html). - - -Know limitations ----------------- - -The base class for DemoActivity is based on `android.app.Activity`. Unfortunately, this can't cover all inheritance cases for projects -based on ActionBarSherlock or RoboGuice or a custom Activity base class per project. - -In that case, we recommend using all classes from the library as well but rewrite your own `DemoActivity` changing only its super class. - -In the case you use ActionBarSherlock, check the code comments, they will give you hints to support ActionBarSherlock themes. +To learn more, visit [RoboDemo Fragment Starter Guide](https://github.com/ericharlow/RoboDemo/wiki/RoboDemo-FragmentStarterGuide) and [browse RoboDemo Javadocs online](http://stephanenicolas.github.com/RoboDemo/apidocs/index.html). Modules ------- diff --git a/robodemo-lib-1.0.0.jar b/robodemo-lib-1.0.0.jar deleted file mode 100644 index 1a883cb..0000000 Binary files a/robodemo-lib-1.0.0.jar and /dev/null differ diff --git a/robodemo-lib-2.2.0.jar b/robodemo-lib-2.2.0.jar new file mode 100644 index 0000000..c214e5f Binary files /dev/null and b/robodemo-lib-2.2.0.jar differ diff --git a/robodemo-lib/AndroidManifest.xml b/robodemo-lib/AndroidManifest.xml index 8c0d0b4..fa0cf5c 100644 --- a/robodemo-lib/AndroidManifest.xml +++ b/robodemo-lib/AndroidManifest.xml @@ -4,7 +4,7 @@ android:versionName="1.0" > diff --git a/robodemo-lib/project.properties b/robodemo-lib/project.properties index dfa4dd0..484dab0 100644 --- a/robodemo-lib/project.properties +++ b/robodemo-lib/project.properties @@ -11,5 +11,5 @@ #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt # Project target. -target=android-16 +target=android-17 android.library=true diff --git a/robodemo-lib/res/drawable-hdpi/ic_lockscreen_handle_pressed.png b/robodemo-lib/res/drawable-hdpi/ic_lockscreen_handle_pressed.png deleted file mode 100644 index 58a5f16..0000000 Binary files a/robodemo-lib/res/drawable-hdpi/ic_lockscreen_handle_pressed.png and /dev/null differ diff --git a/robodemo-lib/res/drawable-mdpi/ic_lockscreen_handle_pressed.png b/robodemo-lib/res/drawable-mdpi/ic_lockscreen_handle_pressed.png deleted file mode 100644 index 0187a02..0000000 Binary files a/robodemo-lib/res/drawable-mdpi/ic_lockscreen_handle_pressed.png and /dev/null differ diff --git a/robodemo-lib/res/drawable-xhdpi/ic_lockscreen_handle_pressed.png b/robodemo-lib/res/drawable-xhdpi/ic_lockscreen_handle_pressed.png deleted file mode 100644 index 2d28009..0000000 Binary files a/robodemo-lib/res/drawable-xhdpi/ic_lockscreen_handle_pressed.png and /dev/null differ diff --git a/robodemo-lib/res/drawable/ic_lockscreen_handle.xml b/robodemo-lib/res/drawable/ic_lockscreen_handle.xml new file mode 100644 index 0000000..dde788f --- /dev/null +++ b/robodemo-lib/res/drawable/ic_lockscreen_handle.xml @@ -0,0 +1,10 @@ + + + + + + diff --git a/robodemo-lib/res/layout/fragment_demo.xml b/robodemo-lib/res/layout/fragment_demo.xml new file mode 100644 index 0000000..19bb18b --- /dev/null +++ b/robodemo-lib/res/layout/fragment_demo.xml @@ -0,0 +1,65 @@ + + + + + + + + + + +