├── extras ├── i1.png ├── i2.png ├── i3.png ├── Thumbs.db └── icon.png ├── Demo ├── bin │ ├── Demo.apk │ ├── classes.dex │ ├── resources.ap_ │ ├── classes │ │ └── com │ │ │ ├── mirko │ │ │ └── tbv │ │ │ │ ├── R.class │ │ │ │ ├── R$id.class │ │ │ │ ├── R$anim.class │ │ │ │ ├── R$attr.class │ │ │ │ ├── R$bool.class │ │ │ │ ├── R$color.class │ │ │ │ ├── R$dimen.class │ │ │ │ ├── R$menu.class │ │ │ │ ├── R$style.class │ │ │ │ ├── R$integer.class │ │ │ │ ├── R$layout.class │ │ │ │ ├── R$string.class │ │ │ │ ├── R$drawable.class │ │ │ │ └── R$styleable.class │ │ │ └── example │ │ │ └── demo │ │ │ ├── R.class │ │ │ ├── R$id.class │ │ │ ├── R$attr.class │ │ │ ├── R$menu.class │ │ │ ├── R$dimen.class │ │ │ ├── R$layout.class │ │ │ ├── R$string.class │ │ │ ├── R$style.class │ │ │ ├── BuildConfig.class │ │ │ ├── R$drawable.class │ │ │ ├── MainActivity.class │ │ │ ├── MainActivity$PlaceholderFragment.class │ │ │ └── MainActivity$SectionsPagerAdapter.class │ ├── res │ │ └── crunch │ │ │ ├── drawable-hdpi │ │ │ ├── ic_tab1.png │ │ │ ├── ic_tab2.png │ │ │ ├── ic_tab3.png │ │ │ └── ic_launcher.png │ │ │ ├── drawable-mdpi │ │ │ ├── ic_tab1.png │ │ │ ├── ic_tab2.png │ │ │ ├── ic_tab3.png │ │ │ └── ic_launcher.png │ │ │ ├── drawable-xhdpi │ │ │ ├── ic_tab1.png │ │ │ ├── ic_tab2.png │ │ │ ├── ic_tab3.png │ │ │ └── ic_launcher.png │ │ │ └── drawable-xxhdpi │ │ │ ├── ic_tab1.png │ │ │ ├── ic_tab2.png │ │ │ ├── ic_tab3.png │ │ │ └── ic_launcher.png │ ├── dexedLibs │ │ ├── tbv-848a8bea956db3f485b4a13ed7ec88d4.jar │ │ ├── tbv-c07dde762a2ba5e2919c054401770a05.jar │ │ └── android-support-v13-432318a4f146c6a972b1352b7b601cbd.jar │ ├── jarlist.cache │ ├── R.txt │ └── AndroidManifest.xml ├── ic_launcher-web.png ├── libs │ ├── android-support-v13.jar │ └── android-support-v4.jar ├── res │ ├── drawable-hdpi │ │ ├── ic_tab1.png │ │ ├── ic_tab2.png │ │ ├── ic_tab3.png │ │ └── ic_launcher.png │ ├── drawable-mdpi │ │ ├── ic_tab1.png │ │ ├── ic_tab2.png │ │ ├── ic_tab3.png │ │ └── ic_launcher.png │ ├── drawable-xhdpi │ │ ├── ic_tab1.png │ │ ├── ic_tab2.png │ │ ├── ic_tab3.png │ │ └── ic_launcher.png │ ├── drawable-xxhdpi │ │ ├── ic_tab1.png │ │ ├── ic_tab2.png │ │ ├── ic_tab3.png │ │ └── ic_launcher.png │ ├── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ ├── layout │ │ ├── custom_ab.xml │ │ ├── activity_main.xml │ │ └── fragment_main.xml │ ├── values-v11 │ │ └── styles.xml │ ├── menu │ │ └── main.xml │ ├── values-w820dp │ │ └── dimens.xml │ └── values-v14 │ │ └── styles.xml ├── gen │ └── com │ │ ├── example │ │ └── demo │ │ │ ├── BuildConfig.java │ │ │ └── R.java │ │ └── mirko │ │ └── tbv │ │ └── R.java ├── .classpath ├── project.properties ├── proguard-project.txt ├── .project ├── AndroidManifest.xml └── src │ └── com │ └── example │ └── demo │ └── MainActivity.java ├── TabBarViewLibrary ├── bin │ ├── TBV.apk │ ├── tbv.jar │ ├── classes.dex │ ├── resources.ap_ │ ├── classes │ │ └── com │ │ │ └── mirko │ │ │ └── tbv │ │ │ ├── R.class │ │ │ ├── R$id.class │ │ │ ├── R$attr.class │ │ │ ├── R$menu.class │ │ │ ├── R$dimen.class │ │ │ ├── R$layout.class │ │ │ ├── R$string.class │ │ │ ├── R$style.class │ │ │ ├── TabView.class │ │ │ ├── BuildConfig.class │ │ │ ├── CheatSheet.class │ │ │ ├── R$drawable.class │ │ │ ├── TabBarView.class │ │ │ ├── CheatSheet$1.class │ │ │ ├── CheatSheet$2.class │ │ │ ├── CheatSheet$3.class │ │ │ ├── TabBarView$1.class │ │ │ ├── TabBarView$2.class │ │ │ ├── TabBarView$3.class │ │ │ ├── TabBarView$PageListener.class │ │ │ └── TabBarView$IconTabProvider.class │ ├── dexedLibs │ │ ├── appcompat_v7-d3e02e39fb3b1b5fd601cbb86f7f133b.jar │ │ ├── android-support-v4-33d592d45eceb71d6896017be6d2eba9.jar │ │ ├── android-support-v4-ba3deba850c053a2f01a5d796e85426e.jar │ │ └── android-support-v7-appcompat-b339799e390047d5de03b81bb355d711.jar │ ├── AndroidManifest.xml │ ├── jarlist.cache │ └── R.txt ├── ic_launcher-web.png ├── libs │ └── android-support-v4.jar ├── gen │ └── com │ │ └── mirko │ │ └── tbv │ │ ├── BuildConfig.java │ │ └── R.java ├── AndroidManifest.xml ├── .classpath ├── project.properties ├── proguard-project.txt ├── .project └── src │ └── com │ └── mirko │ └── tbv │ ├── TabView.java │ ├── CheatSheet.java │ └── TabBarView.java ├── .gitattributes └── README.md /extras/i1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/extras/i1.png -------------------------------------------------------------------------------- /extras/i2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/extras/i2.png -------------------------------------------------------------------------------- /extras/i3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/extras/i3.png -------------------------------------------------------------------------------- /extras/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/extras/Thumbs.db -------------------------------------------------------------------------------- /extras/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/extras/icon.png -------------------------------------------------------------------------------- /Demo/bin/Demo.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/Demo.apk -------------------------------------------------------------------------------- /Demo/bin/classes.dex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes.dex -------------------------------------------------------------------------------- /Demo/bin/resources.ap_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/resources.ap_ -------------------------------------------------------------------------------- /Demo/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/ic_launcher-web.png -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/TBV.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/TBV.apk -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/tbv.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/tbv.jar -------------------------------------------------------------------------------- /Demo/libs/android-support-v13.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/libs/android-support-v13.jar -------------------------------------------------------------------------------- /Demo/libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/libs/android-support-v4.jar -------------------------------------------------------------------------------- /Demo/res/drawable-hdpi/ic_tab1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/res/drawable-hdpi/ic_tab1.png -------------------------------------------------------------------------------- /Demo/res/drawable-hdpi/ic_tab2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/res/drawable-hdpi/ic_tab2.png -------------------------------------------------------------------------------- /Demo/res/drawable-hdpi/ic_tab3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/res/drawable-hdpi/ic_tab3.png -------------------------------------------------------------------------------- /Demo/res/drawable-mdpi/ic_tab1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/res/drawable-mdpi/ic_tab1.png -------------------------------------------------------------------------------- /Demo/res/drawable-mdpi/ic_tab2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/res/drawable-mdpi/ic_tab2.png -------------------------------------------------------------------------------- /Demo/res/drawable-mdpi/ic_tab3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/res/drawable-mdpi/ic_tab3.png -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/classes.dex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/classes.dex -------------------------------------------------------------------------------- /Demo/res/drawable-xhdpi/ic_tab1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/res/drawable-xhdpi/ic_tab1.png -------------------------------------------------------------------------------- /Demo/res/drawable-xhdpi/ic_tab2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/res/drawable-xhdpi/ic_tab2.png -------------------------------------------------------------------------------- /Demo/res/drawable-xhdpi/ic_tab3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/res/drawable-xhdpi/ic_tab3.png -------------------------------------------------------------------------------- /Demo/res/drawable-xxhdpi/ic_tab1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/res/drawable-xxhdpi/ic_tab1.png -------------------------------------------------------------------------------- /Demo/res/drawable-xxhdpi/ic_tab2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/res/drawable-xxhdpi/ic_tab2.png -------------------------------------------------------------------------------- /Demo/res/drawable-xxhdpi/ic_tab3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/res/drawable-xxhdpi/ic_tab3.png -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/resources.ap_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/resources.ap_ -------------------------------------------------------------------------------- /Demo/bin/classes/com/mirko/tbv/R.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/mirko/tbv/R.class -------------------------------------------------------------------------------- /Demo/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /Demo/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /Demo/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /TabBarViewLibrary/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/ic_launcher-web.png -------------------------------------------------------------------------------- /Demo/bin/classes/com/example/demo/R.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/example/demo/R.class -------------------------------------------------------------------------------- /Demo/bin/classes/com/mirko/tbv/R$id.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/mirko/tbv/R$id.class -------------------------------------------------------------------------------- /Demo/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Demo/bin/classes/com/example/demo/R$id.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/example/demo/R$id.class -------------------------------------------------------------------------------- /Demo/bin/classes/com/mirko/tbv/R$anim.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/mirko/tbv/R$anim.class -------------------------------------------------------------------------------- /Demo/bin/classes/com/mirko/tbv/R$attr.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/mirko/tbv/R$attr.class -------------------------------------------------------------------------------- /Demo/bin/classes/com/mirko/tbv/R$bool.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/mirko/tbv/R$bool.class -------------------------------------------------------------------------------- /Demo/bin/classes/com/mirko/tbv/R$color.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/mirko/tbv/R$color.class -------------------------------------------------------------------------------- /Demo/bin/classes/com/mirko/tbv/R$dimen.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/mirko/tbv/R$dimen.class -------------------------------------------------------------------------------- /Demo/bin/classes/com/mirko/tbv/R$menu.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/mirko/tbv/R$menu.class -------------------------------------------------------------------------------- /Demo/bin/classes/com/mirko/tbv/R$style.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/mirko/tbv/R$style.class -------------------------------------------------------------------------------- /Demo/bin/classes/com/example/demo/R$attr.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/example/demo/R$attr.class -------------------------------------------------------------------------------- /Demo/bin/classes/com/example/demo/R$menu.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/example/demo/R$menu.class -------------------------------------------------------------------------------- /Demo/bin/classes/com/mirko/tbv/R$integer.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/mirko/tbv/R$integer.class -------------------------------------------------------------------------------- /Demo/bin/classes/com/mirko/tbv/R$layout.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/mirko/tbv/R$layout.class -------------------------------------------------------------------------------- /Demo/bin/classes/com/mirko/tbv/R$string.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/mirko/tbv/R$string.class -------------------------------------------------------------------------------- /Demo/bin/res/crunch/drawable-hdpi/ic_tab1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/res/crunch/drawable-hdpi/ic_tab1.png -------------------------------------------------------------------------------- /Demo/bin/res/crunch/drawable-hdpi/ic_tab2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/res/crunch/drawable-hdpi/ic_tab2.png -------------------------------------------------------------------------------- /Demo/bin/res/crunch/drawable-hdpi/ic_tab3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/res/crunch/drawable-hdpi/ic_tab3.png -------------------------------------------------------------------------------- /Demo/bin/res/crunch/drawable-mdpi/ic_tab1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/res/crunch/drawable-mdpi/ic_tab1.png -------------------------------------------------------------------------------- /Demo/bin/res/crunch/drawable-mdpi/ic_tab2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/res/crunch/drawable-mdpi/ic_tab2.png -------------------------------------------------------------------------------- /Demo/bin/res/crunch/drawable-mdpi/ic_tab3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/res/crunch/drawable-mdpi/ic_tab3.png -------------------------------------------------------------------------------- /Demo/bin/res/crunch/drawable-xhdpi/ic_tab1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/res/crunch/drawable-xhdpi/ic_tab1.png -------------------------------------------------------------------------------- /Demo/bin/res/crunch/drawable-xhdpi/ic_tab2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/res/crunch/drawable-xhdpi/ic_tab2.png -------------------------------------------------------------------------------- /Demo/bin/res/crunch/drawable-xhdpi/ic_tab3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/res/crunch/drawable-xhdpi/ic_tab3.png -------------------------------------------------------------------------------- /TabBarViewLibrary/libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/libs/android-support-v4.jar -------------------------------------------------------------------------------- /Demo/bin/classes/com/example/demo/R$dimen.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/example/demo/R$dimen.class -------------------------------------------------------------------------------- /Demo/bin/classes/com/example/demo/R$layout.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/example/demo/R$layout.class -------------------------------------------------------------------------------- /Demo/bin/classes/com/example/demo/R$string.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/example/demo/R$string.class -------------------------------------------------------------------------------- /Demo/bin/classes/com/example/demo/R$style.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/example/demo/R$style.class -------------------------------------------------------------------------------- /Demo/bin/classes/com/mirko/tbv/R$drawable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/mirko/tbv/R$drawable.class -------------------------------------------------------------------------------- /Demo/bin/classes/com/mirko/tbv/R$styleable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/mirko/tbv/R$styleable.class -------------------------------------------------------------------------------- /Demo/bin/res/crunch/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/res/crunch/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /Demo/bin/res/crunch/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/res/crunch/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /Demo/bin/res/crunch/drawable-xxhdpi/ic_tab1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/res/crunch/drawable-xxhdpi/ic_tab1.png -------------------------------------------------------------------------------- /Demo/bin/res/crunch/drawable-xxhdpi/ic_tab2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/res/crunch/drawable-xxhdpi/ic_tab2.png -------------------------------------------------------------------------------- /Demo/bin/res/crunch/drawable-xxhdpi/ic_tab3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/res/crunch/drawable-xxhdpi/ic_tab3.png -------------------------------------------------------------------------------- /Demo/bin/classes/com/example/demo/BuildConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/example/demo/BuildConfig.class -------------------------------------------------------------------------------- /Demo/bin/classes/com/example/demo/R$drawable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/example/demo/R$drawable.class -------------------------------------------------------------------------------- /Demo/bin/res/crunch/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/res/crunch/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Demo/bin/res/crunch/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/res/crunch/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/classes/com/mirko/tbv/R.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/classes/com/mirko/tbv/R.class -------------------------------------------------------------------------------- /Demo/bin/classes/com/example/demo/MainActivity.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/example/demo/MainActivity.class -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/classes/com/mirko/tbv/R$id.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/classes/com/mirko/tbv/R$id.class -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/classes/com/mirko/tbv/R$attr.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/classes/com/mirko/tbv/R$attr.class -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/classes/com/mirko/tbv/R$menu.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/classes/com/mirko/tbv/R$menu.class -------------------------------------------------------------------------------- /Demo/bin/dexedLibs/tbv-848a8bea956db3f485b4a13ed7ec88d4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/dexedLibs/tbv-848a8bea956db3f485b4a13ed7ec88d4.jar -------------------------------------------------------------------------------- /Demo/bin/dexedLibs/tbv-c07dde762a2ba5e2919c054401770a05.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/dexedLibs/tbv-c07dde762a2ba5e2919c054401770a05.jar -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/classes/com/mirko/tbv/R$dimen.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/classes/com/mirko/tbv/R$dimen.class -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/classes/com/mirko/tbv/R$layout.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/classes/com/mirko/tbv/R$layout.class -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/classes/com/mirko/tbv/R$string.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/classes/com/mirko/tbv/R$string.class -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/classes/com/mirko/tbv/R$style.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/classes/com/mirko/tbv/R$style.class -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/classes/com/mirko/tbv/TabView.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/classes/com/mirko/tbv/TabView.class -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/classes/com/mirko/tbv/BuildConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/classes/com/mirko/tbv/BuildConfig.class -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/classes/com/mirko/tbv/CheatSheet.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/classes/com/mirko/tbv/CheatSheet.class -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/classes/com/mirko/tbv/R$drawable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/classes/com/mirko/tbv/R$drawable.class -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/classes/com/mirko/tbv/TabBarView.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/classes/com/mirko/tbv/TabBarView.class -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/classes/com/mirko/tbv/CheatSheet$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/classes/com/mirko/tbv/CheatSheet$1.class -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/classes/com/mirko/tbv/CheatSheet$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/classes/com/mirko/tbv/CheatSheet$2.class -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/classes/com/mirko/tbv/CheatSheet$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/classes/com/mirko/tbv/CheatSheet$3.class -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/classes/com/mirko/tbv/TabBarView$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/classes/com/mirko/tbv/TabBarView$1.class -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/classes/com/mirko/tbv/TabBarView$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/classes/com/mirko/tbv/TabBarView$2.class -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/classes/com/mirko/tbv/TabBarView$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/classes/com/mirko/tbv/TabBarView$3.class -------------------------------------------------------------------------------- /Demo/bin/classes/com/example/demo/MainActivity$PlaceholderFragment.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/example/demo/MainActivity$PlaceholderFragment.class -------------------------------------------------------------------------------- /Demo/bin/classes/com/example/demo/MainActivity$SectionsPagerAdapter.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/classes/com/example/demo/MainActivity$SectionsPagerAdapter.class -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/classes/com/mirko/tbv/TabBarView$PageListener.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/classes/com/mirko/tbv/TabBarView$PageListener.class -------------------------------------------------------------------------------- /Demo/bin/dexedLibs/android-support-v13-432318a4f146c6a972b1352b7b601cbd.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/Demo/bin/dexedLibs/android-support-v13-432318a4f146c6a972b1352b7b601cbd.jar -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/classes/com/mirko/tbv/TabBarView$IconTabProvider.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/classes/com/mirko/tbv/TabBarView$IconTabProvider.class -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/dexedLibs/appcompat_v7-d3e02e39fb3b1b5fd601cbb86f7f133b.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/dexedLibs/appcompat_v7-d3e02e39fb3b1b5fd601cbb86f7f133b.jar -------------------------------------------------------------------------------- /Demo/gen/com/example/demo/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** Automatically generated file. DO NOT MODIFY */ 2 | package com.example.demo; 3 | 4 | public final class BuildConfig { 5 | public final static boolean DEBUG = true; 6 | } -------------------------------------------------------------------------------- /TabBarViewLibrary/gen/com/mirko/tbv/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** Automatically generated file. DO NOT MODIFY */ 2 | package com.mirko.tbv; 3 | 4 | public final class BuildConfig { 5 | public final static boolean DEBUG = true; 6 | } -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/dexedLibs/android-support-v4-33d592d45eceb71d6896017be6d2eba9.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/dexedLibs/android-support-v4-33d592d45eceb71d6896017be6d2eba9.jar -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/dexedLibs/android-support-v4-ba3deba850c053a2f01a5d796e85426e.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/dexedLibs/android-support-v4-ba3deba850c053a2f01a5d796e85426e.jar -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/dexedLibs/android-support-v7-appcompat-b339799e390047d5de03b81bb355d711.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mirkoddd/TabBarView/HEAD/TabBarViewLibrary/bin/dexedLibs/android-support-v7-appcompat-b339799e390047d5de03b81bb355d711.jar -------------------------------------------------------------------------------- /Demo/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /TabBarViewLibrary/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Demo/res/layout/custom_ab.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | -------------------------------------------------------------------------------- /Demo/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | -------------------------------------------------------------------------------- /Demo/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Demo 5 | Section 1 6 | Section 2 7 | Section 3 8 | Settings 9 | 10 | 11 | -------------------------------------------------------------------------------- /Demo/res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Demo/res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Demo/bin/jarlist.cache: -------------------------------------------------------------------------------- 1 | # cache for current jar dependency. DO NOT EDIT. 2 | # format is 3 | # Encoding is UTF-8 4 | 1403199356247 621451 5896b0a4e377ac4242eb2bc785220c1c4fc052f4 C:\Users\UTENTE\Desktop\MirkoAndroidApps2014\Demo\libs\android-support-v4.jar 5 | 1402936529471 621451 5896b0a4e377ac4242eb2bc785220c1c4fc052f4 C:\Users\UTENTE\Desktop\MirkoAndroidApps2014\TBV\libs\android-support-v4.jar 6 | -------------------------------------------------------------------------------- /Demo/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 64dp 9 | 10 | 11 | -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/jarlist.cache: -------------------------------------------------------------------------------- 1 | # cache for current jar dependency. DO NOT EDIT. 2 | # format is 3 | # Encoding is UTF-8 4 | 1400693892057 621451 5896b0a4e377ac4242eb2bc785220c1c4fc052f4 C:\Users\UTENTE\Desktop\MirkoAndroidApps2014\appcompat_v7\libs\android-support-v4.jar 5 | 1402936529471 621451 5896b0a4e377ac4242eb2bc785220c1c4fc052f4 C:\Users\UTENTE\Desktop\MirkoAndroidApps2014\TBV\libs\android-support-v4.jar 6 | -------------------------------------------------------------------------------- /Demo/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Demo/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /TabBarViewLibrary/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | *.sln merge=union 7 | *.csproj merge=union 8 | *.vbproj merge=union 9 | *.fsproj merge=union 10 | *.dbproj merge=union 11 | 12 | # Standard to msysgit 13 | *.doc diff=astextplain 14 | *.DOC diff=astextplain 15 | *.docx diff=astextplain 16 | *.DOCX diff=astextplain 17 | *.dot diff=astextplain 18 | *.DOT diff=astextplain 19 | *.pdf diff=astextplain 20 | *.PDF diff=astextplain 21 | *.rtf diff=astextplain 22 | *.RTF diff=astextplain 23 | -------------------------------------------------------------------------------- /Demo/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-19 15 | android.library.reference.1=../TBV 16 | -------------------------------------------------------------------------------- /TabBarViewLibrary/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-19 15 | android.library=true 16 | -------------------------------------------------------------------------------- /Demo/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 14 | 15 | 16 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /Demo/bin/R.txt: -------------------------------------------------------------------------------- 1 | int dimen activity_horizontal_margin 0x7f040000 2 | int dimen activity_vertical_margin 0x7f040001 3 | int drawable ic_launcher 0x7f020000 4 | int drawable ic_tab1 0x7f020001 5 | int drawable ic_tab2 0x7f020002 6 | int drawable ic_tab3 0x7f020003 7 | int id action_settings 0x7f080003 8 | int id pager 0x7f080000 9 | int id section_label 0x7f080002 10 | int id tab_bar 0x7f080001 11 | int layout activity_main 0x7f030000 12 | int layout custom_ab 0x7f030001 13 | int layout fragment_main 0x7f030002 14 | int menu main 0x7f070000 15 | int string action_settings 0x7f050004 16 | int string app_name 0x7f050000 17 | int string title_section1 0x7f050001 18 | int string title_section2 0x7f050002 19 | int string title_section3 0x7f050003 20 | int style AppBaseTheme 0x7f060000 21 | int style AppTheme 0x7f060001 22 | -------------------------------------------------------------------------------- /Demo/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /TabBarViewLibrary/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /Demo/res/layout/fragment_main.xml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /Demo/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Demo 4 | 5 | 6 | 7 | 8 | 9 | com.android.ide.eclipse.adt.ResourceManagerBuilder 10 | 11 | 12 | 13 | 14 | com.android.ide.eclipse.adt.PreCompilerBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | com.android.ide.eclipse.adt.ApkBuilder 25 | 26 | 27 | 28 | 29 | 30 | com.android.ide.eclipse.adt.AndroidNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /TabBarViewLibrary/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | TBV 4 | 5 | 6 | 7 | 8 | 9 | com.android.ide.eclipse.adt.ResourceManagerBuilder 10 | 11 | 12 | 13 | 14 | com.android.ide.eclipse.adt.PreCompilerBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | com.android.ide.eclipse.adt.ApkBuilder 25 | 26 | 27 | 28 | 29 | 30 | com.android.ide.eclipse.adt.AndroidNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /Demo/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 16 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Demo/bin/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 16 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Demo/gen/com/mirko/tbv/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 | package com.mirko.tbv; 8 | 9 | public final class R { 10 | public static final class anim { 11 | } 12 | public static final class attr { 13 | } 14 | public static final class bool { 15 | } 16 | public static final class color { 17 | } 18 | public static final class dimen { 19 | public static final int activity_horizontal_margin = 0x7f040000; 20 | public static final int activity_vertical_margin = 0x7f040001; 21 | } 22 | public static final class drawable { 23 | public static final int ic_launcher = 0x7f020000; 24 | public static final int ic_tab1 = 0x7f020001; 25 | public static final int ic_tab2 = 0x7f020002; 26 | } 27 | public static final class id { 28 | public static final int action_settings = 0x7f080003; 29 | public static final int section_label = 0x7f080002; 30 | public static final int tab_bar = 0x7f080001; 31 | } 32 | public static final class integer { 33 | } 34 | public static final class layout { 35 | public static final int activity_main = 0x7f030000; 36 | public static final int fragment_main = 0x7f030002; 37 | } 38 | public static final class menu { 39 | public static final int main = 0x7f070000; 40 | } 41 | public static final class string { 42 | public static final int action_settings = 0x7f050004; 43 | public static final int app_name = 0x7f050000; 44 | } 45 | public static final class style { 46 | public static final int AppBaseTheme = 0x7f060000; 47 | public static final int AppTheme = 0x7f060001; 48 | } 49 | public static final class styleable { 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /TabBarViewLibrary/src/com/mirko/tbv/TabView.java: -------------------------------------------------------------------------------- 1 | package com.mirko.tbv; 2 | 3 | import android.content.Context; 4 | import android.graphics.Color; 5 | import android.graphics.drawable.Drawable; 6 | import android.util.AttributeSet; 7 | import android.util.TypedValue; 8 | import android.view.Gravity; 9 | import android.view.View; 10 | import android.widget.ImageView; 11 | import android.widget.ImageView.ScaleType; 12 | import android.widget.LinearLayout; 13 | import android.widget.TextView; 14 | 15 | public class TabView extends LinearLayout { 16 | 17 | private ImageView mImageView; 18 | private TextView mTextView; 19 | 20 | public TabView(Context context) { 21 | this(context, null); 22 | } 23 | 24 | public TabView(Context context, AttributeSet attrs) { 25 | this(context, attrs, android.R.attr.actionBarTabStyle); 26 | } 27 | 28 | public TabView(Context context, AttributeSet attrs, int defStyle) { 29 | super(context, attrs, defStyle); 30 | 31 | TypedValue outValue = new TypedValue(); 32 | context.getTheme().resolveAttribute(android.R.attr.actionBarTabTextStyle, outValue, true); 33 | 34 | int txtstyle = outValue.data; 35 | 36 | int pad = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 8, getResources() 37 | .getDisplayMetrics()); 38 | 39 | mImageView = new ImageView(context); 40 | mImageView.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.MATCH_PARENT)); 41 | mImageView.setScaleType(ScaleType.CENTER_INSIDE); 42 | 43 | mTextView = new TextView(context); 44 | mTextView.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT)); 45 | mTextView.setGravity(Gravity.CENTER); 46 | mTextView.setCompoundDrawablePadding(pad); 47 | mTextView.setTextAppearance(context, txtstyle);; 48 | 49 | 50 | this.addView(mImageView); 51 | this.addView(mTextView); 52 | this.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT)); 53 | } 54 | 55 | public void setIcon(int resId) { 56 | setIcon(getContext().getResources().getDrawable(resId)); 57 | } 58 | 59 | public void setIcon(Drawable icon) { 60 | if (icon != null) { 61 | mImageView.setVisibility(View.VISIBLE); 62 | mImageView.setImageDrawable(icon); 63 | } else { 64 | mImageView.setImageResource(View.GONE); 65 | } 66 | } 67 | 68 | public void setText(int resId, int ico) { 69 | setText(getContext().getString(resId), ico); 70 | } 71 | 72 | public void setText(CharSequence text, int ico) { 73 | mTextView.setText(text); 74 | mTextView.setCompoundDrawablesWithIntrinsicBounds(ico, 0, 0, 0);; 75 | } 76 | 77 | } -------------------------------------------------------------------------------- /Demo/gen/com/example/demo/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.example.demo; 9 | 10 | public final class R { 11 | public static final class attr { 12 | } 13 | public static final class dimen { 14 | /** Default screen margins, per the Android Design guidelines. 15 | 16 | Example customization of dimensions originally defined in res/values/dimens.xml 17 | (such as screen margins) for screens with more than 820dp of available width. This 18 | would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively). 19 | 20 | */ 21 | public static final int activity_horizontal_margin=0x7f040000; 22 | public static final int activity_vertical_margin=0x7f040001; 23 | } 24 | public static final class drawable { 25 | public static final int ic_launcher=0x7f020000; 26 | public static final int ic_tab1=0x7f020001; 27 | public static final int ic_tab2=0x7f020002; 28 | public static final int ic_tab3=0x7f020003; 29 | } 30 | public static final class id { 31 | public static final int action_settings=0x7f080003; 32 | public static final int pager=0x7f080000; 33 | public static final int section_label=0x7f080002; 34 | public static final int tab_bar=0x7f080001; 35 | } 36 | public static final class layout { 37 | public static final int activity_main=0x7f030000; 38 | public static final int custom_ab=0x7f030001; 39 | public static final int fragment_main=0x7f030002; 40 | } 41 | public static final class menu { 42 | public static final int main=0x7f070000; 43 | } 44 | public static final class string { 45 | public static final int action_settings=0x7f050004; 46 | public static final int app_name=0x7f050000; 47 | public static final int title_section1=0x7f050001; 48 | public static final int title_section2=0x7f050002; 49 | public static final int title_section3=0x7f050003; 50 | } 51 | public static final class style { 52 | /** 53 | Base application theme, dependent on API level. This theme is replaced 54 | by AppBaseTheme from res/values-vXX/styles.xml on newer devices. 55 | 56 | 57 | Theme customizations available in newer API levels can go in 58 | res/values-vXX/styles.xml, while customizations related to 59 | backward-compatibility can go here. 60 | 61 | 62 | Base application theme for API 11+. This theme completely replaces 63 | AppBaseTheme from res/values/styles.xml on API 11+ devices. 64 | 65 | API 11 theme customizations can go here. 66 | 67 | Base application theme for API 14+. This theme completely replaces 68 | AppBaseTheme from BOTH res/values/styles.xml and 69 | res/values-v11/styles.xml on API 14+ devices. 70 | 71 | API 14 theme customizations can go here. 72 | */ 73 | public static final int AppBaseTheme=0x7f060000; 74 | /** Application theme. 75 | All customizations that are NOT specific to a particular API-level can go here. 76 | */ 77 | public static final int AppTheme=0x7f060001; 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /TabBarViewLibrary/gen/com/mirko/tbv/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.mirko.tbv; 9 | 10 | public final class R { 11 | public static final class attr { 12 | } 13 | public static final class dimen { 14 | /** Default screen margins, per the Android Design guidelines. 15 | 16 | Example customization of dimensions originally defined in res/values/dimens.xml 17 | (such as screen margins) for screens with more than 820dp of available width. This 18 | would include 7" and 10" devices in landscape (~960dp and ~1280dp respectively). 19 | 20 | */ 21 | public static final int activity_horizontal_margin=0x7f040000; 22 | public static final int activity_vertical_margin=0x7f040001; 23 | } 24 | public static final class drawable { 25 | public static final int ic_action_settings=0x7f020000; 26 | public static final int ic_launcher=0x7f020001; 27 | public static final int ic_tab1=0x7f020002; 28 | public static final int ic_tab2=0x7f020003; 29 | public static final int ic_tab_1=0x7f020004; 30 | public static final int ic_tab_3=0x7f020005; 31 | } 32 | public static final class id { 33 | public static final int action_settings=0x7f080005; 34 | public static final int image=0x7f080002; 35 | public static final int pagerContent=0x7f080000; 36 | public static final int section_label=0x7f080001; 37 | public static final int tab_bar=0x7f080004; 38 | public static final int text=0x7f080003; 39 | } 40 | public static final class layout { 41 | public static final int activity_main=0x7f030000; 42 | public static final int fragment_main=0x7f030001; 43 | public static final int tab_view_merge=0x7f030002; 44 | public static final int tabbars=0x7f030003; 45 | } 46 | public static final class menu { 47 | public static final int main=0x7f070000; 48 | } 49 | public static final class string { 50 | public static final int action_settings=0x7f050002; 51 | public static final int app_name=0x7f050000; 52 | public static final int hello_world=0x7f050001; 53 | } 54 | public static final class style { 55 | /** 56 | Base application theme, dependent on API level. This theme is replaced 57 | by AppBaseTheme from res/values-vXX/styles.xml on newer devices. 58 | 59 | 60 | Theme customizations available in newer API levels can go in 61 | res/values-vXX/styles.xml, while customizations related to 62 | backward-compatibility can go here. 63 | 64 | 65 | Base application theme for API 11+. This theme completely replaces 66 | AppBaseTheme from res/values/styles.xml on API 11+ devices. 67 | 68 | API 11 theme customizations can go here. 69 | 70 | Base application theme for API 14+. This theme completely replaces 71 | AppBaseTheme from BOTH res/values/styles.xml and 72 | res/values-v11/styles.xml on API 14+ devices. 73 | 74 | API 14 theme customizations can go here. 75 | */ 76 | public static final int AppBaseTheme=0x7f060000; 77 | /** Application theme. 78 | All customizations that are NOT specific to a particular API-level can go here. 79 | */ 80 | public static final int AppTheme=0x7f060001; 81 | } 82 | } 83 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # __TabBarView__ 2 | 3 | --- 4 | 5 | An Android Library to help you create actionbar tabs like __"Capitaine train"__ app by Cyril Mottier 6 | 7 | ![alt tag](https://raw.github.com/Mirkoddd/TabBarView/master/extras/icon.png) 8 | 9 | --- 10 | 11 | ### Implementation: 12 | 13 | Declare __TabBarView__ and set a ViewPager 14 | 15 | ```java 16 | 17 | LayoutInflater inflator = 18 | (LayoutInflater) this.getSystemService(Context.LAYOUT_INFLATER_SERVICE); 19 | 20 | View v = inflator.inflate(R.layout.custom_ab, null); 21 | tabBarView = (TabBarView) v.findViewById(R.id.tab_bar); 22 | 23 | getActionBar().setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM); 24 | getActionBar().setCustomView(v); 25 | // Create the adapter that will return a fragment for each of the three 26 | // primary sections of the activity. 27 | mSectionsPagerAdapter = new SectionsPagerAdapter(getFragmentManager()); 28 | 29 | // Set up the ViewPager with the sections adapter. 30 | mViewPager = (ViewPager) findViewById(R.id.pager); 31 | mViewPager.setAdapter(mSectionsPagerAdapter); 32 | 33 | tabBarView.setViewPager(mViewPager); 34 | 35 | 36 | ``` 37 | 38 | Example using a simple pager adapter 39 | 40 | ```java 41 | 42 | public class SectionsPagerAdapter extends FragmentPagerAdapter implements IconTabProvider{ 43 | 44 | private int[] tab_icons={R.drawable.ic_tab1, 45 | R.drawable.ic_tab2, 46 | R.drawable.ic_tab3, 47 | }; 48 | 49 | 50 | public SectionsPagerAdapter(FragmentManager fm) { 51 | super(fm); 52 | } 53 | 54 | @Override 55 | public Fragment getItem(int position) { 56 | // getItem is called to instantiate the fragment for the given page. 57 | // Return a PlaceholderFragment (defined as a static inner class 58 | // below). 59 | return PlaceholderFragment.newInstance(position + 1); 60 | } 61 | 62 | @Override 63 | public int getCount() { 64 | // Show 3 total pages. 65 | return tab_icons.length; 66 | } 67 | 68 | @Override 69 | public int getPageIconResId(int position) { 70 | return tab_icons[position]; 71 | } 72 | 73 | @Override 74 | public CharSequence getPageTitle(int position) { 75 | Locale l = Locale.getDefault(); 76 | switch (position) { 77 | case 0: 78 | return getString(R.string.title_section1).toUpperCase(l); 79 | case 1: 80 | return getString(R.string.title_section2).toUpperCase(l); 81 | case 2: 82 | return getString(R.string.title_section3).toUpperCase(l); 83 | } 84 | return null; 85 | } 86 | } 87 | 88 | ``` 89 | --- 90 | 91 | ##Some ScreenShot 92 | 93 | ![alt tag](https://raw.github.com/Mirkoddd/TabBarView/master/extras/i1.png) 94 | ![alt tag](https://raw.github.com/Mirkoddd/TabBarView/master/extras/i2.png) 95 | ![alt tag](https://raw.github.com/Mirkoddd/TabBarView/master/extras/i3.png) 96 | 97 | 98 | ####License 99 | 100 | 101 | Copyright 2014 Mirko Dimartino 102 | 103 | Licensed under the Apache License, Version 2.0 (the "License"); 104 | you may not use this file except in compliance with the License. 105 | You may obtain a copy of the License at 106 | 107 | http://www.apache.org/licenses/LICENSE-2.0 108 | 109 | Unless required by applicable law or agreed to in writing, software 110 | distributed under the License is distributed on an "AS IS" BASIS, 111 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 112 | See the License for the specific language governing permissions and 113 | limitations under the License. 114 | 115 | ####Developed by 116 | 117 | [Mirko Dimartino](https://www.google.com/+MirkoDimartino_Mirkoddd) 118 | -------------------------------------------------------------------------------- /Demo/src/com/example/demo/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.demo; 2 | 3 | import java.util.Locale; 4 | 5 | import com.mirko.tbv.TabBarView; 6 | import com.mirko.tbv.TabBarView.IconTabProvider; 7 | 8 | import android.app.ActionBar; 9 | import android.app.Activity; 10 | import android.app.Fragment; 11 | import android.app.FragmentManager; 12 | import android.content.Context; 13 | import android.os.Bundle; 14 | import android.support.v13.app.FragmentPagerAdapter; 15 | import android.support.v4.view.ViewPager; 16 | import android.view.LayoutInflater; 17 | import android.view.Menu; 18 | import android.view.MenuItem; 19 | import android.view.View; 20 | import android.view.ViewGroup; 21 | import android.widget.TextView; 22 | 23 | public class MainActivity extends Activity { 24 | 25 | private TabBarView tabBarView; 26 | /** 27 | * The {@link android.support.v4.view.PagerAdapter} that will provide 28 | * fragments for each of the sections. We use a {@link FragmentPagerAdapter} 29 | * derivative, which will keep every loaded fragment in memory. If this 30 | * becomes too memory intensive, it may be best to switch to a 31 | * {@link android.support.v13.app.FragmentStatePagerAdapter}. 32 | */ 33 | SectionsPagerAdapter mSectionsPagerAdapter; 34 | 35 | /** 36 | * The {@link ViewPager} that will host the section contents. 37 | */ 38 | ViewPager mViewPager; 39 | 40 | @Override 41 | protected void onCreate(Bundle savedInstanceState) { 42 | super.onCreate(savedInstanceState); 43 | setContentView(R.layout.activity_main); 44 | 45 | LayoutInflater inflator = 46 | (LayoutInflater) this.getSystemService(Context.LAYOUT_INFLATER_SERVICE); 47 | 48 | View v = inflator.inflate(R.layout.custom_ab, null); 49 | tabBarView = (TabBarView) v.findViewById(R.id.tab_bar); 50 | 51 | getActionBar().setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM); 52 | getActionBar().setCustomView(v); 53 | // Create the adapter that will return a fragment for each of the three 54 | // primary sections of the activity. 55 | mSectionsPagerAdapter = new SectionsPagerAdapter(getFragmentManager()); 56 | 57 | // Set up the ViewPager with the sections adapter. 58 | mViewPager = (ViewPager) findViewById(R.id.pager); 59 | mViewPager.setAdapter(mSectionsPagerAdapter); 60 | 61 | tabBarView.setViewPager(mViewPager); 62 | } 63 | 64 | @Override 65 | public boolean onCreateOptionsMenu(Menu menu) { 66 | 67 | // Inflate the menu; this adds items to the action bar if it is present. 68 | getMenuInflater().inflate(R.menu.main, menu); 69 | return true; 70 | } 71 | 72 | @Override 73 | public boolean onOptionsItemSelected(MenuItem item) { 74 | // Handle action bar item clicks here. The action bar will 75 | // automatically handle clicks on the Home/Up button, so long 76 | // as you specify a parent activity in AndroidManifest.xml. 77 | int id = item.getItemId(); 78 | if (id == R.id.action_settings) { 79 | return true; 80 | } 81 | return super.onOptionsItemSelected(item); 82 | } 83 | 84 | /** 85 | * A {@link FragmentPagerAdapter} that returns a fragment corresponding to 86 | * one of the sections/tabs/pages. 87 | */ 88 | public class SectionsPagerAdapter extends FragmentPagerAdapter implements IconTabProvider{ 89 | 90 | private int[] tab_icons={R.drawable.ic_tab1, 91 | R.drawable.ic_tab2, 92 | R.drawable.ic_tab3, 93 | }; 94 | 95 | 96 | public SectionsPagerAdapter(FragmentManager fm) { 97 | super(fm); 98 | } 99 | 100 | @Override 101 | public Fragment getItem(int position) { 102 | // getItem is called to instantiate the fragment for the given page. 103 | // Return a PlaceholderFragment (defined as a static inner class 104 | // below). 105 | return PlaceholderFragment.newInstance(position + 1); 106 | } 107 | 108 | @Override 109 | public int getCount() { 110 | // Show 3 total pages. 111 | return tab_icons.length; 112 | } 113 | 114 | @Override 115 | public int getPageIconResId(int position) { 116 | return tab_icons[position]; 117 | } 118 | 119 | @Override 120 | public CharSequence getPageTitle(int position) { 121 | Locale l = Locale.getDefault(); 122 | switch (position) { 123 | case 0: 124 | return getString(R.string.title_section1).toUpperCase(l); 125 | case 1: 126 | return getString(R.string.title_section2).toUpperCase(l); 127 | case 2: 128 | return getString(R.string.title_section3).toUpperCase(l); 129 | } 130 | return null; 131 | } 132 | } 133 | 134 | /** 135 | * A placeholder fragment containing a simple view. 136 | */ 137 | public static class PlaceholderFragment extends Fragment { 138 | /** 139 | * The fragment argument representing the section number for this 140 | * fragment. 141 | */ 142 | private static final String ARG_SECTION_NUMBER = "section_number"; 143 | 144 | /** 145 | * Returns a new instance of this fragment for the given section number. 146 | */ 147 | public static PlaceholderFragment newInstance(int sectionNumber) { 148 | PlaceholderFragment fragment = new PlaceholderFragment(); 149 | Bundle args = new Bundle(); 150 | args.putInt(ARG_SECTION_NUMBER, sectionNumber); 151 | fragment.setArguments(args); 152 | return fragment; 153 | } 154 | 155 | public PlaceholderFragment() { 156 | } 157 | 158 | @Override 159 | public View onCreateView(LayoutInflater inflater, ViewGroup container, 160 | Bundle savedInstanceState) { 161 | View rootView = inflater.inflate(R.layout.fragment_main, container, 162 | false); 163 | TextView textView = (TextView) rootView 164 | .findViewById(R.id.section_label); 165 | textView.setText(Integer.toString(getArguments().getInt( 166 | ARG_SECTION_NUMBER))); 167 | return rootView; 168 | } 169 | } 170 | 171 | } 172 | -------------------------------------------------------------------------------- /TabBarViewLibrary/src/com/mirko/tbv/CheatSheet.java: -------------------------------------------------------------------------------- 1 | package com.mirko.tbv; 2 | 3 | import android.content.Context; 4 | import android.graphics.Rect; 5 | import android.text.TextUtils; 6 | import android.view.Gravity; 7 | import android.view.View; 8 | import android.widget.Toast; 9 | 10 | /** 11 | * Helper class for showing cheat sheets (tooltips) for icon-only UI elements on long-press. This is 12 | * already default platform behavior for icon-only {@link android.app.ActionBar} items and tabs. 13 | * This class provides this behavior for any other such UI element. 14 | * 15 | *

