Skip to content
Browse files

Unhack ABS integration

This adds proper integration with ActionBarSherlock 3.5.1, rather than
my previous hack job.

Also, for the time being because ABS 3.5.1 doesn't support Android 4.0
and ABS 4.0 is apparently much different and will require a full
re-integration.
  • Loading branch information...
1 parent b1ae5b6 commit f5fc21fcce33db704637c4c180c4eeef070bf5be @paulcwatts committed Jan 22, 2012
Showing with 18,935 additions and 178 deletions.
  1. BIN .README.md.swp
  2. +2 −0 .classpath
  3. +8 −0 ActionBarSherlock/.classpath
  4. +33 −0 ActionBarSherlock/.project
  5. +13 −0 ActionBarSherlock/AndroidManifest.xml
  6. +15 −0 ActionBarSherlock/README.md
  7. +115 −0 ActionBarSherlock/checkstyle.xml
  8. +104 −0 ActionBarSherlock/pom.xml
  9. +12 −0 ActionBarSherlock/project.properties
  10. +14 −0 ActionBarSherlock/res/color/abs__item_bg.xml
  11. +8 −0 ActionBarSherlock/res/color/abs__tab_text_color_dark.xml
  12. +8 −0 ActionBarSherlock/res/color/abs__tab_text_color_light.xml
  13. BIN ActionBarSherlock/res/drawable-hdpi/abs__ab_solid_dark_holo.9.png
  14. BIN ActionBarSherlock/res/drawable-hdpi/abs__ab_stacked_transparent_dark_holo.9.png
  15. BIN ActionBarSherlock/res/drawable-hdpi/abs__ab_stacked_transparent_light_holo.9.png
  16. BIN ActionBarSherlock/res/drawable-hdpi/abs__cab_background_holo_dark.9.png
  17. BIN ActionBarSherlock/res/drawable-hdpi/abs__cab_background_holo_light.9.png
  18. BIN ActionBarSherlock/res/drawable-hdpi/abs__cab_ic_close_focused_holo.png
  19. BIN ActionBarSherlock/res/drawable-hdpi/abs__cab_ic_close_normal_holo.png
  20. BIN ActionBarSherlock/res/drawable-hdpi/abs__cab_ic_close_pressed_holo.png
  21. BIN ActionBarSherlock/res/drawable-hdpi/abs__ic_ab_back_holo_dark.png
  22. BIN ActionBarSherlock/res/drawable-hdpi/abs__ic_ab_back_holo_light.png
  23. BIN ActionBarSherlock/res/drawable-hdpi/abs__list_focused_holo.9.png
  24. BIN ActionBarSherlock/res/drawable-hdpi/abs__list_longpressed_holo.9.png
  25. BIN ActionBarSherlock/res/drawable-hdpi/abs__list_pressed_holo_dark.9.png
  26. BIN ActionBarSherlock/res/drawable-hdpi/abs__list_pressed_holo_light.9.png
  27. BIN ActionBarSherlock/res/drawable-hdpi/abs__list_selector_disabled_holo_dark.9.png
  28. BIN ActionBarSherlock/res/drawable-hdpi/abs__list_selector_disabled_holo_light.9.png
  29. BIN ActionBarSherlock/res/drawable-hdpi/abs__spinner_default_holo_dark.9.png
  30. BIN ActionBarSherlock/res/drawable-hdpi/abs__spinner_default_holo_light.9.png
  31. BIN ActionBarSherlock/res/drawable-hdpi/abs__spinner_disabled_holo_dark.9.png
  32. BIN ActionBarSherlock/res/drawable-hdpi/abs__spinner_disabled_holo_light.9.png
  33. BIN ActionBarSherlock/res/drawable-hdpi/abs__spinner_focused_holo_dark.9.png
  34. BIN ActionBarSherlock/res/drawable-hdpi/abs__spinner_focused_holo_light.9.png
  35. BIN ActionBarSherlock/res/drawable-hdpi/abs__spinner_pressed_holo_dark.9.png
  36. BIN ActionBarSherlock/res/drawable-hdpi/abs__spinner_pressed_holo_light.9.png
  37. BIN ActionBarSherlock/res/drawable-hdpi/abs__tab_selected_focused_holo.9.png
  38. BIN ActionBarSherlock/res/drawable-hdpi/abs__tab_selected_holo.9.png
  39. BIN ActionBarSherlock/res/drawable-hdpi/abs__tab_selected_pressed_focused_holo.9.png
  40. BIN ActionBarSherlock/res/drawable-hdpi/abs__tab_selected_pressed_holo.9.png
  41. BIN ActionBarSherlock/res/drawable-hdpi/abs__tab_unselected_focused_holo.9.png
  42. BIN ActionBarSherlock/res/drawable-hdpi/abs__tab_unselected_holo.9.png
  43. BIN ActionBarSherlock/res/drawable-hdpi/abs__tab_unselected_pressed_focused_holo.9.png
  44. BIN ActionBarSherlock/res/drawable-hdpi/abs__tab_unselected_pressed_holo.9.png
  45. BIN ActionBarSherlock/res/drawable-mdpi/abs__ab_solid_dark_holo.9.png
  46. BIN ActionBarSherlock/res/drawable-mdpi/abs__ab_stacked_transparent_dark_holo.9.png
  47. BIN ActionBarSherlock/res/drawable-mdpi/abs__ab_stacked_transparent_light_holo.9.png
  48. BIN ActionBarSherlock/res/drawable-mdpi/abs__cab_background_holo_dark.9.png
  49. BIN ActionBarSherlock/res/drawable-mdpi/abs__cab_background_holo_light.9.png
  50. BIN ActionBarSherlock/res/drawable-mdpi/abs__cab_ic_close_focused_holo.png
  51. BIN ActionBarSherlock/res/drawable-mdpi/abs__cab_ic_close_normal_holo.png
  52. BIN ActionBarSherlock/res/drawable-mdpi/abs__cab_ic_close_pressed_holo.png
  53. BIN ActionBarSherlock/res/drawable-mdpi/abs__ic_ab_back_holo_dark.png
  54. BIN ActionBarSherlock/res/drawable-mdpi/abs__ic_ab_back_holo_light.png
  55. BIN ActionBarSherlock/res/drawable-mdpi/abs__list_focused_holo.9.png
  56. BIN ActionBarSherlock/res/drawable-mdpi/abs__list_longpressed_holo.9.png
  57. BIN ActionBarSherlock/res/drawable-mdpi/abs__list_pressed_holo_dark.9.png
  58. BIN ActionBarSherlock/res/drawable-mdpi/abs__list_pressed_holo_light.9.png
  59. BIN ActionBarSherlock/res/drawable-mdpi/abs__list_selector_disabled_holo_dark.9.png
  60. BIN ActionBarSherlock/res/drawable-mdpi/abs__list_selector_disabled_holo_light.9.png
  61. BIN ActionBarSherlock/res/drawable-mdpi/abs__spinner_default_holo_dark.9.png
  62. BIN ActionBarSherlock/res/drawable-mdpi/abs__spinner_default_holo_light.9.png
  63. BIN ActionBarSherlock/res/drawable-mdpi/abs__spinner_disabled_holo_dark.9.png
  64. BIN ActionBarSherlock/res/drawable-mdpi/abs__spinner_disabled_holo_light.9.png
  65. BIN ActionBarSherlock/res/drawable-mdpi/abs__spinner_focused_holo_dark.9.png
  66. BIN ActionBarSherlock/res/drawable-mdpi/abs__spinner_focused_holo_light.9.png
  67. BIN ActionBarSherlock/res/drawable-mdpi/abs__spinner_pressed_holo_dark.9.png
  68. BIN ActionBarSherlock/res/drawable-mdpi/abs__spinner_pressed_holo_light.9.png
  69. BIN ActionBarSherlock/res/drawable-mdpi/abs__tab_selected_focused_holo.9.png
  70. BIN ActionBarSherlock/res/drawable-mdpi/abs__tab_selected_holo.9.png
  71. BIN ActionBarSherlock/res/drawable-mdpi/abs__tab_selected_pressed_focused_holo.9.png
  72. BIN ActionBarSherlock/res/drawable-mdpi/abs__tab_selected_pressed_holo.9.png
  73. BIN ActionBarSherlock/res/drawable-mdpi/abs__tab_unselected_focused_holo.9.png
  74. BIN ActionBarSherlock/res/drawable-mdpi/abs__tab_unselected_holo.9.png
  75. BIN ActionBarSherlock/res/drawable-mdpi/abs__tab_unselected_pressed_focused_holo.9.png
  76. BIN ActionBarSherlock/res/drawable-mdpi/abs__tab_unselected_pressed_holo.9.png
  77. BIN ActionBarSherlock/res/drawable-nodpi-v11/abs__action_item_divider.9.png
  78. BIN ActionBarSherlock/res/drawable-nodpi/abs__action_item_divider.9.png
  79. +23 −0 ActionBarSherlock/res/drawable/abs__cab_ic_close_holo.xml
  80. +29 −0 ActionBarSherlock/res/drawable/abs__item_background_holo_dark.xml
  81. +29 −0 ActionBarSherlock/res/drawable/abs__item_background_holo_light.xml
  82. +20 −0 ActionBarSherlock/res/drawable/abs__list_selector_background_transition_holo_dark.xml
  83. +20 −0 ActionBarSherlock/res/drawable/abs__list_selector_background_transition_holo_light.xml
  84. +25 −0 ActionBarSherlock/res/drawable/abs__spinner_background_holo_dark.xml
  85. +25 −0 ActionBarSherlock/res/drawable/abs__spinner_background_holo_light.xml
  86. +34 −0 ActionBarSherlock/res/drawable/abs__tab_indicator_holo.xml
  87. +20 −0 ActionBarSherlock/res/layout-land/abs__action_bar.xml
  88. +48 −0 ActionBarSherlock/res/layout-land/abs__screen_action_bar.xml
  89. +49 −0 ActionBarSherlock/res/layout-land/abs__screen_action_bar_overlay.xml
  90. +20 −0 ActionBarSherlock/res/layout-large/abs__action_bar.xml
  91. +48 −0 ActionBarSherlock/res/layout-large/abs__screen_action_bar.xml
  92. +49 −0 ActionBarSherlock/res/layout-large/abs__screen_action_bar_overlay.xml
  93. +91 −0 ActionBarSherlock/res/layout/abs__action_bar.xml
  94. +38 −0 ActionBarSherlock/res/layout/abs__action_bar_home.xml
  95. +127 −0 ActionBarSherlock/res/layout/abs__action_bar_inline.xml
  96. +53 −0 ActionBarSherlock/res/layout/abs__action_bar_tab_layout.xml
  97. +46 −0 ActionBarSherlock/res/layout/abs__action_bar_title_item.xml
  98. +55 −0 ActionBarSherlock/res/layout/abs__action_menu_item_layout.xml
  99. +23 −0 ActionBarSherlock/res/layout/abs__action_menu_layout.xml
  100. +47 −0 ActionBarSherlock/res/layout/abs__screen_action_bar.xml
  101. +48 −0 ActionBarSherlock/res/layout/abs__screen_action_bar_overlay.xml
  102. +43 −0 ActionBarSherlock/res/layout/abs__screen_simple.xml
  103. +26 −0 ActionBarSherlock/res/layout/abs__simple_spinner_item.xml
  104. +5 −0 ActionBarSherlock/res/values-land/abs__config.xml
  105. +31 −0 ActionBarSherlock/res/values-land/abs__dimens.xml
  106. +9 −0 ActionBarSherlock/res/values-land/abs__styles.xml
  107. +23 −0 ActionBarSherlock/res/values-large-land/abs__dimens.xml
  108. +9 −0 ActionBarSherlock/res/values-large/abs__styles.xml
  109. +29 −0 ActionBarSherlock/res/values-normal/abs__config.xml
  110. +23 −0 ActionBarSherlock/res/values-sw600dp/abs__dimens.xml
  111. +191 −0 ActionBarSherlock/res/values-v11/abs__styles.xml
  112. +11 −0 ActionBarSherlock/res/values-v13/abs__styles.xml
  113. +31 −0 ActionBarSherlock/res/values-xlarge/abs__dimens.xml
  114. +63 −0 ActionBarSherlock/res/values/abs__attrs.xml
  115. +33 −0 ActionBarSherlock/res/values/abs__config.xml
  116. +31 −0 ActionBarSherlock/res/values/abs__dimens.xml
  117. +21 −0 ActionBarSherlock/res/values/abs__ids.xml
  118. +227 −0 ActionBarSherlock/res/values/abs__styles.xml
  119. +233 −0 ActionBarSherlock/src/android/support/v4/accessibilityservice/AccessibilityServiceInfoCompat.java
  120. +48 −0 ActionBarSherlock/src/android/support/v4/accessibilityservice/AccessibilityServiceInfoCompatIcs.java
  121. +787 −0 ActionBarSherlock/src/android/support/v4/app/ActionBar.java
  122. +41 −0 ActionBarSherlock/src/android/support/v4/app/ActivityCompatHoneycomb.java
  123. +721 −0 ActionBarSherlock/src/android/support/v4/app/BackStackRecord.java
  124. +393 −0 ActionBarSherlock/src/android/support/v4/app/DialogFragment.java
  125. +1,385 −0 ActionBarSherlock/src/android/support/v4/app/Fragment.java
  126. +303 −178 ...app/FragmentMapActivity.java → ActionBarSherlock/src/android/support/v4/app/FragmentActivity.java
  127. +1,995 −0 ActionBarSherlock/src/android/support/v4/app/FragmentManager.java
  128. +160 −0 ActionBarSherlock/src/android/support/v4/app/FragmentPagerAdapter.java
  129. +222 −0 ActionBarSherlock/src/android/support/v4/app/FragmentStatePagerAdapter.java
  130. +272 −0 ActionBarSherlock/src/android/support/v4/app/FragmentTransaction.java
  131. +349 −0 ActionBarSherlock/src/android/support/v4/app/HCSparseArray.java
  132. +375 −0 ActionBarSherlock/src/android/support/v4/app/ListFragment.java
  133. +827 −0 ActionBarSherlock/src/android/support/v4/app/LoaderManager.java
  134. +63 −0 ActionBarSherlock/src/android/support/v4/app/NoSaveStateFrameLayout.java
  135. +45 −0 ActionBarSherlock/src/android/support/v4/app/ServiceCompat.java
  136. +27 −0 ActionBarSherlock/src/android/support/v4/app/SuperNotCalledException.java
  137. +298 −0 ActionBarSherlock/src/android/support/v4/app/SupportActivity.java
  138. +284 −0 ActionBarSherlock/src/android/support/v4/content/AsyncTaskLoader.java
  139. +215 −0 ActionBarSherlock/src/android/support/v4/content/CursorLoader.java
  140. +96 −0 ActionBarSherlock/src/android/support/v4/content/IntentCompat.java
  141. +373 −0 ActionBarSherlock/src/android/support/v4/content/Loader.java
  142. +302 −0 ActionBarSherlock/src/android/support/v4/content/LocalBroadcastManager.java
  143. +495 −0 ActionBarSherlock/src/android/support/v4/content/ModernAsyncTask.java
  144. +35 −0 ActionBarSherlock/src/android/support/v4/content/pm/ActivityInfoCompat.java
  145. +58 −0 ActionBarSherlock/src/android/support/v4/database/DatabaseUtilsCompat.java
  146. +59 −0 ActionBarSherlock/src/android/support/v4/os/ParcelableCompat.java
  147. +46 −0 ActionBarSherlock/src/android/support/v4/os/ParcelableCompatCreatorCallbacks.java
  148. +46 −0 ActionBarSherlock/src/android/support/v4/os/ParcelableCompatHoneycombMR2.java
  149. +44 −0 ActionBarSherlock/src/android/support/v4/util/DebugUtils.java
  150. +69 −0 ActionBarSherlock/src/android/support/v4/util/LogWriter.java
  151. +323 −0 ActionBarSherlock/src/android/support/v4/util/LruCache.java
  152. +175 −0 ActionBarSherlock/src/android/support/v4/util/TimeUtils.java
  153. +358 −0 ActionBarSherlock/src/android/support/v4/view/AccessibilityDelegateCompat.java
  154. +120 −0 ActionBarSherlock/src/android/support/v4/view/AccessibilityDelegateCompatIcs.java
  155. +190 −0 ActionBarSherlock/src/android/support/v4/view/ActionMode.java
  156. +145 −0 ActionBarSherlock/src/android/support/v4/view/KeyEventCompat.java
  157. +36 −0 ActionBarSherlock/src/android/support/v4/view/KeyEventCompatHoneycomb.java
  158. +104 −0 ActionBarSherlock/src/android/support/v4/view/Menu.java
  159. +81 −0 ActionBarSherlock/src/android/support/v4/view/MenuCompat.java
  160. +187 −0 ActionBarSherlock/src/android/support/v4/view/MenuItem.java
  161. +122 −0 ActionBarSherlock/src/android/support/v4/view/MenuItemCompat.java
  162. +33 −0 ActionBarSherlock/src/android/support/v4/view/MenuItemCompatHoneycomb.java
  163. +195 −0 ActionBarSherlock/src/android/support/v4/view/MotionEventCompat.java
  164. +37 −0 ActionBarSherlock/src/android/support/v4/view/MotionEventCompatEclair.java
  165. +299 −0 ActionBarSherlock/src/android/support/v4/view/PagerAdapter.java
  166. +326 −0 ActionBarSherlock/src/android/support/v4/view/PagerTitleStrip.java
  167. +60 −0 ActionBarSherlock/src/android/support/v4/view/SubMenu.java
  168. +93 −0 ActionBarSherlock/src/android/support/v4/view/VelocityTrackerCompat.java
  169. +31 −0 ActionBarSherlock/src/android/support/v4/view/VelocityTrackerCompatHoneycomb.java
  170. +304 −0 ActionBarSherlock/src/android/support/v4/view/ViewCompat.java
  171. +29 −0 ActionBarSherlock/src/android/support/v4/view/ViewCompatGingerbread.java
  172. +53 −0 ActionBarSherlock/src/android/support/v4/view/ViewCompatICS.java
  173. +75 −0 ActionBarSherlock/src/android/support/v4/view/ViewConfigurationCompat.java
  174. +28 −0 ActionBarSherlock/src/android/support/v4/view/ViewConfigurationCompatFroyo.java
  175. +85 −0 ActionBarSherlock/src/android/support/v4/view/ViewGroupCompat.java
  176. +33 −0 ActionBarSherlock/src/android/support/v4/view/ViewGroupCompatIcs.java
  177. +2,097 −0 ActionBarSherlock/src/android/support/v4/view/ViewPager.java
  178. +81 −0 ActionBarSherlock/src/android/support/v4/view/Window.java
  179. +149 −0 ActionBarSherlock/src/android/support/v4/view/accessibility/AccessibilityEventCompat.java
  180. +39 −0 ActionBarSherlock/src/android/support/v4/view/accessibility/AccessibilityEventCompatIcs.java
  181. +206 −0 ActionBarSherlock/src/android/support/v4/view/accessibility/AccessibilityManagerCompat.java
  182. +70 −0 ActionBarSherlock/src/android/support/v4/view/accessibility/AccessibilityManagerCompatIcs.java
