├── example.png ├── library ├── .DS_Store ├── res │ ├── values │ │ ├── ids.xml │ │ ├── .DS_Store │ │ ├── strings.xml │ │ ├── attrs.xml │ │ └── styles.xml │ ├── .DS_Store │ ├── drawable-hdpi │ │ ├── cling.png │ │ ├── ic_launcher.png │ │ ├── btn_cling_normal.9.png │ │ └── btn_cling_pressed.9.png │ ├── drawable-mdpi │ │ ├── cling.png │ │ ├── ic_launcher.png │ │ ├── btn_cling_normal.9.png │ │ └── btn_cling_pressed.9.png │ ├── drawable-xhdpi │ │ ├── cling.png │ │ ├── ic_launcher.png │ │ ├── btn_cling_normal.9.png │ │ └── btn_cling_pressed.9.png │ ├── drawable-ldpi │ │ └── ic_launcher.png │ ├── layout │ │ └── main.xml │ └── drawable │ │ └── cling_button_bg.xml ├── src │ └── com │ │ ├── .DS_Store │ │ └── espian │ │ └── showcaseview │ │ └── ShowcaseView.java ├── project.properties ├── AndroidManifest.xml └── ShowcaseView.iml ├── sample ├── res │ ├── drawable-hdpi │ │ └── ic_launcher.png │ ├── drawable-ldpi │ │ └── ic_launcher.png │ ├── drawable-mdpi │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ └── ic_launcher.png │ ├── values │ │ ├── strings.xml │ │ └── styles.xml │ └── layout │ │ └── main.xml ├── gen │ └── com │ │ └── espian │ │ └── showcaseview │ │ └── sample │ │ ├── Manifest.java │ │ ├── BuildConfig.java │ │ └── R.java ├── project.properties ├── AndroidManifest.xml ├── src │ └── com │ │ └── espian │ │ └── showcaseview │ │ └── sample │ │ └── SampleActivity.java └── Showcase Sample.iml ├── .idea └── ant.xml └── README.md /example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesusM/ShowcaseViewLibrary/HEAD/example.png -------------------------------------------------------------------------------- /library/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesusM/ShowcaseViewLibrary/HEAD/library/.DS_Store -------------------------------------------------------------------------------- /library/res/values/ids.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /library/res/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesusM/ShowcaseViewLibrary/HEAD/library/res/.DS_Store -------------------------------------------------------------------------------- /library/src/com/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesusM/ShowcaseViewLibrary/HEAD/library/src/com/.DS_Store -------------------------------------------------------------------------------- /library/res/values/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesusM/ShowcaseViewLibrary/HEAD/library/res/values/.DS_Store -------------------------------------------------------------------------------- /library/res/drawable-hdpi/cling.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesusM/ShowcaseViewLibrary/HEAD/library/res/drawable-hdpi/cling.png -------------------------------------------------------------------------------- /library/res/drawable-mdpi/cling.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesusM/ShowcaseViewLibrary/HEAD/library/res/drawable-mdpi/cling.png -------------------------------------------------------------------------------- /library/res/drawable-xhdpi/cling.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesusM/ShowcaseViewLibrary/HEAD/library/res/drawable-xhdpi/cling.png -------------------------------------------------------------------------------- /sample/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesusM/ShowcaseViewLibrary/HEAD/sample/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /sample/res/drawable-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesusM/ShowcaseViewLibrary/HEAD/sample/res/drawable-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /sample/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesusM/ShowcaseViewLibrary/HEAD/sample/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /library/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesusM/ShowcaseViewLibrary/HEAD/library/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /library/res/drawable-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesusM/ShowcaseViewLibrary/HEAD/library/res/drawable-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /library/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesusM/ShowcaseViewLibrary/HEAD/library/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /library/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesusM/ShowcaseViewLibrary/HEAD/library/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /sample/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesusM/ShowcaseViewLibrary/HEAD/sample/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /library/res/drawable-hdpi/btn_cling_normal.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesusM/ShowcaseViewLibrary/HEAD/library/res/drawable-hdpi/btn_cling_normal.9.png -------------------------------------------------------------------------------- /library/res/drawable-mdpi/btn_cling_normal.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesusM/ShowcaseViewLibrary/HEAD/library/res/drawable-mdpi/btn_cling_normal.9.png -------------------------------------------------------------------------------- /library/res/drawable-hdpi/btn_cling_pressed.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesusM/ShowcaseViewLibrary/HEAD/library/res/drawable-hdpi/btn_cling_pressed.9.png -------------------------------------------------------------------------------- /library/res/drawable-mdpi/btn_cling_pressed.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesusM/ShowcaseViewLibrary/HEAD/library/res/drawable-mdpi/btn_cling_pressed.9.png -------------------------------------------------------------------------------- /library/res/drawable-xhdpi/btn_cling_normal.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesusM/ShowcaseViewLibrary/HEAD/library/res/drawable-xhdpi/btn_cling_normal.9.png -------------------------------------------------------------------------------- /library/res/drawable-xhdpi/btn_cling_pressed.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesusM/ShowcaseViewLibrary/HEAD/library/res/drawable-xhdpi/btn_cling_pressed.9.png -------------------------------------------------------------------------------- /library/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ACTIVITY_ENTRY_NAME 4 | 5 | -------------------------------------------------------------------------------- /library/res/values/attrs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /.idea/ant.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /sample/gen/com/espian/showcaseview/sample/Manifest.java: -------------------------------------------------------------------------------- 1 | package com.espian.showcaseview.sample; 2 | 3 | /* This stub is for using by IDE only. It is NOT the Manifest class actually packed into APK */ 4 | public final class Manifest { 5 | } -------------------------------------------------------------------------------- /sample/gen/com/espian/showcaseview/sample/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** Automatically generated file. DO NOT MODIFY */ 2 | package com.espian.showcaseview.sample; 3 | 4 | public final class BuildConfig { 5 | public final static boolean DEBUG = true; 6 | } -------------------------------------------------------------------------------- /sample/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | SampleActivity 4 | Hide showcase 5 | Show showcase 6 | Blocked button 7 | 8 | -------------------------------------------------------------------------------- /library/res/layout/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /library/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | android.library=true 14 | # Project target. 15 | target=android-16 16 | -------------------------------------------------------------------------------- /sample/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-16 15 | android.library.reference.1=../library 16 | 17 | -------------------------------------------------------------------------------- /library/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /sample/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /library/res/drawable/cling_button_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /sample/src/com/espian/showcaseview/sample/SampleActivity.java: -------------------------------------------------------------------------------- 1 | package com.espian.showcaseview.sample; 2 | 3 | import android.app.Activity; 4 | import android.os.Bundle; 5 | import android.view.View; 6 | import android.widget.Button; 7 | import com.espian.showcaseview.ShowcaseView; 8 | 9 | public class SampleActivity extends Activity implements View.OnClickListener, 10 | ShowcaseView.OnShowcaseEventListener { 11 | 12 | ShowcaseView sv; 13 | Button button; 14 | 15 | /** 16 | * Called when the activity is first created. 17 | */ 18 | @Override 19 | public void onCreate(Bundle savedInstanceState) { 20 | super.onCreate(savedInstanceState); 21 | setContentView(R.layout.main); 22 | sv = (ShowcaseView) findViewById(R.id.showcase); 23 | sv.setShowcaseView(findViewById(R.id.button)); 24 | sv.setOnShowcaseEventListener(this); 25 | (button = (Button) findViewById(R.id.button)).setOnClickListener(this); 26 | } 27 | 28 | @Override 29 | public void onClick(View view) { 30 | if (sv.isShown()) { 31 | sv.hide(); 32 | } else { 33 | sv.show(); 34 | } 35 | } 36 | 37 | @Override 38 | public void onShowcaseViewHide(ShowcaseView showcaseView) { 39 | button.setText(R.string.button_show); 40 | } 41 | 42 | @Override 43 | public void onShowcaseViewShow(ShowcaseView showcaseView) { 44 | button.setText(R.string.button_hide); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /sample/gen/com/espian/showcaseview/sample/R.java: -------------------------------------------------------------------------------- 1 | /* AUTO-GENERATED FILE. DO NOT MODIFY. 2 | * 3 | * This class was automatically generated by the 4 | * aapt tool from the resource data it found. It 5 | * should not be modified by hand. 6 | */ 7 | 8 | package com.espian.showcaseview.sample; 9 | 10 | public final class R { 11 | public static final class attr { 12 | } 13 | 14 | public static final class drawable { 15 | public static final int btn_cling_normal = 0x7f020000; 16 | public static final int btn_cling_pressed = 0x7f020001; 17 | public static final int cling = 0x7f020002; 18 | public static final int cling_button_bg = 0x7f020003; 19 | public static final int ic_launcher = 0x7f020004; 20 | } 21 | 22 | public static final class id { 23 | public static final int button = 0x7f040001; 24 | public static final int showcase = 0x7f040002; 25 | public static final int showcase_button = 0x7f040000; 26 | public static final int textView = 0x7f040003; 27 | public static final int textView1 = 0x7f040004; 28 | } 29 | 30 | public static final class layout { 31 | public static final int main = 0x7f030000; 32 | } 33 | 34 | public static final class string { 35 | public static final int app_name = 0x7f050000; 36 | } 37 | 38 | public static final class style { 39 | public static final int ClingButton = 0x7f060000; 40 | public static final int ClingText = 0x7f060002; 41 | public static final int ClingTitleText = 0x7f060001; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /sample/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 12 | 22 | 30 | -------------------------------------------------------------------------------- /library/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 13 | 23 | 31 | -------------------------------------------------------------------------------- /sample/res/layout/main.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 |