Based on the original action bar implementation in 16 | * ActionMenuItemView.java. 17 | */ 18 | public class CheatSheet { 19 | /** 20 | * The estimated height of a toast, in dips (density-independent pixels). This is used to 21 | * determine whether or not the toast should appear above or below the UI element. 22 | */ 23 | private static final int ESTIMATED_TOAST_HEIGHT_DIPS = 48; 24 | 25 | /** 26 | * Sets up a cheat sheet (tooltip) for the given view by setting its {@link 27 | * android.view.View.OnLongClickListener}. When the view is long-pressed, a {@link Toast} with 28 | * the view's {@link android.view.View#getContentDescription() content description} will be 29 | * shown either above (default) or below the view (if there isn't room above it). 30 | * 31 | * @param view The view to add a cheat sheet for. 32 | */ 33 | public static void setup(View view) { 34 | view.setOnLongClickListener(new View.OnLongClickListener() { 35 | @Override 36 | public boolean onLongClick(View view) { 37 | return showCheatSheet(view, view.getContentDescription()); 38 | } 39 | }); 40 | } 41 | 42 | /** 43 | * Sets up a cheat sheet (tooltip) for the given view by setting its {@link 44 | * android.view.View.OnLongClickListener}. When the view is long-pressed, a {@link Toast} with 45 | * the given text will be shown either above (default) or below the view (if there isn't room 46 | * above it). 47 | * 48 | * @param view The view to add a cheat sheet for. 49 | * @param textResId The string resource containing the text to show on long-press. 50 | */ 51 | public static void setup(View view, final int textResId) { 52 | view.setOnLongClickListener(new View.OnLongClickListener() { 53 | @Override 54 | public boolean onLongClick(View view) { 55 | return showCheatSheet(view, view.getContext().getString(textResId)); 56 | } 57 | }); 58 | } 59 | 60 | /** 61 | * Sets up a cheat sheet (tooltip) for the given view by setting its {@link 62 | * android.view.View.OnLongClickListener}. When the view is long-pressed, a {@link Toast} with 63 | * the given text will be shown either above (default) or below the view (if there isn't room 64 | * above it). 65 | * 66 | * @param view The view to add a cheat sheet for. 67 | * @param text The text to show on long-press. 68 | */ 69 | public static void setup(View view, final CharSequence text) { 70 | view.setOnLongClickListener(new View.OnLongClickListener() { 71 | @Override 72 | public boolean onLongClick(View view) { 73 | return showCheatSheet(view, text); 74 | } 75 | }); 76 | } 77 | 78 | /** 79 | * Removes the cheat sheet for the given view by removing the view's {@link 80 | * android.view.View.OnLongClickListener}. 81 | * 82 | * @param view The view whose cheat sheet should be removed. 83 | */ 84 | public static void remove(final View view) { 85 | view.setOnLongClickListener(null); 86 | } 87 | 88 | /** 89 | * Internal helper method to show the cheat sheet toast. 90 | */ 91 | private static boolean showCheatSheet(View view, CharSequence text) { 92 | if (TextUtils.isEmpty(text)) { 93 | return false; 94 | } 95 | 96 | final int[] screenPos = new int[2]; // origin is device display 97 | final Rect displayFrame = new Rect(); // includes decorations (e.g. status bar) 98 | view.getLocationOnScreen(screenPos); 99 | view.getWindowVisibleDisplayFrame(displayFrame); 100 | 101 | final Context context = view.getContext(); 102 | final int viewWidth = view.getWidth(); 103 | final int viewHeight = view.getHeight(); 104 | final int viewCenterX = screenPos[0] + viewWidth / 2; 105 | final int screenWidth = context.getResources().getDisplayMetrics().widthPixels; 106 | final int estimatedToastHeight = (int) (ESTIMATED_TOAST_HEIGHT_DIPS 107 | * context.getResources().getDisplayMetrics().density); 108 | 109 | Toast cheatSheet = Toast.makeText(context, text, Toast.LENGTH_SHORT); 110 | boolean showBelow = screenPos[1] < estimatedToastHeight; 111 | if (showBelow) { 112 | // Show below 113 | // Offsets are after decorations (e.g. status bar) are factored in 114 | cheatSheet.setGravity(Gravity.TOP | Gravity.CENTER_HORIZONTAL, 115 | viewCenterX - screenWidth / 2, 116 | screenPos[1] - displayFrame.top + viewHeight); 117 | } else { 118 | // Show above 119 | // Offsets are after decorations (e.g. status bar) are factored in 120 | // NOTE: We can't use Gravity.BOTTOM because when the keyboard is up 121 | // its height isn't factored in. 122 | cheatSheet.setGravity(Gravity.TOP | Gravity.CENTER_HORIZONTAL, 123 | viewCenterX - screenWidth / 2, 124 | screenPos[1] - displayFrame.top - estimatedToastHeight); 125 | } 126 | 127 | cheatSheet.show(); 128 | return true; 129 | } 130 | } 131 | -------------------------------------------------------------------------------- /TabBarViewLibrary/src/com/mirko/tbv/TabBarView.java: -------------------------------------------------------------------------------- 1 | package com.mirko.tbv; 2 | 3 | import android.annotation.SuppressLint; 4 | import android.content.Context; 5 | import android.graphics.Canvas; 6 | import android.graphics.Color; 7 | import android.graphics.Paint; 8 | import android.support.v4.view.ViewPager; 9 | import android.support.v4.view.ViewPager.OnPageChangeListener; 10 | import android.util.AttributeSet; 11 | import android.view.View; 12 | import android.view.ViewTreeObserver.OnGlobalLayoutListener; 13 | import android.widget.LinearLayout; 14 | 15 | public class TabBarView extends LinearLayout { 16 | public interface IconTabProvider { 17 | public int getPageIconResId(int position); 18 | } 19 | 20 | 21 | private static final int STRIP_HEIGHT = 6; 22 | 23 | public final Paint mPaint; 24 | 25 | private int mStripHeight; 26 | private float mOffset = 0f; 27 | public static int mSelectedTab = 0; 28 | public ViewPager pager; 29 | 30 | public static int tabCount; 31 | private final PageListener pageListener = new PageListener(); 32 | public OnPageChangeListener delegatePageListener; 33 | 34 | private View child; 35 | 36 | private View nextChild; 37 | 38 | public static int a; 39 | 40 | public TabBarView(Context context) { 41 | this(context, null); 42 | } 43 | 44 | public TabBarView(Context context, AttributeSet attrs) { 45 | this(context, attrs, android.R.attr.actionBarTabBarStyle); 46 | } 47 | 48 | public TabBarView(Context context, AttributeSet attrs, int defStyle) { 49 | super(context, attrs, defStyle); 50 | 51 | setWillNotDraw(false); 52 | 53 | mPaint = new Paint(); 54 | mPaint.setColor(Color.WHITE); 55 | mPaint.setAntiAlias(true); 56 | 57 | mStripHeight = (int) (STRIP_HEIGHT * getResources().getDisplayMetrics().density + .5f); 58 | } 59 | 60 | public void setStripColor(int color) { 61 | if (mPaint.getColor() != color) { 62 | mPaint.setColor(color); 63 | invalidate(); 64 | } 65 | } 66 | 67 | public void setStripHeight(int height) { 68 | if (mStripHeight != height) { 69 | mStripHeight = height; 70 | invalidate(); 71 | } 72 | } 73 | 74 | public void setSelectedTab(int tabIndex) { 75 | if (tabIndex < 0) { 76 | tabIndex = 0; 77 | } 78 | final int childCount = getChildCount(); 79 | if (tabIndex >= childCount) { 80 | tabIndex = childCount - 1; 81 | } 82 | if (mSelectedTab != tabIndex) { 83 | mSelectedTab = tabIndex; 84 | invalidate(); 85 | } 86 | } 87 | 88 | public void setOffset(int position, float offset) { 89 | if (mOffset != offset) { 90 | mOffset = offset; 91 | invalidate(); 92 | } 93 | } 94 | 95 | @Override 96 | protected void onDraw(Canvas canvas) { 97 | super.onDraw(canvas); 98 | // Draw the strip manually 99 | child = getChildAt(mSelectedTab); 100 | int height = getHeight(); 101 | if (child != null) { 102 | float left = child.getLeft(); 103 | float right = child.getRight(); 104 | if (mOffset > 0f && mSelectedTab < tabCount - 1 ) { 105 | nextChild = getChildAt(mSelectedTab + 1); 106 | if (nextChild != null) { 107 | final float nextTabLeft = nextChild.getLeft(); 108 | final float nextTabRight = nextChild.getRight(); 109 | left = (mOffset * nextTabLeft + (1f - mOffset) * left); 110 | right = (mOffset * nextTabRight + (1f - mOffset) * right); 111 | } 112 | } 113 | canvas.drawRect(left, height - mStripHeight, right, height, mPaint); 114 | } 115 | } 116 | 117 | public void setViewPager(ViewPager pager) { 118 | this.pager = pager; 119 | 120 | if (pager.getAdapter() == null) { 121 | throw new IllegalStateException("ViewPager does not have adapter instance."); 122 | } 123 | 124 | pager.setOnPageChangeListener(pageListener); 125 | 126 | notifyDataSetChanged(); 127 | } 128 | 129 | private class PageListener implements OnPageChangeListener { 130 | 131 | @Override 132 | public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { 133 | 134 | mSelectedTab = position; 135 | mOffset = positionOffset; 136 | 137 | invalidate(); 138 | 139 | if (delegatePageListener != null) { 140 | delegatePageListener.onPageScrolled(position, positionOffset, positionOffsetPixels); 141 | } 142 | } 143 | 144 | @Override 145 | public void onPageScrollStateChanged(int state) { 146 | if (state == ViewPager.SCROLL_STATE_IDLE) { 147 | 148 | } 149 | 150 | if (delegatePageListener != null) { 151 | delegatePageListener.onPageScrollStateChanged(state); 152 | } 153 | } 154 | 155 | @Override 156 | public void onPageSelected(int position) { 157 | if (delegatePageListener != null) { 158 | delegatePageListener.onPageSelected(position); 159 | } 160 | } 161 | 162 | } 163 | 164 | public void notifyDataSetChanged() { 165 | 166 | this.removeAllViews(); 167 | 168 | tabCount = pager.getAdapter().getCount(); 169 | 170 | for (int i = 0; i < tabCount; i++) { 171 | 172 | if(getResources().getConfiguration().orientation==1){ 173 | 174 | addTabViewP(i, pager.getAdapter().getPageTitle(i).toString(), 175 | ((IconTabProvider) pager.getAdapter()).getPageIconResId(i)); 176 | 177 | }else{ 178 | 179 | addTabViewL(i, pager.getAdapter().getPageTitle(i).toString(), 180 | ((IconTabProvider) pager.getAdapter()).getPageIconResId(i)); 181 | 182 | } 183 | } 184 | 185 | getViewTreeObserver().addOnGlobalLayoutListener(new OnGlobalLayoutListener() { 186 | 187 | @SuppressLint("NewApi") 188 | @Override 189 | public void onGlobalLayout() { 190 | 191 | getViewTreeObserver().removeOnGlobalLayoutListener(this); 192 | 193 | mSelectedTab = pager.getCurrentItem(); 194 | 195 | } 196 | }); 197 | 198 | } 199 | 200 | private void addTabViewL(final int i, String string, int pageIconResId) { 201 | // TODO Auto-generated method stub 202 | TabView tab = new TabView(getContext()); 203 | // tab.setIcon(pageIconResId); 204 | tab.setText(string, pageIconResId); 205 | tab.setOnClickListener(new OnClickListener() { 206 | @Override 207 | public void onClick(View v) { 208 | pager.setCurrentItem(i); 209 | } 210 | }); 211 | 212 | this.addView(tab); 213 | } 214 | 215 | 216 | private void addTabViewP(final int i, final String string, int pageIconResId) { 217 | // TODO Auto-generated method stub 218 | final TabView tab = new TabView(getContext()); 219 | tab.setIcon(pageIconResId); 220 | tab.setOnClickListener(new OnClickListener() { 221 | @Override 222 | public void onClick(View v) { 223 | 224 | pager.setCurrentItem(i); 225 | } 226 | }); 227 | CheatSheet.setup(tab, string); 228 | 229 | this.addView(tab); 230 | } 231 | 232 | public void setOnPageChangeListener(OnPageChangeListener listener) { 233 | this.delegatePageListener = listener; 234 | } 235 | 236 | 237 | } -------------------------------------------------------------------------------- /TabBarViewLibrary/bin/R.txt: -------------------------------------------------------------------------------- 1 | int anim abc_fade_in 0x7f040000 2 | int anim abc_fade_out 0x7f040001 3 | int anim abc_slide_in_bottom 0x7f040002 4 | int anim abc_slide_in_top 0x7f040003 5 | int anim abc_slide_out_bottom 0x7f040004 6 | int anim abc_slide_out_top 0x7f040005 7 | int attr actionBarDivider 0x7f01000b 8 | int attr actionBarItemBackground 0x7f01000c 9 | int attr actionBarSize 0x7f01000a 10 | int attr actionBarSplitStyle 0x7f010008 11 | int attr actionBarStyle 0x7f010007 12 | int attr actionBarTabBarStyle 0x7f010004 13 | int attr actionBarTabStyle 0x7f010003 14 | int attr actionBarTabTextStyle 0x7f010005 15 | int attr actionBarWidgetTheme 0x7f010009 16 | int attr actionButtonStyle 0x7f010012 17 | int attr actionDropDownStyle 0x7f010043 18 | int attr actionLayout 0x7f01004a 19 | int attr actionMenuTextAppearance 0x7f01000d 20 | int attr actionMenuTextColor 0x7f01000e 21 | int attr actionModeBackground 0x7f010038 22 | int attr actionModeCloseButtonStyle 0x7f010037 23 | int attr actionModeCloseDrawable 0x7f01003a 24 | int attr actionModeCopyDrawable 0x7f01003c 25 | int attr actionModeCutDrawable 0x7f01003b 26 | int attr actionModeFindDrawable 0x7f010040 27 | int attr actionModePasteDrawable 0x7f01003d 28 | int attr actionModePopupWindowStyle 0x7f010042 29 | int attr actionModeSelectAllDrawable 0x7f01003e 30 | int attr actionModeShareDrawable 0x7f01003f 31 | int attr actionModeSplitBackground 0x7f010039 32 | int attr actionModeStyle 0x7f010036 33 | int attr actionModeWebSearchDrawable 0x7f010041 34 | int attr actionOverflowButtonStyle 0x7f010006 35 | int attr actionProviderClass 0x7f01004c 36 | int attr actionViewClass 0x7f01004b 37 | int attr activityChooserViewStyle 0x7f010068 38 | int attr background 0x7f01002b 39 | int attr backgroundSplit 0x7f01002d 40 | int attr backgroundStacked 0x7f01002c 41 | int attr buttonBarButtonStyle 0x7f010014 42 | int attr buttonBarStyle 0x7f010013 43 | int attr customNavigationLayout 0x7f01002e 44 | int attr disableChildrenWhenDisabled 0x7f010050 45 | int attr displayOptions 0x7f010024 46 | int attr divider 0x7f01002a 47 | int attr dividerHorizontal 0x7f010017 48 | int attr dividerPadding 0x7f010052 49 | int attr dividerVertical 0x7f010016 50 | int attr dropDownListViewStyle 0x7f01001d 51 | int attr dropdownListPreferredItemHeight 0x7f010044 52 | int attr expandActivityOverflowButtonDrawable 0x7f010067 53 | int attr height 0x7f010022 54 | int attr homeAsUpIndicator 0x7f01000f 55 | int attr homeLayout 0x7f01002f 56 | int attr icon 0x7f010028 57 | int attr iconifiedByDefault 0x7f010056 58 | int attr indeterminateProgressStyle 0x7f010031 59 | int attr initialActivityCount 0x7f010066 60 | int attr isLightTheme 0x7f010055 61 | int attr itemPadding 0x7f010033 62 | int attr listChoiceBackgroundIndicator 0x7f010048 63 | int attr listPopupWindowStyle 0x7f01001e 64 | int attr listPreferredItemHeight 0x7f010018 65 | int attr listPreferredItemHeightLarge 0x7f01001a 66 | int attr listPreferredItemHeightSmall 0x7f010019 67 | int attr listPreferredItemPaddingLeft 0x7f01001b 68 | int attr listPreferredItemPaddingRight 0x7f01001c 69 | int attr logo 0x7f010029 70 | int attr navigationMode 0x7f010023 71 | int attr paddingEnd 0x7f010035 72 | int attr paddingStart 0x7f010034 73 | int attr panelMenuListTheme 0x7f010047 74 | int attr panelMenuListWidth 0x7f010046 75 | int attr popupMenuStyle 0x7f010045 76 | int attr popupPromptView 0x7f01004f 77 | int attr progressBarPadding 0x7f010032 78 | int attr progressBarStyle 0x7f010030 79 | int attr prompt 0x7f01004d 80 | int attr queryHint 0x7f010057 81 | int attr searchDropdownBackground 0x7f010058 82 | int attr searchResultListItemHeight 0x7f010061 83 | int attr searchViewAutoCompleteTextView 0x7f010065 84 | int attr searchViewCloseIcon 0x7f010059 85 | int attr searchViewEditQuery 0x7f01005d 86 | int attr searchViewEditQueryBackground 0x7f01005e 87 | int attr searchViewGoIcon 0x7f01005a 88 | int attr searchViewSearchIcon 0x7f01005b 89 | int attr searchViewTextField 0x7f01005f 90 | int attr searchViewTextFieldRight 0x7f010060 91 | int attr searchViewVoiceIcon 0x7f01005c 92 | int attr selectableItemBackground 0x7f010015 93 | int attr showAsAction 0x7f010049 94 | int attr showDividers 0x7f010051 95 | int attr spinnerDropDownItemStyle 0x7f010054 96 | int attr spinnerMode 0x7f01004e 97 | int attr spinnerStyle 0x7f010053 98 | int attr subtitle 0x7f010025 99 | int attr subtitleTextStyle 0x7f010027 100 | int attr textAllCaps 0x7f010069 101 | int attr textAppearanceLargePopupMenu 0x7f010010 102 | int attr textAppearanceListItem 0x7f01001f 103 | int attr textAppearanceListItemSmall 0x7f010020 104 | int attr textAppearanceSearchResultSubtitle 0x7f010063 105 | int attr textAppearanceSearchResultTitle 0x7f010062 106 | int attr textAppearanceSmallPopupMenu 0x7f010011 107 | int attr textColorSearchUrl 0x7f010064 108 | int attr title 0x7f010021 109 | int attr titleTextStyle 0x7f010026 110 | int attr windowActionBar 0x7f010000 111 | int attr windowActionBarOverlay 0x7f010001 112 | int attr windowSplitActionBar 0x7f010002 113 | int bool abc_action_bar_embed_tabs_pre_jb 0x7f060000 114 | int bool abc_action_bar_expanded_action_views_exclusive 0x7f060001 115 | int bool abc_config_actionMenuItemAllCaps 0x7f060005 116 | int bool abc_config_allowActionMenuItemTextWithIcon 0x7f060004 117 | int bool abc_config_showMenuShortcutsWhenKeyboardPresent 0x7f060003 118 | int bool abc_split_action_bar_is_narrow 0x7f060002 119 | int color abc_search_url_text_holo 0x7f070003 120 | int color abc_search_url_text_normal 0x7f070000 121 | int color abc_search_url_text_pressed 0x7f070002 122 | int color abc_search_url_text_selected 0x7f070001 123 | int dimen abc_action_bar_default_height 0x7f080002 124 | int dimen abc_action_bar_icon_vertical_padding 0x7f080003 125 | int dimen abc_action_bar_progress_bar_size 0x7f08000a 126 | int dimen abc_action_bar_stacked_max_height 0x7f080009 127 | int dimen abc_action_bar_stacked_tab_max_width 0x7f080001 128 | int dimen abc_action_bar_subtitle_bottom_margin 0x7f080007 129 | int dimen abc_action_bar_subtitle_text_size 0x7f080005 130 | int dimen abc_action_bar_subtitle_top_margin 0x7f080006 131 | int dimen abc_action_bar_title_text_size 0x7f080004 132 | int dimen abc_action_button_min_width 0x7f080008 133 | int dimen abc_config_prefDialogWidth 0x7f080000 134 | int dimen abc_dropdownitem_icon_width 0x7f080010 135 | int dimen abc_dropdownitem_text_padding_left 0x7f08000e 136 | int dimen abc_dropdownitem_text_padding_right 0x7f08000f 137 | int dimen abc_panel_menu_list_width 0x7f08000b 138 | int dimen abc_search_view_preferred_width 0x7f08000d 139 | int dimen abc_search_view_text_min_width 0x7f08000c 140 | int dimen activity_horizontal_margin 0x7f080011 141 | int dimen activity_vertical_margin 0x7f080012 142 | int drawable abc_ab_bottom_solid_dark_holo 0x7f020000 143 | int drawable abc_ab_bottom_solid_light_holo 0x7f020001 144 | int drawable abc_ab_bottom_transparent_dark_holo 0x7f020002 145 | int drawable abc_ab_bottom_transparent_light_holo 0x7f020003 146 | int drawable abc_ab_share_pack_holo_dark 0x7f020004 147 | int drawable abc_ab_share_pack_holo_light 0x7f020005 148 | int drawable abc_ab_solid_dark_holo 0x7f020006 149 | int drawable abc_ab_solid_light_holo 0x7f020007 150 | int drawable abc_ab_stacked_solid_dark_holo 0x7f020008 151 | int drawable abc_ab_stacked_solid_light_holo 0x7f020009 152 | int drawable abc_ab_stacked_transparent_dark_holo 0x7f02000a 153 | int drawable abc_ab_stacked_transparent_light_holo 0x7f02000b 154 | int drawable abc_ab_transparent_dark_holo 0x7f02000c 155 | int drawable abc_ab_transparent_light_holo 0x7f02000d 156 | int drawable abc_cab_background_bottom_holo_dark 0x7f02000e 157 | int drawable abc_cab_background_bottom_holo_light 0x7f02000f 158 | int drawable abc_cab_background_top_holo_dark 0x7f020010 159 | int drawable abc_cab_background_top_holo_light 0x7f020011 160 | int drawable abc_ic_ab_back_holo_dark 0x7f020012 161 | int drawable abc_ic_ab_back_holo_light 0x7f020013 162 | int drawable abc_ic_cab_done_holo_dark 0x7f020014 163 | int drawable abc_ic_cab_done_holo_light 0x7f020015 164 | int drawable abc_ic_clear 0x7f020016 165 | int drawable abc_ic_clear_disabled 0x7f020017 166 | int drawable abc_ic_clear_holo_light 0x7f020018 167 | int drawable abc_ic_clear_normal 0x7f020019 168 | int drawable abc_ic_clear_search_api_disabled_holo_light 0x7f02001a 169 | int drawable abc_ic_clear_search_api_holo_light 0x7f02001b 170 | int drawable abc_ic_commit_search_api_holo_dark 0x7f02001c 171 | int drawable abc_ic_commit_search_api_holo_light 0x7f02001d 172 | int drawable abc_ic_go 0x7f02001e 173 | int drawable abc_ic_go_search_api_holo_light 0x7f02001f 174 | int drawable abc_ic_menu_moreoverflow_normal_holo_dark 0x7f020020 175 | int drawable abc_ic_menu_moreoverflow_normal_holo_light 0x7f020021 176 | int drawable abc_ic_menu_share_holo_dark 0x7f020022 177 | int drawable abc_ic_menu_share_holo_light 0x7f020023 178 | int drawable abc_ic_search 0x7f020024 179 | int drawable abc_ic_search_api_holo_light 0x7f020025 180 | int drawable abc_ic_voice_search 0x7f020026 181 | int drawable abc_ic_voice_search_api_holo_light 0x7f020027 182 | int drawable abc_item_background_holo_dark 0x7f020028 183 | int drawable abc_item_background_holo_light 0x7f020029 184 | int drawable abc_list_divider_holo_dark 0x7f02002a 185 | int drawable abc_list_divider_holo_light 0x7f02002b 186 | int drawable abc_list_focused_holo 0x7f02002c 187 | int drawable abc_list_longpressed_holo 0x7f02002d 188 | int drawable abc_list_pressed_holo_dark 0x7f02002e 189 | int drawable abc_list_pressed_holo_light 0x7f02002f 190 | int drawable abc_list_selector_background_transition_holo_dark 0x7f020030 191 | int drawable abc_list_selector_background_transition_holo_light 0x7f020031 192 | int drawable abc_list_selector_disabled_holo_dark 0x7f020032 193 | int drawable abc_list_selector_disabled_holo_light 0x7f020033 194 | int drawable abc_list_selector_holo_dark 0x7f020034 195 | int drawable abc_list_selector_holo_light 0x7f020035 196 | int drawable abc_menu_dropdown_panel_holo_dark 0x7f020036 197 | int drawable abc_menu_dropdown_panel_holo_light 0x7f020037 198 | int drawable abc_menu_hardkey_panel_holo_dark 0x7f020038 199 | int drawable abc_menu_hardkey_panel_holo_light 0x7f020039 200 | int drawable abc_search_dropdown_dark 0x7f02003a 201 | int drawable abc_search_dropdown_light 0x7f02003b 202 | int drawable abc_spinner_ab_default_holo_dark 0x7f02003c 203 | int drawable abc_spinner_ab_default_holo_light 0x7f02003d 204 | int drawable abc_spinner_ab_disabled_holo_dark 0x7f02003e 205 | int drawable abc_spinner_ab_disabled_holo_light 0x7f02003f 206 | int drawable abc_spinner_ab_focused_holo_dark 0x7f020040 207 | int drawable abc_spinner_ab_focused_holo_light 0x7f020041 208 | int drawable abc_spinner_ab_holo_dark 0x7f020042 209 | int drawable abc_spinner_ab_holo_light 0x7f020043 210 | int drawable abc_spinner_ab_pressed_holo_dark 0x7f020044 211 | int drawable abc_spinner_ab_pressed_holo_light 0x7f020045 212 | int drawable abc_tab_indicator_ab_holo 0x7f020046 213 | int drawable abc_tab_selected_focused_holo 0x7f020047 214 | int drawable abc_tab_selected_holo 0x7f020048 215 | int drawable abc_tab_selected_pressed_holo 0x7f020049 216 | int drawable abc_tab_unselected_pressed_holo 0x7f02004a 217 | int drawable abc_textfield_search_default_holo_dark 0x7f02004b 218 | int drawable abc_textfield_search_default_holo_light 0x7f02004c 219 | int drawable abc_textfield_search_right_default_holo_dark 0x7f02004d 220 | int drawable abc_textfield_search_right_default_holo_light 0x7f02004e 221 | int drawable abc_textfield_search_right_selected_holo_dark 0x7f02004f 222 | int drawable abc_textfield_search_right_selected_holo_light 0x7f020050 223 | int drawable abc_textfield_search_selected_holo_dark 0x7f020051 224 | int drawable abc_textfield_search_selected_holo_light 0x7f020052 225 | int drawable abc_textfield_searchview_holo_dark 0x7f020053 226 | int drawable abc_textfield_searchview_holo_light 0x7f020054 227 | int drawable abc_textfield_searchview_right_holo_dark 0x7f020055 228 | int drawable abc_textfield_searchview_right_holo_light 0x7f020056 229 | int drawable ic_launcher 0x7f020057 230 | int drawable ic_tab1 0x7f020058 231 | int drawable ic_tab2 0x7f020059 232 | int drawable ic_tab_1 0x7f02005a 233 | int id action_bar 0x7f05001c 234 | int id action_bar_activity_content 0x7f050015 235 | int id action_bar_container 0x7f05001b 236 | int id action_bar_overlay_layout 0x7f05001f 237 | int id action_bar_root 0x7f05001a 238 | int id action_bar_subtitle 0x7f050023 239 | int id action_bar_title 0x7f050022 240 | int id action_context_bar 0x7f05001d 241 | int id action_menu_divider 0x7f050016 242 | int id action_menu_presenter 0x7f050017 243 | int id action_mode_close_button 0x7f050024 244 | int id action_settings 0x7f050042 245 | int id activity_chooser_view_content 0x7f050025 246 | int id always 0x7f05000b 247 | int id beginning 0x7f050011 248 | int id checkbox 0x7f05002d 249 | int id collapseActionView 0x7f05000d 250 | int id default_activity_button 0x7f050028 251 | int id dialog 0x7f05000e 252 | int id disableHome 0x7f050008 253 | int id dropdown 0x7f05000f 254 | int id edit_query 0x7f050030 255 | int id end 0x7f050013 256 | int id expand_activities_button 0x7f050026 257 | int id expanded_menu 0x7f05002c 258 | int id home 0x7f050014 259 | int id homeAsUp 0x7f050005 260 | int id icon 0x7f05002a 261 | int id ifRoom 0x7f05000a 262 | int id image 0x7f050027 263 | int id listMode 0x7f050001 264 | int id list_item 0x7f050029 265 | int id middle 0x7f050012 266 | int id never 0x7f050009 267 | int id none 0x7f050010 268 | int id normal 0x7f050000 269 | int id pagerContent 0x7f05003c 270 | int id progress_circular 0x7f050018 271 | int id progress_horizontal 0x7f050019 272 | int id radio 0x7f05002f 273 | int id search_badge 0x7f050032 274 | int id search_bar 0x7f050031 275 | int id search_button 0x7f050033 276 | int id search_close_btn 0x7f050038 277 | int id search_edit_frame 0x7f050034 278 | int id search_go_btn 0x7f05003a 279 | int id search_mag_icon 0x7f050035 280 | int id search_plate 0x7f050036 281 | int id search_src_text 0x7f050037 282 | int id search_voice_btn 0x7f05003b 283 | int id section_label 0x7f05003d 284 | int id shortcut 0x7f05002e 285 | int id showCustom 0x7f050007 286 | int id showHome 0x7f050004 287 | int id showTitle 0x7f050006 288 | int id split_action_bar 0x7f05001e 289 | int id submit_area 0x7f050039 290 | int id tabMode 0x7f050002 291 | int id tab_1 0x7f050040 292 | int id tab_2 0x7f050041 293 | int id tab_bar 0x7f05003f 294 | int id text 0x7f05003e 295 | int id title 0x7f05002b 296 | int id top_action_bar 0x7f050020 297 | int id up 0x7f050021 298 | int id useLogo 0x7f050003 299 | int id withText 0x7f05000c 300 | int integer abc_max_action_buttons 0x7f090000 301 | int layout abc_action_bar_decor 0x7f030000 302 | int layout abc_action_bar_decor_include 0x7f030001 303 | int layout abc_action_bar_decor_overlay 0x7f030002 304 | int layout abc_action_bar_home 0x7f030003 305 | int layout abc_action_bar_tab 0x7f030004 306 | int layout abc_action_bar_tabbar 0x7f030005 307 | int layout abc_action_bar_title_item 0x7f030006 308 | int layout abc_action_bar_view_list_nav_layout 0x7f030007 309 | int layout abc_action_menu_item_layout 0x7f030008 310 | int layout abc_action_menu_layout 0x7f030009 311 | int layout abc_action_mode_bar 0x7f03000a 312 | int layout abc_action_mode_close_item 0x7f03000b 313 | int layout abc_activity_chooser_view 0x7f03000c 314 | int layout abc_activity_chooser_view_include 0x7f03000d 315 | int layout abc_activity_chooser_view_list_item 0x7f03000e 316 | int layout abc_expanded_menu_layout 0x7f03000f 317 | int layout abc_list_menu_item_checkbox 0x7f030010 318 | int layout abc_list_menu_item_icon 0x7f030011 319 | int layout abc_list_menu_item_layout 0x7f030012 320 | int layout abc_list_menu_item_radio 0x7f030013 321 | int layout abc_popup_menu_item_layout 0x7f030014 322 | int layout abc_search_dropdown_item_icons_2line 0x7f030015 323 | int layout abc_search_view 0x7f030016 324 | int layout activity_main 0x7f030017 325 | int layout fragment_main 0x7f030018 326 | int layout support_simple_spinner_dropdown_item 0x7f030019 327 | int layout tab_view_merge 0x7f03001a 328 | int layout tabbars 0x7f03001b 329 | int menu main 0x7f0c0000 330 | int string abc_action_bar_home_description 0x7f0a0001 331 | int string abc_action_bar_up_description 0x7f0a0002 332 | int string abc_action_menu_overflow_description 0x7f0a0003 333 | int string abc_action_mode_done 0x7f0a0000 334 | int string abc_activity_chooser_view_see_all 0x7f0a000a 335 | int string abc_activitychooserview_choose_application 0x7f0a0009 336 | int string abc_searchview_description_clear 0x7f0a0006 337 | int string abc_searchview_description_query 0x7f0a0005 338 | int string abc_searchview_description_search 0x7f0a0004 339 | int string abc_searchview_description_submit 0x7f0a0007 340 | int string abc_searchview_description_voice 0x7f0a0008 341 | int string abc_shareactionprovider_share_with 0x7f0a000c 342 | int string abc_shareactionprovider_share_with_application 0x7f0a000b 343 | int string action_settings 0x7f0a000f 344 | int string app_name 0x7f0a000d 345 | int string hello_world 0x7f0a000e 346 | int style AppBaseTheme 0x7f0b0083 347 | int style AppTheme 0x7f0b0084 348 | int style TextAppearance_AppCompat_Base_CompactMenu_Dialog 0x7f0b0063 349 | int style TextAppearance_AppCompat_Base_SearchResult 0x7f0b006d 350 | int style TextAppearance_AppCompat_Base_SearchResult_Subtitle 0x7f0b006f 351 | int style TextAppearance_AppCompat_Base_SearchResult_Title 0x7f0b006e 352 | int style TextAppearance_AppCompat_Base_Widget_PopupMenu_Large 0x7f0b0069 353 | int style TextAppearance_AppCompat_Base_Widget_PopupMenu_Small 0x7f0b006a 354 | int style TextAppearance_AppCompat_Light_Base_SearchResult 0x7f0b0070 355 | int style TextAppearance_AppCompat_Light_Base_SearchResult_Subtitle 0x7f0b0072 356 | int style TextAppearance_AppCompat_Light_Base_SearchResult_Title 0x7f0b0071 357 | int style TextAppearance_AppCompat_Light_Base_Widget_PopupMenu_Large 0x7f0b006b 358 | int style TextAppearance_AppCompat_Light_Base_Widget_PopupMenu_Small 0x7f0b006c 359 | int style TextAppearance_AppCompat_Light_SearchResult_Subtitle 0x7f0b0035 360 | int style TextAppearance_AppCompat_Light_SearchResult_Title 0x7f0b0034 361 | int style TextAppearance_AppCompat_Light_Widget_PopupMenu_Large 0x7f0b0030 362 | int style TextAppearance_AppCompat_Light_Widget_PopupMenu_Small 0x7f0b0031 363 | int style TextAppearance_AppCompat_SearchResult_Subtitle 0x7f0b0033 364 | int style TextAppearance_AppCompat_SearchResult_Title 0x7f0b0032 365 | int style TextAppearance_AppCompat_Widget_ActionBar_Menu 0x7f0b001a 366 | int style TextAppearance_AppCompat_Widget_ActionBar_Subtitle 0x7f0b0006 367 | int style TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse 0x7f0b0008 368 | int style TextAppearance_AppCompat_Widget_ActionBar_Title 0x7f0b0005 369 | int style TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse 0x7f0b0007 370 | int style TextAppearance_AppCompat_Widget_ActionMode_Subtitle 0x7f0b001e 371 | int style TextAppearance_AppCompat_Widget_ActionMode_Subtitle_Inverse 0x7f0b0020 372 | int style TextAppearance_AppCompat_Widget_ActionMode_Title 0x7f0b001d 373 | int style TextAppearance_AppCompat_Widget_ActionMode_Title_Inverse 0x7f0b001f 374 | int style TextAppearance_AppCompat_Widget_Base_ActionBar_Menu 0x7f0b0054 375 | int style TextAppearance_AppCompat_Widget_Base_ActionBar_Subtitle 0x7f0b0056 376 | int style TextAppearance_AppCompat_Widget_Base_ActionBar_Subtitle_Inverse 0x7f0b0058 377 | int style TextAppearance_AppCompat_Widget_Base_ActionBar_Title 0x7f0b0055 378 | int style TextAppearance_AppCompat_Widget_Base_ActionBar_Title_Inverse 0x7f0b0057 379 | int style TextAppearance_AppCompat_Widget_Base_ActionMode_Subtitle 0x7f0b0051 380 | int style TextAppearance_AppCompat_Widget_Base_ActionMode_Subtitle_Inverse 0x7f0b0053 381 | int style TextAppearance_AppCompat_Widget_Base_ActionMode_Title 0x7f0b0050 382 | int style TextAppearance_AppCompat_Widget_Base_ActionMode_Title_Inverse 0x7f0b0052 383 | int style TextAppearance_AppCompat_Widget_Base_DropDownItem 0x7f0b0061 384 | int style TextAppearance_AppCompat_Widget_DropDownItem 0x7f0b0021 385 | int style TextAppearance_AppCompat_Widget_PopupMenu_Large 0x7f0b002e 386 | int style TextAppearance_AppCompat_Widget_PopupMenu_Small 0x7f0b002f 387 | int style TextAppearance_Widget_AppCompat_Base_ExpandedMenu_Item 0x7f0b0062 388 | int style TextAppearance_Widget_AppCompat_ExpandedMenu_Item 0x7f0b0028 389 | int style Theme_AppCompat 0x7f0b0077 390 | int style Theme_AppCompat_Base_CompactMenu 0x7f0b0081 391 | int style Theme_AppCompat_Base_CompactMenu_Dialog 0x7f0b0082 392 | int style Theme_AppCompat_CompactMenu 0x7f0b007a 393 | int style Theme_AppCompat_CompactMenu_Dialog 0x7f0b007b 394 | int style Theme_AppCompat_Light 0x7f0b0078 395 | int style Theme_AppCompat_Light_DarkActionBar 0x7f0b0079 396 | int style Theme_Base 0x7f0b007c 397 | int style Theme_Base_AppCompat 0x7f0b007e 398 | int style Theme_Base_AppCompat_Light 0x7f0b007f 399 | int style Theme_Base_AppCompat_Light_DarkActionBar 0x7f0b0080 400 | int style Theme_Base_Light 0x7f0b007d 401 | int style Widget_AppCompat_ActionBar 0x7f0b0000 402 | int style Widget_AppCompat_ActionBar_Solid 0x7f0b0002 403 | int style Widget_AppCompat_ActionBar_TabBar 0x7f0b0011 404 | int style Widget_AppCompat_ActionBar_TabText 0x7f0b0017 405 | int style Widget_AppCompat_ActionBar_TabView 0x7f0b0014 406 | int style Widget_AppCompat_ActionButton 0x7f0b000b 407 | int style Widget_AppCompat_ActionButton_CloseMode 0x7f0b000d 408 | int style Widget_AppCompat_ActionButton_Overflow 0x7f0b000f 409 | int style Widget_AppCompat_ActionMode 0x7f0b001b 410 | int style Widget_AppCompat_ActivityChooserView 0x7f0b0038 411 | int style Widget_AppCompat_AutoCompleteTextView 0x7f0b0036 412 | int style Widget_AppCompat_Base_ActionBar 0x7f0b003a 413 | int style Widget_AppCompat_Base_ActionBar_Solid 0x7f0b003c 414 | int style Widget_AppCompat_Base_ActionBar_TabBar 0x7f0b0045 415 | int style Widget_AppCompat_Base_ActionBar_TabText 0x7f0b004b 416 | int style Widget_AppCompat_Base_ActionBar_TabView 0x7f0b0048 417 | int style Widget_AppCompat_Base_ActionButton 0x7f0b003f 418 | int style Widget_AppCompat_Base_ActionButton_CloseMode 0x7f0b0041 419 | int style Widget_AppCompat_Base_ActionButton_Overflow 0x7f0b0043 420 | int style Widget_AppCompat_Base_ActionMode 0x7f0b004e 421 | int style Widget_AppCompat_Base_ActivityChooserView 0x7f0b0075 422 | int style Widget_AppCompat_Base_AutoCompleteTextView 0x7f0b0073 423 | int style Widget_AppCompat_Base_DropDownItem_Spinner 0x7f0b005d 424 | int style Widget_AppCompat_Base_ListPopupWindow 0x7f0b0065 425 | int style Widget_AppCompat_Base_ListView_DropDown 0x7f0b005f 426 | int style Widget_AppCompat_Base_ListView_Menu 0x7f0b0064 427 | int style Widget_AppCompat_Base_PopupMenu 0x7f0b0067 428 | int style Widget_AppCompat_Base_ProgressBar 0x7f0b005a 429 | int style Widget_AppCompat_Base_ProgressBar_Horizontal 0x7f0b0059 430 | int style Widget_AppCompat_Base_Spinner 0x7f0b005b 431 | int style Widget_AppCompat_DropDownItem_Spinner 0x7f0b0024 432 | int style Widget_AppCompat_Light_ActionBar 0x7f0b0001 433 | int style Widget_AppCompat_Light_ActionBar_Solid 0x7f0b0003 434 | int style Widget_AppCompat_Light_ActionBar_Solid_Inverse 0x7f0b0004 435 | int style Widget_AppCompat_Light_ActionBar_TabBar 0x7f0b0012 436 | int style Widget_AppCompat_Light_ActionBar_TabBar_Inverse 0x7f0b0013 437 | int style Widget_AppCompat_Light_ActionBar_TabText 0x7f0b0018 438 | int style Widget_AppCompat_Light_ActionBar_TabText_Inverse 0x7f0b0019 439 | int style Widget_AppCompat_Light_ActionBar_TabView 0x7f0b0015 440 | int style Widget_AppCompat_Light_ActionBar_TabView_Inverse 0x7f0b0016 441 | int style Widget_AppCompat_Light_ActionButton 0x7f0b000c 442 | int style Widget_AppCompat_Light_ActionButton_CloseMode 0x7f0b000e 443 | int style Widget_AppCompat_Light_ActionButton_Overflow 0x7f0b0010 444 | int style Widget_AppCompat_Light_ActionMode_Inverse 0x7f0b001c 445 | int style Widget_AppCompat_Light_ActivityChooserView 0x7f0b0039 446 | int style Widget_AppCompat_Light_AutoCompleteTextView 0x7f0b0037 447 | int style Widget_AppCompat_Light_Base_ActionBar 0x7f0b003b 448 | int style Widget_AppCompat_Light_Base_ActionBar_Solid 0x7f0b003d 449 | int style Widget_AppCompat_Light_Base_ActionBar_Solid_Inverse 0x7f0b003e 450 | int style Widget_AppCompat_Light_Base_ActionBar_TabBar 0x7f0b0046 451 | int style Widget_AppCompat_Light_Base_ActionBar_TabBar_Inverse 0x7f0b0047 452 | int style Widget_AppCompat_Light_Base_ActionBar_TabText 0x7f0b004c 453 | int style Widget_AppCompat_Light_Base_ActionBar_TabText_Inverse 0x7f0b004d 454 | int style Widget_AppCompat_Light_Base_ActionBar_TabView 0x7f0b0049 455 | int style Widget_AppCompat_Light_Base_ActionBar_TabView_Inverse 0x7f0b004a 456 | int style Widget_AppCompat_Light_Base_ActionButton 0x7f0b0040 457 | int style Widget_AppCompat_Light_Base_ActionButton_CloseMode 0x7f0b0042 458 | int style Widget_AppCompat_Light_Base_ActionButton_Overflow 0x7f0b0044 459 | int style Widget_AppCompat_Light_Base_ActionMode_Inverse 0x7f0b004f 460 | int style Widget_AppCompat_Light_Base_ActivityChooserView 0x7f0b0076 461 | int style Widget_AppCompat_Light_Base_AutoCompleteTextView 0x7f0b0074 462 | int style Widget_AppCompat_Light_Base_DropDownItem_Spinner 0x7f0b005e 463 | int style Widget_AppCompat_Light_Base_ListPopupWindow 0x7f0b0066 464 | int style Widget_AppCompat_Light_Base_ListView_DropDown 0x7f0b0060 465 | int style Widget_AppCompat_Light_Base_PopupMenu 0x7f0b0068 466 | int style Widget_AppCompat_Light_Base_Spinner 0x7f0b005c 467 | int style Widget_AppCompat_Light_DropDownItem_Spinner 0x7f0b0025 468 | int style Widget_AppCompat_Light_ListPopupWindow 0x7f0b002a 469 | int style Widget_AppCompat_Light_ListView_DropDown 0x7f0b0027 470 | int style Widget_AppCompat_Light_PopupMenu 0x7f0b002c 471 | int style Widget_AppCompat_Light_Spinner_DropDown_ActionBar 0x7f0b0023 472 | int style Widget_AppCompat_ListPopupWindow 0x7f0b0029 473 | int style Widget_AppCompat_ListView_DropDown 0x7f0b0026 474 | int style Widget_AppCompat_ListView_Menu 0x7f0b002d 475 | int style Widget_AppCompat_PopupMenu 0x7f0b002b 476 | int style Widget_AppCompat_ProgressBar 0x7f0b000a 477 | int style Widget_AppCompat_ProgressBar_Horizontal 0x7f0b0009 478 | int style Widget_AppCompat_Spinner_DropDown_ActionBar 0x7f0b0022 479 | int[] styleable ActionBar { 0x7f010021, 0x7f010022, 0x7f010023, 0x7f010024, 0x7f010025, 0x7f010026, 0x7f010027, 0x7f010028, 0x7f010029, 0x7f01002a, 0x7f01002b, 0x7f01002c, 0x7f01002d, 0x7f01002e, 0x7f01002f, 0x7f010030, 0x7f010031, 0x7f010032, 0x7f010033 } 480 | int styleable ActionBar_background 10 481 | int styleable ActionBar_backgroundSplit 12 482 | int styleable ActionBar_backgroundStacked 11 483 | int styleable ActionBar_customNavigationLayout 13 484 | int styleable ActionBar_displayOptions 3 485 | int styleable ActionBar_divider 9 486 | int styleable ActionBar_height 1 487 | int styleable ActionBar_homeLayout 14 488 | int styleable ActionBar_icon 7 489 | int styleable ActionBar_indeterminateProgressStyle 16 490 | int styleable ActionBar_itemPadding 18 491 | int styleable ActionBar_logo 8 492 | int styleable ActionBar_navigationMode 2 493 | int styleable ActionBar_progressBarPadding 17 494 | int styleable ActionBar_progressBarStyle 15 495 | int styleable ActionBar_subtitle 4 496 | int styleable ActionBar_subtitleTextStyle 6 497 | int styleable ActionBar_title 0 498 | int styleable ActionBar_titleTextStyle 5 499 | int[] styleable ActionBarLayout { 0x010100b3 } 500 | int styleable ActionBarLayout_android_layout_gravity 0 501 | int[] styleable ActionBarWindow { 0x7f010000, 0x7f010001, 0x7f010002 } 502 | int styleable ActionBarWindow_windowActionBar 0 503 | int styleable ActionBarWindow_windowActionBarOverlay 1 504 | int styleable ActionBarWindow_windowSplitActionBar 2 505 | int[] styleable ActionMenuItemView { 0x0101013f } 506 | int styleable ActionMenuItemView_android_minWidth 0 507 | int[] styleable ActionMenuView { } 508 | int[] styleable ActionMode { 0x7f010022, 0x7f010026, 0x7f010027, 0x7f01002b, 0x7f01002d } 509 | int styleable ActionMode_background 3 510 | int styleable ActionMode_backgroundSplit 4 511 | int styleable ActionMode_height 0 512 | int styleable ActionMode_subtitleTextStyle 2 513 | int styleable ActionMode_titleTextStyle 1 514 | int[] styleable ActivityChooserView { 0x7f010066, 0x7f010067 } 515 | int styleable ActivityChooserView_expandActivityOverflowButtonDrawable 1 516 | int styleable ActivityChooserView_initialActivityCount 0 517 | int[] styleable CompatTextView { 0x7f010069 } 518 | int styleable CompatTextView_textAllCaps 0 519 | int[] styleable LinearLayoutICS { 0x7f01002a, 0x7f010051, 0x7f010052 } 520 | int styleable LinearLayoutICS_divider 0 521 | int styleable LinearLayoutICS_dividerPadding 2 522 | int styleable LinearLayoutICS_showDividers 1 523 | int[] styleable MenuGroup { 0x0101000e, 0x010100d0, 0x01010194, 0x010101de, 0x010101df, 0x010101e0 } 524 | int styleable MenuGroup_android_checkableBehavior 5 525 | int styleable MenuGroup_android_enabled 0 526 | int styleable MenuGroup_android_id 1 527 | int styleable MenuGroup_android_menuCategory 3 528 | int styleable MenuGroup_android_orderInCategory 4 529 | int styleable MenuGroup_android_visible 2 530 | int[] styleable MenuItem { 0x01010002, 0x0101000e, 0x010100d0, 0x01010106, 0x01010194, 0x010101de, 0x010101df, 0x010101e1, 0x010101e2, 0x010101e3, 0x010101e4, 0x010101e5, 0x0101026f, 0x7f010049, 0x7f01004a, 0x7f01004b, 0x7f01004c } 531 | int styleable MenuItem_actionLayout 14 532 | int styleable MenuItem_actionProviderClass 16 533 | int styleable MenuItem_actionViewClass 15 534 | int styleable MenuItem_android_alphabeticShortcut 9 535 | int styleable MenuItem_android_checkable 11 536 | int styleable MenuItem_android_checked 3 537 | int styleable MenuItem_android_enabled 1 538 | int styleable MenuItem_android_icon 0 539 | int styleable MenuItem_android_id 2 540 | int styleable MenuItem_android_menuCategory 5 541 | int styleable MenuItem_android_numericShortcut 10 542 | int styleable MenuItem_android_onClick 12 543 | int styleable MenuItem_android_orderInCategory 6 544 | int styleable MenuItem_android_title 7 545 | int styleable MenuItem_android_titleCondensed 8 546 | int styleable MenuItem_android_visible 4 547 | int styleable MenuItem_showAsAction 13 548 | int[] styleable MenuView { 0x010100ae, 0x0101012c, 0x0101012d, 0x0101012e, 0x0101012f, 0x01010130, 0x01010131, 0x01010435 } 549 | int styleable MenuView_android_headerBackground 4 550 | int styleable MenuView_android_horizontalDivider 2 551 | int styleable MenuView_android_itemBackground 5 552 | int styleable MenuView_android_itemIconDisabledAlpha 6 553 | int styleable MenuView_android_itemTextAppearance 1 554 | int styleable MenuView_android_preserveIconSpacing 7 555 | int styleable MenuView_android_verticalDivider 3 556 | int styleable MenuView_android_windowAnimationStyle 0 557 | int[] styleable SearchView { 0x0101011f, 0x01010220, 0x01010264, 0x7f010056, 0x7f010057 } 558 | int styleable SearchView_android_imeOptions 2 559 | int styleable SearchView_android_inputType 1 560 | int styleable SearchView_android_maxWidth 0 561 | int styleable SearchView_iconifiedByDefault 3 562 | int styleable SearchView_queryHint 4 563 | int[] styleable Spinner { 0x010100af, 0x01010175, 0x01010176, 0x01010262, 0x010102ac, 0x010102ad, 0x7f01004d, 0x7f01004e, 0x7f01004f, 0x7f010050 } 564 | int styleable Spinner_android_dropDownHorizontalOffset 4 565 | int styleable Spinner_android_dropDownSelector 1 566 | int styleable Spinner_android_dropDownVerticalOffset 5 567 | int styleable Spinner_android_dropDownWidth 3 568 | int styleable Spinner_android_gravity 0 569 | int styleable Spinner_android_popupBackground 2 570 | int styleable Spinner_disableChildrenWhenDisabled 9 571 | int styleable Spinner_popupPromptView 8 572 | int styleable Spinner_prompt 6 573 | int styleable Spinner_spinnerMode 7 574 | int[] styleable Theme { 0x7f010043, 0x7f010044, 0x7f010045, 0x7f010046, 0x7f010047, 0x7f010048 } 575 | int styleable Theme_actionDropDownStyle 0 576 | int styleable Theme_dropdownListPreferredItemHeight 1 577 | int styleable Theme_listChoiceBackgroundIndicator 5 578 | int styleable Theme_panelMenuListTheme 4 579 | int styleable Theme_panelMenuListWidth 3 580 | int styleable Theme_popupMenuStyle 2 581 | int[] styleable View { 0x010100da, 0x7f010034, 0x7f010035 } 582 | int styleable View_android_focusable 0 583 | int styleable View_paddingEnd 2 584 | int styleable View_paddingStart 1 585 | --------------------------------------------------------------------------------