Sorry, we could not display the entire diff because it was too big.
View
BIN .README.md.swp
Binary file not shown.
View
2 .classpath
@@ -5,6 +5,8 @@
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry exported="true" kind="lib" path="libs/jackson-core-asl-1.8.5.jar"/>
<classpathentry kind="lib" path="libs/jackson-mapper-asl-1.8.5.jar"/>
+ <classpathentry kind="lib" path="libs/actionbarsherlock-plugin-maps-3.5.0.jar"/>
+ <classpathentry kind="lib" path="libs/actionbarsherlock-plugin-preference-3.5.0.jar"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
View
8 ActionBarSherlock/.classpath
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="src" path="gen"/>
+ <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
+ <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
+ <classpathentry kind="output" path="bin/classes"/>
+</classpath>
View
33 ActionBarSherlock/.project
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>ActionBarSherlock</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.ApkBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.android.ide.eclipse.adt.AndroidNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
View
13 ActionBarSherlock/AndroidManifest.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<manifest
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ package="com.actionbarsherlock"
+ android:versionCode="55"
+ android:versionName="3.5.1">
+
+ <uses-sdk
+ android:minSdkVersion="4"
+ android:targetSdkVersion="13" />
+
+</manifest>
View
15 ActionBarSherlock/README.md
@@ -0,0 +1,15 @@
+ActionBarSherlock Library
+=========================
+
+This folder contains the main library which should be linked against as an
+Android library project in your application.
+
+For more information see the "Including In Your Project" section of the
+[download page][1].
+
+
+
+
+
+
+ [1]: http://actionbarsherlock.com/download.html
View
115 ActionBarSherlock/checkstyle.xml
@@ -0,0 +1,115 @@
+<?xml version="1.0"?>
+<!DOCTYPE module PUBLIC
+ "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
+ "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
+
+<module name="Checker">
+ <!--module name="NewlineAtEndOfFile"/-->
+ <!--module name="FileLength"/-->
+ <module name="FileTabCharacter"/>
+
+ <!-- Trailing spaces -->
+ <module name="RegexpSingleline">
+ <property name="format" value="\s+$"/>
+ <property name="message" value="Line has trailing spaces."/>
+ </module>
+
+ <module name="TreeWalker">
+ <property name="cacheFile" value="${checkstyle.cache.file}"/>
+
+ <!-- Checks for Javadoc comments. -->
+ <!-- See http://checkstyle.sf.net/config_javadoc.html -->
+ <!--module name="JavadocMethod"/-->
+ <!--module name="JavadocType"/-->
+ <!--module name="JavadocVariable"/-->
+ <!--module name="JavadocStyle"/-->
+
+
+ <!-- Checks for Naming Conventions. -->
+ <!-- See http://checkstyle.sf.net/config_naming.html -->
+ <!--module name="ConstantName"/-->
+ <!--module name="LocalFinalVariableName"/-->
+ <!--module name="LocalVariableName"/-->
+ <!--module name="MemberName"/-->
+ <!--module name="MethodName"/-->
+ <!--module name="PackageName"/-->
+ <!--module name="ParameterName"/-->
+ <!--module name="StaticVariableName"/-->
+ <!--module name="TypeName"/-->
+
+
+ <!-- Checks for imports -->
+ <!-- See http://checkstyle.sf.net/config_import.html -->
+ <module name="AvoidStarImport"/>
+ <module name="IllegalImport"/> <!-- defaults to sun.* packages -->
+ <module name="RedundantImport"/>
+ <module name="UnusedImports"/>
+
+
+ <!-- Checks for Size Violations. -->
+ <!-- See http://checkstyle.sf.net/config_sizes.html -->
+ <!--module name="LineLength"/-->
+ <!--module name="MethodLength"/-->
+ <!--module name="ParameterNumber"/-->
+
+
+ <!-- Checks for whitespace -->
+ <!-- See http://checkstyle.sf.net/config_whitespace.html -->
+ <!--module name="EmptyForIteratorPad"/-->
+ <!--module name="MethodParamPad"/-->
+ <!--module name="NoWhitespaceAfter"/-->
+ <!--module name="NoWhitespaceBefore"/-->
+ <!--module name="OperatorWrap"/-->
+ <!--module name="ParenPad"/-->
+ <!--module name="TypecastParenPad"/-->
+ <!--module name="WhitespaceAfter"/-->
+ <!--module name="WhitespaceAround"/-->
+
+
+ <!-- Modifier Checks -->
+ <!-- See http://checkstyle.sf.net/config_modifiers.html -->
+ <!--module name="ModifierOrder"/-->
+ <!--module name="RedundantModifier"/-->
+
+
+ <!-- Checks for blocks. You know, those {}'s -->
+ <!-- See http://checkstyle.sf.net/config_blocks.html -->
+ <!--module name="AvoidNestedBlocks"/-->
+ <!--module name="EmptyBlock"/-->
+ <!--module name="LeftCurly"/-->
+ <!--module name="NeedBraces"/-->
+ <!--module name="RightCurly"/-->
+
+
+ <!-- Checks for common coding problems -->
+ <!-- See http://checkstyle.sf.net/config_coding.html -->
+ <!--module name="AvoidInlineConditionals"/-->
+ <!--module name="DoubleCheckedLocking"/--> <!-- MY FAVOURITE -->
+ <!--module name="EmptyStatement"/-->
+ <!--module name="EqualsHashCode"/-->
+ <!--module name="HiddenField"/-->
+ <!--module name="IllegalInstantiation"/-->
+ <!--module name="InnerAssignment"/-->
+ <!--module name="MagicNumber"/-->
+ <!--module name="MissingSwitchDefault"/-->
+ <!--module name="RedundantThrows"/-->
+ <!--module name="SimplifyBooleanExpression"/-->
+ <!--module name="SimplifyBooleanReturn"/-->
+
+ <!-- Checks for class design -->
+ <!-- See http://checkstyle.sf.net/config_design.html -->
+ <!--module name="DesignForExtension"/-->
+ <!--module name="FinalClass"/-->
+ <!--module name="HideUtilityClassConstructor"/-->
+ <!--module name="InterfaceIsType"/-->
+ <!--module name="VisibilityModifier"/-->
+
+
+ <!-- Miscellaneous other checks. -->
+ <!-- See http://checkstyle.sf.net/config_misc.html -->
+ <!--module name="ArrayTypeStyle"/-->
+ <!--module name="FinalParameters"/-->
+ <!--module name="TodoComment"/-->
+ <!--module name="UpperEll"/-->
+ </module>
+</module>
View
104 ActionBarSherlock/pom.xml
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>com.actionbarsherlock</groupId>
+ <artifactId>library</artifactId>
+ <name>ActionBarSherlock</name>
+ <packaging>apklib</packaging>
+
+ <parent>
+ <groupId>com.actionbarsherlock</groupId>
+ <artifactId>parent</artifactId>
+ <version>3.5.1</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <dependencies>
+ <dependency>
+ <groupId>android</groupId>
+ <artifactId>android</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+
+ <plugins>
+ <plugin>
+ <groupId>com.jayway.maven.plugins.android.generation2</groupId>
+ <artifactId>maven-android-plugin</artifactId>
+ <extensions>true</extensions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>com.google.code.maven-replacer-plugin</groupId>
+ <artifactId>maven-replacer-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>process-sources</phase>
+ <goals>
+ <goal>replace</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <ignoreMissingFile>false</ignoreMissingFile>
+ <file>target/generated-sources/r/com/actionbarsherlock/R.java</file>
+ <outputFile>target/generated-sources/r/com/actionbarsherlock/R.java</outputFile>
+ <regex>false</regex>
+ <token>static final int</token>
+ <value>static int</value>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <configuration>
+ <configLocation>${project.basedir}/checkstyle.xml</configLocation>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>verify</phase>
+ <goals>
+ <goal>checkstyle</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>1.7</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>attach-artifact</goal>
+ </goals>
+ <configuration>
+ <artifacts>
+ <artifact>
+ <type>jar</type>
+ <file>${project.build.directory}/${project.build.finalName}.jar</file>
+ </artifact>
+ </artifacts>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
View
12 ActionBarSherlock/project.properties
@@ -0,0 +1,12 @@
+# This file is automatically generated by Android Tools.
+# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
+#
+# This file must be checked in Version Control Systems.
+#
+# To customize properties used by the Ant build system use,
+# "ant.properties", and override values to adapt the script to your
+# project structure.
+
+android.library=true
+# Project target.
+target=android-13
View
14 ActionBarSherlock/res/color/abs__item_bg.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_selected="false" android:state_pressed="false" android:state_focused="false" android:drawable="@android:color/transparent" />
+ <item android:state_selected="false" android:state_pressed="false" android:state_focused="true" android:drawable="@color/abs__item_focused" />
+ <item android:state_selected="false" android:state_pressed="true" android:state_focused="false" android:drawable="@color/abs__item_focused" />
+ <item android:state_selected="false" android:state_pressed="true" android:state_focused="true" android:drawable="@color/abs__item_focused" />
+ <item android:state_selected="true" android:state_pressed="false" android:state_focused="false" android:drawable="@android:color/transparent" />
+ <item android:state_selected="true" android:state_pressed="false" android:state_focused="true" android:drawable="@color/abs__item_focused" />
+ <item android:state_selected="true" android:state_pressed="true" android:state_focused="false" android:drawable="@color/abs__item_focused" />
+ <item android:state_selected="true" android:state_pressed="true" android:state_focused="true" android:drawable="@color/abs__item_focused" />
+ <item android:state_selected="true" android:state_pressed="false" android:state_focused="false" android:drawable="@android:color/transparent" />
+ <item android:drawable="@android:color/transparent" />
+</selector>
View
8 ActionBarSherlock/res/color/abs__tab_text_color_dark.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_selected="true" android:color="@android:color/primary_text_dark" />
+ <item android:state_focused="true" android:color="@android:color/primary_text_dark" />
+ <item android:state_pressed="true" android:color="@android:color/primary_text_dark" />
+ <item android:color="@android:color/primary_text_dark" />
+</selector>
View
8 ActionBarSherlock/res/color/abs__tab_text_color_light.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_selected="true" android:color="#000" />
+ <item android:state_focused="true" android:color="#000" />
+ <item android:state_pressed="true" android:color="#000" />
+ <item android:color="#000" />
+</selector>
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__ab_solid_dark_holo.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__ab_stacked_transparent_dark_holo.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__ab_stacked_transparent_light_holo.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__cab_background_holo_dark.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__cab_background_holo_light.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__cab_ic_close_focused_holo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__cab_ic_close_normal_holo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__cab_ic_close_pressed_holo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__ic_ab_back_holo_dark.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__ic_ab_back_holo_light.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__list_focused_holo.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__list_longpressed_holo.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__list_pressed_holo_dark.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__list_pressed_holo_light.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__list_selector_disabled_holo_dark.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__list_selector_disabled_holo_light.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__spinner_default_holo_dark.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__spinner_default_holo_light.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__spinner_disabled_holo_dark.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__spinner_disabled_holo_light.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__spinner_focused_holo_dark.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__spinner_focused_holo_light.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__spinner_pressed_holo_dark.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__spinner_pressed_holo_light.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__tab_selected_focused_holo.9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__tab_selected_holo.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__tab_selected_pressed_focused_holo.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__tab_selected_pressed_holo.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__tab_unselected_focused_holo.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__tab_unselected_holo.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__tab_unselected_pressed_focused_holo.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-hdpi/abs__tab_unselected_pressed_holo.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__ab_solid_dark_holo.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__ab_stacked_transparent_dark_holo.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__ab_stacked_transparent_light_holo.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__cab_background_holo_dark.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__cab_background_holo_light.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__cab_ic_close_focused_holo.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__cab_ic_close_normal_holo.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__cab_ic_close_pressed_holo.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__ic_ab_back_holo_dark.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__ic_ab_back_holo_light.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__list_focused_holo.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__list_longpressed_holo.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__list_pressed_holo_dark.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__list_pressed_holo_light.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__list_selector_disabled_holo_dark.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__list_selector_disabled_holo_light.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__spinner_default_holo_dark.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__spinner_default_holo_light.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__spinner_disabled_holo_dark.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__spinner_disabled_holo_light.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__spinner_focused_holo_dark.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__spinner_focused_holo_light.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__spinner_pressed_holo_dark.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__spinner_pressed_holo_light.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__tab_selected_focused_holo.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__tab_selected_holo.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__tab_selected_pressed_focused_holo.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__tab_selected_pressed_holo.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__tab_unselected_focused_holo.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__tab_unselected_holo.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__tab_unselected_pressed_focused_holo.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-mdpi/abs__tab_unselected_pressed_holo.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-nodpi-v11/abs__action_item_divider.9.png
Diff not rendered.
View
BIN ActionBarSherlock/res/drawable-nodpi/abs__action_item_divider.9.png
Diff not rendered.
View
23 ActionBarSherlock/res/drawable/abs__cab_ic_close_holo.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true"
+ android:drawable="@drawable/abs__cab_ic_close_pressed_holo" />
+ <item android:state_focused="true"
+ android:drawable="@drawable/abs__cab_ic_close_focused_holo" />
+ <item android:drawable="@drawable/abs__cab_ic_close_normal_holo" />
+</selector>
View
29 ActionBarSherlock/res/drawable/abs__item_background_holo_dark.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:exitFadeDuration="@android:integer/config_mediumAnimTime">
+
+ <item android:state_window_focused="false" android:drawable="@android:color/transparent" />
+
+ <!-- Even though these two point to the same resource, have two states so the drawable will invalidate itself when coming out of pressed state. -->
+ <item android:state_focused="true" android:state_enabled="false" android:state_pressed="true" android:drawable="@drawable/abs__list_selector_disabled_holo_dark" />
+ <item android:state_focused="true" android:state_enabled="false" android:drawable="@drawable/abs__list_selector_disabled_holo_dark" />
+ <item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/abs__list_selector_background_transition_holo_dark" />
+ <item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/abs__list_selector_background_transition_holo_dark" />
+ <item android:state_focused="true" android:drawable="@drawable/abs__list_focused_holo" />
+ <item android:drawable="@android:color/transparent" />
+</selector>
View
29 ActionBarSherlock/res/drawable/abs__item_background_holo_light.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:exitFadeDuration="@android:integer/config_mediumAnimTime">
+
+ <item android:state_window_focused="false" android:drawable="@android:color/transparent" />
+
+ <!-- Even though these two point to the same resource, have two states so the drawable will invalidate itself when coming out of pressed state. -->
+ <item android:state_focused="true" android:state_enabled="false" android:state_pressed="true" android:drawable="@drawable/abs__list_selector_disabled_holo_light" />
+ <item android:state_focused="true" android:state_enabled="false" android:drawable="@drawable/abs__list_selector_disabled_holo_light" />
+ <item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/abs__list_selector_background_transition_holo_light" />
+ <item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/abs__list_selector_background_transition_holo_light" />
+ <item android:state_focused="true" android:drawable="@drawable/abs__list_focused_holo" />
+ <item android:drawable="@android:color/transparent" />
+</selector>
View
20 ActionBarSherlock/res/drawable/abs__list_selector_background_transition_holo_dark.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<transition xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:drawable="@drawable/abs__list_pressed_holo_dark" />
+ <item android:drawable="@drawable/abs__list_longpressed_holo" />
+</transition>
View
20 ActionBarSherlock/res/drawable/abs__list_selector_background_transition_holo_light.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<transition xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:drawable="@drawable/abs__list_pressed_holo_light" />
+ <item android:drawable="@drawable/abs__list_longpressed_holo" />
+</transition>
View
25 ActionBarSherlock/res/drawable/abs__spinner_background_holo_dark.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_enabled="false"
+ android:drawable="@drawable/abs__spinner_disabled_holo_dark" />
+ <item android:state_pressed="true"
+ android:drawable="@drawable/abs__spinner_pressed_holo_dark" />
+ <item android:state_pressed="false" android:state_focused="true"
+ android:drawable="@drawable/abs__spinner_focused_holo_dark" />
+ <item android:drawable="@drawable/abs__spinner_default_holo_dark" />
+</selector>
View
25 ActionBarSherlock/res/drawable/abs__spinner_background_holo_light.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_enabled="false"
+ android:drawable="@drawable/abs__spinner_disabled_holo_light" />
+ <item android:state_pressed="true"
+ android:drawable="@drawable/abs__spinner_pressed_holo_light" />
+ <item android:state_pressed="false" android:state_focused="true"
+ android:drawable="@drawable/abs__spinner_focused_holo_light" />
+ <item android:drawable="@drawable/abs__spinner_default_holo_light" />
+</selector>
View
34 ActionBarSherlock/res/drawable/abs__tab_indicator_holo.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2008 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <!-- Non focused states -->
+ <item android:state_focused="false" android:state_selected="false" android:state_pressed="false" android:drawable="@drawable/abs__tab_unselected_holo" />
+ <item android:state_focused="false" android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/abs__tab_selected_holo" />
+
+ <!-- Focused states -->
+ <item android:state_focused="true" android:state_selected="false" android:state_pressed="false" android:drawable="@drawable/abs__tab_unselected_focused_holo" />
+ <item android:state_focused="true" android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/abs__tab_selected_focused_holo" />
+
+ <!-- Pressed -->
+ <!-- Non focused states -->
+ <item android:state_focused="false" android:state_selected="false" android:state_pressed="true" android:drawable="@drawable/abs__tab_unselected_pressed_holo" />
+ <item android:state_focused="false" android:state_selected="true" android:state_pressed="true" android:drawable="@drawable/abs__tab_selected_pressed_holo" />
+
+ <!-- Focused states -->
+ <item android:state_focused="true" android:state_selected="false" android:state_pressed="true" android:drawable="@drawable/abs__tab_unselected_pressed_focused_holo" />
+ <item android:state_focused="true" android:state_selected="true" android:state_pressed="true" android:drawable="@drawable/abs__tab_selected_pressed_focused_holo" />
+</selector>
View
20 ActionBarSherlock/res/layout-land/abs__action_bar.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Johan Nilsson <http://markupartist.com>
+ Copyright (C) 2011 Jake Wharton <jakewharton@gmail.com>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<merge>
+ <include layout="@layout/abs__action_bar_inline" />
+</merge>
View
48 ActionBarSherlock/res/layout-land/abs__screen_action_bar.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 The Android Open Source Project
+ Copyright (C) 2011 Jake Wharton
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!--
+This is an optimized layout for a screen with the Action Bar (Tab's inlined) enabled.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical"
+ android:fitsSystemWindows="true"
+ >
+ <com.actionbarsherlock.internal.widget.ActionBarContainer
+ android:id="@+id/abs__action_bar_container"
+ android:layout_width="fill_parent"
+ android:layout_height="?attr/abHeight"
+ android:background="?attr/abBackground"
+ >
+ <com.actionbarsherlock.internal.widget.ActionBarView
+ android:id="@+id/abs__action_bar"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ />
+ </com.actionbarsherlock.internal.widget.ActionBarContainer>
+ <FrameLayout
+ android:id="@+id/abs__content"
+ android:layout_width="fill_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1"
+ android:foregroundGravity="fill_horizontal|top"
+ android:foreground="?android:attr/windowContentOverlay"
+ />
+</LinearLayout>
View
49 ActionBarSherlock/res/layout-land/abs__screen_action_bar_overlay.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 The Android Open Source Project
+ Copyright (C) 2011 Jake Wharton
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!--
+This is an optimized layout for a screen with
+the Action Bar (Tab's inlined) enabled overlaying application content.
+-->
+
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:fitsSystemWindows="true">
+ <FrameLayout
+ android:id="@+id/abs__content"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" />
+ <com.actionbarsherlock.internal.widget.ActionBarContainer
+ android:id="@+id/abs__action_bar_container"
+ android:layout_width="fill_parent"
+ android:layout_height="?attr/abHeight"
+ android:background="?attr/abBackground"
+ android:gravity="top">
+ <com.actionbarsherlock.internal.widget.ActionBarView
+ android:id="@+id/abs__action_bar"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ />
+ </com.actionbarsherlock.internal.widget.ActionBarContainer>
+ <ImageView
+ android:src="?android:attr/windowContentOverlay"
+ android:scaleType="fitXY"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/abs__action_bar_container" />
+</RelativeLayout>
View
20 ActionBarSherlock/res/layout-large/abs__action_bar.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Johan Nilsson <http://markupartist.com>
+ Copyright (C) 2011 Jake Wharton <jakewharton@gmail.com>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<merge>
+ <include layout="@layout/abs__action_bar_inline" />
+</merge>
View
48 ActionBarSherlock/res/layout-large/abs__screen_action_bar.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 The Android Open Source Project
+ Copyright (C) 2011 Jake Wharton
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!--
+This is an optimized layout for a screen with the Action Bar (Tab's inlined) enabled.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical"
+ android:fitsSystemWindows="true"
+ >
+ <com.actionbarsherlock.internal.widget.ActionBarContainer
+ android:id="@+id/abs__action_bar_container"
+ android:layout_width="fill_parent"
+ android:layout_height="?attr/abHeight"
+ android:background="?attr/abBackground"
+ >
+ <com.actionbarsherlock.internal.widget.ActionBarView
+ android:id="@+id/abs__action_bar"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ />
+ </com.actionbarsherlock.internal.widget.ActionBarContainer>
+ <FrameLayout
+ android:id="@+id/abs__content"
+ android:layout_width="fill_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1"
+ android:foregroundGravity="fill_horizontal|top"
+ android:foreground="?android:attr/windowContentOverlay"
+ />
+</LinearLayout>
View
49 ActionBarSherlock/res/layout-large/abs__screen_action_bar_overlay.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 The Android Open Source Project
+ Copyright (C) 2011 Jake Wharton
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!--
+This is an optimized layout for a screen with
+the Action Bar (Tab's inlined) enabled overlaying application content.
+-->
+
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:fitsSystemWindows="true">
+ <FrameLayout
+ android:id="@+id/abs__content"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" />
+ <com.actionbarsherlock.internal.widget.ActionBarContainer
+ android:id="@+id/abs__action_bar_container"
+ android:layout_width="fill_parent"
+ android:layout_height="?attr/abHeight"
+ android:background="?attr/abBackground"
+ android:gravity="top">
+ <com.actionbarsherlock.internal.widget.ActionBarView
+ android:id="@+id/abs__action_bar"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ />
+ </com.actionbarsherlock.internal.widget.ActionBarContainer>
+ <ImageView
+ android:src="?android:attr/windowContentOverlay"
+ android:scaleType="fitXY"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/abs__action_bar_container" />
+</RelativeLayout>
View
91 ActionBarSherlock/res/layout/abs__action_bar.xml
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 Johan Nilsson <http://markupartist.com> Copyright
+ (C) 2011 Jake Wharton <jakewharton@gmail.com> Licensed under the Apache License,
+ Version 2.0 (the "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
+ Unless required by applicable law or agreed to in writing, software distributed
+ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
+ OR CONDITIONS OF ANY KIND, either express or implied. See the License for
+ the specific language governing permissions and limitations under the License. -->
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <RelativeLayout
+ android:layout_width="fill_parent"
+ android:layout_height="?attr/abHeight"
+ android:background="?attr/abBackground">
+ <LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/abs__home_wrapper"
+ android:background="?selectableItemBackground"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"/>
+
+ <FrameLayout
+ android:id="@+id/abs__actions"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_alignParentRight="true" />
+ <RelativeLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_toRightOf="@id/abs__home_wrapper"
+ android:layout_toLeftOf="@id/abs__actions"
+ android:layout_alignWithParentIfMissing="true"
+ android:layout_centerVertical="true">
+ <ProgressBar
+ android:id="@+id/abs__iprogress"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:paddingRight="5dip"
+ android:indeterminateOnly="true"
+ android:visibility="gone"
+ style="?abIndeterminateProgressStyle" />
+ <FrameLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:layout_alignParentLeft="true"
+ android:layout_toLeftOf="@id/abs__iprogress"
+ android:layout_alignWithParentIfMissing="true"
+ android:paddingLeft="5dip"
+ android:gravity="center_vertical">
+ <include
+ layout="@layout/abs__action_bar_title_item" />
+ </FrameLayout>
+ <Spinner
+ android:id="@+id/abs__nav_list"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_alignParentLeft="true"
+ android:layout_toLeftOf="@id/abs__iprogress"
+ android:layout_alignWithParentIfMissing="true"
+ style="?actionDropDownStyle" />
+ <FrameLayout
+ android:id="@+id/abs__custom"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_alignParentLeft="true"
+ android:layout_toLeftOf="@id/abs__iprogress"
+ android:layout_alignWithParentIfMissing="true"
+ android:visibility="gone" />
+ </RelativeLayout>
+ </RelativeLayout>
+ <LinearLayout
+ android:id="@+id/abs__nav_tabs"
+ android:layout_width="fill_parent"
+ android:layout_height="44dp"
+ android:focusable="true"
+ android:visibility="visible"
+ android:orientation="horizontal"
+ android:gravity="center_vertical"
+ android:tag="@string/abs__tab_under_ab_tag"
+ android:background="?abBackgroundStacked"
+ style="?actionBarTabBarStyle" />
+
+</LinearLayout>
View
38 ActionBarSherlock/res/layout/abs__action_bar_home.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2011 Jake Wharton <jakewharton@gmail.com>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:background="?selectableItemBackground" >
+ <ImageView
+ android:id="@+id/abs__up"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="left|center"
+ android:layout_marginLeft="-4dip"
+ android:layout_marginRight="-12dip"
+ android:src="?homeAsUpIndicator"
+ android:visibility="gone" />
+ <ImageView
+ android:id="@+id/abs__home"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_gravity="center"
+ android:paddingLeft="6dip"
+ android:paddingRight="6dip"
+ android:scaleType="centerInside" />
+</LinearLayout>
View
127 ActionBarSherlock/res/layout/abs__action_bar_inline.xml
@@ -0,0 +1,127 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Johan Nilsson <http://markupartist.com>
+ Copyright (C) 2011 Jake Wharton <jakewharton@gmail.com>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- Version of the ActionBar with the Tab bar shown in the Action Bar -->
+
+<merge xmlns:android="http://schemas.android.com/apk/res/android" >
+
+ <LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/abs__home_wrapper"
+ android:background="?selectableItemBackground"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent" >
+
+ <ImageView
+ android:layout_gravity="left|center"
+ android:id="@+id/abs__up"
+ android:visibility="gone"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginRight="-12dip"
+ android:layout_marginLeft="-4dip"
+ android:src="?homeAsUpIndicator" />
+
+ <ImageView
+ android:layout_gravity="center"
+ android:id="@+id/abs__home"
+ android:paddingLeft="6dip"
+ android:paddingRight="6dip"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:scaleType="center" />
+ </LinearLayout>
+
+ <FrameLayout
+ android:id="@+id/abs__actions"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_alignParentRight="true" />
+
+ <RelativeLayout
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_toRightOf="@id/abs__home_wrapper"
+ android:layout_toLeftOf="@id/abs__actions"
+ android:layout_alignWithParentIfMissing="true"
+ android:layout_centerVertical="true" >
+
+ <ProgressBar
+ android:id="@+id/abs__iprogress"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:paddingRight="5dip"
+ android:indeterminateOnly="true"
+ android:visibility="gone"
+ style="?abIndeterminateProgressStyle" />
+
+ <FrameLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:layout_alignParentLeft="true"
+ android:layout_toLeftOf="@id/abs__iprogress"
+ android:layout_alignWithParentIfMissing="true"
+ android:paddingLeft="5dip"
+ android:layout_centerVertical="true" >
+
+ <include layout="@layout/abs__action_bar_title_item" />
+ </FrameLayout>
+
+ <Spinner
+ android:id="@+id/abs__nav_list"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_alignParentLeft="true"
+ android:layout_toLeftOf="@id/abs__iprogress"
+ android:layout_alignWithParentIfMissing="true"
+ style="?actionDropDownStyle" />
+
+ <HorizontalScrollView
+ android:id="@+id/abs__nav_tabs_layout"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_alignParentLeft="true"
+ android:layout_toLeftOf="@id/abs__iprogress"
+ android:layout_alignWithParentIfMissing="true"
+ android:scrollbars="none">
+
+ <LinearLayout
+ android:id="@+id/abs__nav_tabs"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:focusable="true"
+ android:visibility="visible"
+ android:orientation="horizontal"
+ android:gravity="center_vertical"
+ style="?actionBarTabBarStyle" />
+ </HorizontalScrollView>
+
+ <FrameLayout
+ android:id="@+id/abs__custom"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_alignParentLeft="true"
+ android:layout_toLeftOf="@id/abs__iprogress"
+ android:layout_alignWithParentIfMissing="true"
+ android:visibility="gone" />
+ </RelativeLayout>
+
+</merge>
View
53 ActionBarSherlock/res/layout/abs__action_bar_tab_layout.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 Johan Nilsson <http://markupartist.com>
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:orientation="vertical"
+ android:layout_weight="1"
+ android:focusable="true"
+ android:gravity="center"
+ style="?attr/actionBarTabStyle"
+ >
+ <ImageView
+ android:id="@+id/abs__tab_icon"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:gravity="center_vertical"
+ />
+ <com.actionbarsherlock.internal.widget.ScrollingTextView
+ android:id="@+id/abs__tab"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:layout_toRightOf="@id/abs__tab_icon"
+ android:layout_alignWithParentIfMissing="true"
+ android:layout_weight="1"
+ android:gravity="center_vertical"
+ android:lines="1"
+ android:scrollHorizontally="true"
+ android:ellipsize="marquee"
+ android:marqueeRepeatLimit="marquee_forever"
+ style="?attr/actionBarTabTextStyle"
+ />
+ <FrameLayout
+ android:id="@+id/abs__tab_custom"
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:padding="5dip"
+ android:layout_weight="1"
+ android:visibility="gone"
+ />
+</RelativeLayout>
View
46 ActionBarSherlock/res/layout/abs__action_bar_title_item.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 The Android Open Source Project
+ Copyright (C) 2011 Jake Wharton
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:paddingRight="10dip">
+ <com.actionbarsherlock.internal.widget.ScrollingTextView
+ android:id="@+id/abs__action_bar_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:scrollHorizontally="true"
+ android:ellipsize="marquee"
+ android:singleLine="true"
+ android:marqueeRepeatLimit="marquee_forever"
+ />
+ <com.actionbarsherlock.internal.widget.ScrollingTextView
+ android:id="@+id/abs__action_bar_subtitle"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:scrollHorizontally="true"
+ android:layout_marginTop="@dimen/abs__action_bar_subtitle_top_margin"
+ android:layout_marginBottom="@dimen/abs__action_bar_subtitle_bottom_margin"
+ android:ellipsize="marquee"
+ android:singleLine="true"
+ android:marqueeRepeatLimit="marquee_forever"
+ android:visibility="gone"
+ />
+</LinearLayout>
View
55 ActionBarSherlock/res/layout/abs__action_menu_item_layout.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<com.actionbarsherlock.internal.view.menu.ActionMenuItemView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:addStatesFromChildren="true"
+ android:gravity="center"
+ android:focusable="true"
+ android:paddingLeft="4dip"
+ android:paddingRight="4dip"
+ style="?attr/actionButtonStyle">
+ <ImageButton android:id="@+id/abs__imageButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:visibility="gone"
+ android:layout_marginTop="4dip"
+ android:layout_marginBottom="4dip"
+ android:layout_marginLeft="4dip"
+ android:layout_marginRight="4dip"
+ android:scaleType="fitCenter"
+ android:adjustViewBounds="true"
+ android:background="@null"
+ android:focusable="false" />
+ <Button android:id="@+id/abs__textButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:visibility="gone"
+ android:textAppearance="?attr/actionMenuTextAppearance"
+ android:textColor="?attr/actionMenuTextColor"
+ android:singleLine="true"
+ android:ellipsize="none"
+ android:background="@null"
+ android:paddingTop="4dip"
+ android:paddingBottom="4dip"
+ android:paddingLeft="4dip"
+ android:paddingRight="4dip"
+ android:focusable="false" />
+</com.actionbarsherlock.internal.view.menu.ActionMenuItemView>
View
23 ActionBarSherlock/res/layout/abs__action_menu_layout.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<com.actionbarsherlock.internal.view.menu.ActionMenuView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:divider="?attr/abDivider"
+ android:dividerPadding="12dip"
+ android:gravity="center_vertical" />
View
47 ActionBarSherlock/res/layout/abs__screen_action_bar.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 The Android Open Source Project
+ Copyright (C) 2011 Jake Wharton
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!--
+This is an optimized layout for a screen with the Action Bar enabled.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical"
+ android:fitsSystemWindows="true"
+ >
+ <com.actionbarsherlock.internal.widget.ActionBarContainer
+ android:id="@+id/abs__action_bar_container"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ >
+ <com.actionbarsherlock.internal.widget.ActionBarView
+ android:id="@+id/abs__action_bar"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ />
+ </com.actionbarsherlock.internal.widget.ActionBarContainer>
+ <FrameLayout
+ android:id="@+id/abs__content"
+ android:layout_width="fill_parent"
+ android:layout_height="0dip"
+ android:layout_weight="1"
+ android:foregroundGravity="fill_horizontal|top"
+ android:foreground="?android:attr/windowContentOverlay"
+ />
+</LinearLayout>
View
48 ActionBarSherlock/res/layout/abs__screen_action_bar_overlay.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 The Android Open Source Project
+ Copyright (C) 2011 Jake Wharton
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!--
+This is an optimized layout for a screen with
+the Action Bar enabled overlaying application content.
+-->
+
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:fitsSystemWindows="true">
+ <FrameLayout
+ android:id="@+id/abs__content"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" />
+ <com.actionbarsherlock.internal.widget.ActionBarContainer
+ android:id="@+id/abs__action_bar_container"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:gravity="top">
+ <com.actionbarsherlock.internal.widget.ActionBarView
+ android:id="@+id/abs__action_bar"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ />
+ </com.actionbarsherlock.internal.widget.ActionBarContainer>
+ <ImageView
+ android:src="?android:attr/windowContentOverlay"
+ android:scaleType="fitXY"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/abs__action_bar_container" />
+</RelativeLayout>
View
43 ActionBarSherlock/res/layout/abs__screen_simple.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/* //device/apps/common/assets/res/layout/screen_simple.xml
+**
+** Copyright 2006, The Android Open Source Project
+** Copyright 2011, Jake Wharton
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+
+This is an optimized layout for a screen, with the minimum set of features
+enabled.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"