Merge branch '130225_sb_facebook_sdk'
@ -0,0 +1,11 @@
|
|||||||
|
Contributing
|
||||||
|
============
|
||||||
|
|
||||||
|
If you would like to contribute code to ActionBarSherlock you can do so through
|
||||||
|
GitHub by forking the repository and sending a pull request.
|
||||||
|
|
||||||
|
When submitting code, please make every effort to follow existing conventions
|
||||||
|
and style in order to keep the code as readable as possible. Please also make
|
||||||
|
sure your code compiles by running `mvn clean verify`. Checkstyle failures
|
||||||
|
during compilation indicate errors in your style and can be viewed in the
|
||||||
|
`checkstyle-result.xml` file.
|
@ -0,0 +1,121 @@
|
|||||||
|
<?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"/>
|
||||||
|
<!--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"/-->
|
||||||
|
<module name="StringLiteralEquality"/>
|
||||||
|
<module name="CovariantEquals"/>
|
||||||
|
<!--module name="NoClone"/-->
|
||||||
|
<module name="NoFinalizer"/>
|
||||||
|
<module name="PackageDeclaration"/>
|
||||||
|
<!--module name="FallThrough"/-->
|
||||||
|
|
||||||
|
<!-- 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>
|
@ -1,13 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="100" android:versionName="4.2.0" package="com.actionbarsherlock">
|
||||||
|
|
||||||
<manifest
|
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="16"/>
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
package="com.actionbarsherlock"
|
|
||||||
android:versionCode="50"
|
|
||||||
android:versionName="3.5.0">
|
|
||||||
|
|
||||||
<uses-sdk
|
|
||||||
android:minSdkVersion="4"
|
|
||||||
android:targetSdkVersion="13" />
|
|
||||||
|
|
||||||
</manifest>
|
</manifest>
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
<?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>
|
|
@ -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.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<item android:state_enabled="false" android:color="@color/abs__bright_foreground_disabled_holo_dark"/>
|
||||||
|
<item android:color="@color/abs__bright_foreground_holo_dark"/> <!-- not selected -->
|
||||||
|
</selector>
|
@ -0,0 +1,21 @@
|
|||||||
|
<?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:color="@color/abs__bright_foreground_disabled_holo_light"/>
|
||||||
|
<item android:color="@color/abs__bright_foreground_holo_light"/> <!-- not selected -->
|
||||||
|
</selector>
|
||||||
|
|
@ -0,0 +1,24 @@
|
|||||||
|
<?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:color="@color/abs__bright_foreground_disabled_holo_dark"/>
|
||||||
|
<item android:state_window_focused="false" android:color="@color/abs__bright_foreground_holo_dark"/>
|
||||||
|
<item android:state_pressed="true" android:color="@color/abs__bright_foreground_holo_dark"/>
|
||||||
|
<item android:state_selected="true" android:color="@color/abs__bright_foreground_holo_dark"/>
|
||||||
|
<item android:state_activated="true" android:color="@color/abs__bright_foreground_holo_dark"/>
|
||||||
|
<item android:color="@color/abs__bright_foreground_holo_dark"/> <!-- not selected -->
|
||||||
|
</selector>
|
@ -0,0 +1,26 @@
|
|||||||
|
<?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:color="@color/abs__bright_foreground_disabled_holo_light"/>
|
||||||
|
<item android:state_window_focused="false" android:color="@color/abs__bright_foreground_holo_light"/>
|
||||||
|
<item android:state_pressed="true" android:color="@color/abs__bright_foreground_holo_light"/>
|
||||||
|
<item android:state_selected="true" android:color="@color/abs__bright_foreground_holo_light"/>
|
||||||
|
<item android:state_activated="true" android:color="@color/abs__bright_foreground_holo_light"/>
|
||||||
|
<item android:color="@color/abs__bright_foreground_holo_light"/> <!-- not selected -->
|
||||||
|
|
||||||
|
</selector>
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
<?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>
|
|
@ -1,8 +0,0 @@
|
|||||||
<?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>
|
|
After Width: | Height: | Size: 144 B |
After Width: | Height: | Size: 138 B |
After Width: | Height: | Size: 144 B |
After Width: | Height: | Size: 135 B |
After Width: | Height: | Size: 134 B |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 146 B |
After Width: | Height: | Size: 145 B |
After Width: | Height: | Size: 192 B |
After Width: | Height: | Size: 146 B |
After Width: | Height: | Size: 146 B |
Before Width: | Height: | Size: 139 B After Width: | Height: | Size: 139 B |
Before Width: | Height: | Size: 133 B After Width: | Height: | Size: 133 B |
After Width: | Height: | Size: 155 B |
After Width: | Height: | Size: 145 B |
After Width: | Height: | Size: 104 B |
After Width: | Height: | Size: 102 B |
After Width: | Height: | Size: 112 B |
After Width: | Height: | Size: 108 B |
After Width: | Height: | Size: 110 B |
After Width: | Height: | Size: 108 B |
After Width: | Height: | Size: 149 B |
After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 147 B |
After Width: | Height: | Size: 147 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 957 B |
Before Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 938 B After Width: | Height: | Size: 602 B |
Before Width: | Height: | Size: 975 B After Width: | Height: | Size: 546 B |
After Width: | Height: | Size: 713 B |
After Width: | Height: | Size: 737 B |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 144 B |
After Width: | Height: | Size: 148 B |
After Width: | Height: | Size: 467 B |
After Width: | Height: | Size: 505 B |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 154 B |
After Width: | Height: | Size: 78 B |
After Width: | Height: | Size: 76 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 159 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 154 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 159 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 159 B |
Before Width: | Height: | Size: 189 B After Width: | Height: | Size: 189 B |
Before Width: | Height: | Size: 189 B After Width: | Height: | Size: 189 B |
After Width: | Height: | Size: 922 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 178 B |
After Width: | Height: | Size: 174 B |
After Width: | Height: | Size: 917 B |
After Width: | Height: | Size: 917 B |
After Width: | Height: | Size: 188 B |
After Width: | Height: | Size: 188 B |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 311 B |
After Width: | Height: | Size: 312 B |
After Width: | Height: | Size: 306 B |
After Width: | Height: | Size: 306 B |
After Width: | Height: | Size: 524 B |
After Width: | Height: | Size: 523 B |
After Width: | Height: | Size: 464 B |
After Width: | Height: | Size: 458 B |
Before Width: | Height: | Size: 378 B |
Before Width: | Height: | Size: 378 B |
Before Width: | Height: | Size: 382 B |
Before Width: | Height: | Size: 382 B |
Before Width: | Height: | Size: 396 B |