Compare commits

...

42 Commits
main ... 4.6.6

Author SHA1 Message Date
Alex Baker 95a912c457 Clean up preferences
* Remove reset sync
* Remove contact picker option
* Remove unused preference keys
13 years ago
Alex Baker 2eff822eca Remove ActFmInvoker, ActFmSyncService 13 years ago
Alex Baker 1fccbfda7b Dont make http calls to astrid.com, remove commons 13 years ago
Alex Baker 9e447a805e Remove unused code 13 years ago
Alex Baker 1b53cf664e Remove unnecessary actfmpref fields 13 years ago
Alex Baker 35b00140c2 Remove unused code
* Replace isLoggedIn with false
* Replace isPremiumUser with true
* Remove sync logging
13 years ago
Alex Baker 64ee000362 Update android studio project 13 years ago
Alex Baker d3e79f9683 Working on package 13 years ago
Alex Baker 2c6da26d23 Remove unused code 13 years ago
Alex Baker 8b584788b8 Remove unused code 13 years ago
Alex Baker 9906b181db Update packages, remove cloud messaging 13 years ago
Alex Baker 828114c001 Move code to src
* common-src
* plugin-src
* src-legacy
13 years ago
Alex Baker 524dda1e0e Remove broken AndroidManifest entries 13 years ago
Alex Baker 04a10d8444 Prep for first release
* Change package to org.astrid
* Bump version number
* Disable feedback prompt
* Disable latest news
* Remove Astrid.com from SyP_summary
* Remove unused code
* Add store graphics
13 years ago
Alex Baker ef4b044faa Remove unused code 13 years ago
Alex Baker f2d770f03f Apply inspections 13 years ago
Alex Baker 6a5e65184d Remove unused return values 13 years ago
Alex Baker 1833726c10 Convert fields to local variables 13 years ago
Alex Baker 744155ec26 Remove unused gtasks code 13 years ago
Alex Baker d67763c980 Remove unused layouts 13 years ago
Alex Baker 887432b599 Removing third party cruft 13 years ago
Alex Baker bab89cb49e Inline variables 13 years ago
Alex Baker 3ce085751d Update project properties 13 years ago
Alex Baker f326be47c4 Remove unused method parameters 13 years ago
Alex Baker 9a0d23da1d Remove more social functionality
* Remove Waiting On Me
* Remove social reminders
* Remove assigned to filter
* Remove show list members
* Remove show friends
* Remove who from beast mode config
13 years ago
Alex Baker a71565db26 Remove help info popover 13 years ago
Alex Baker 41f736a6a6 Remove AddOnActivity and AddOnService 13 years ago
Alex Baker 7e73c12c53 Remove people 13 years ago
Alex Baker a6eb3f11b0 Remove comments button from navbar 13 years ago
Alex Baker 9c0631bc6a Remove A/B tests and SyncUpgradePrompt 13 years ago
Alex Baker aa33c3e978 Remove billing 13 years ago
Alex Baker fadb5381f5 Remove warning suppressions 13 years ago
Alex Baker 04153aa764 Remove Astrid.com integration 13 years ago
Alex Baker d9a7d8cd81 Removing some preferences and welcome walkthrough
* Remove Account Info
* Remove Support (Tutorial, FAQ, about)
* Remove Share Astrid
13 years ago
Alex Baker 41a8dbe07c Remove findbugs, localytics, crittercism 13 years ago
Alex Baker ccae55568d Miscellaneous cleanup
* Remove unnecessary casts
* Remove unnecessary boxing/unboxing
* Remove unnecessary parentheses
* Replace for with for each
* Remove more cruft
13 years ago
Alex Baker b6036faff9 Remove unnecessary supers 13 years ago
Alex Baker ae7e80a2f0 Convert fields to local variables 13 years ago
Alex Baker 2c264668e8 Add missing override annotations 13 years ago
Alex Baker 5b48d6db3d Add braces to control flow statements 13 years ago
Alex Baker 1e9c3328cf Reformat code and optimize imports 13 years ago
Alex Baker dcaf91837b Replace Eclipse with Android Studio
Remove miscellaneous cruft
13 years ago

10
.gitignore vendored

@ -1,21 +1,19 @@
.idea/workspace.xml
out/
*~
.DS_Store
*.apk
proguard_logs/
.metadata
*.class
org.eclipse.ltk.core.refactoring.prefs
gen
local.properties
/release
/dev
lp-translations/
translations/strings.xml
.idea
*.iml
coverage.em
astrid/src-combined
antbuild
greendroid/GDCatalog/.project
api/bin
astrid/bin

@ -0,0 +1 @@
astrid

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<option name="DEFAULT_COMPILER" value="Javac" />
<excludeFromCompile>
<directory url="file://$PROJECT_DIR$/astrid/gen" includeSubdirectories="true" />
<directory url="file://$PROJECT_DIR$/android-aac-enc/gen" includeSubdirectories="true" />
<directory url="file://$PROJECT_DIR$/tests/gen" includeSubdirectories="true" />
<directory url="file://$PROJECT_DIR$/api/gen" includeSubdirectories="true" />
<directory url="file://$PROJECT_DIR$/actionbarsherlock/library/gen" includeSubdirectories="true" />
<directory url="file://$PROJECT_DIR$/viewPagerIndicator/library/gen" includeSubdirectories="true" />
<directory url="file://$PROJECT_DIR$/greendroid/GreenDroid/gen" includeSubdirectories="true" />
<directory url="file://$PROJECT_DIR$/tests-sync/gen" includeSubdirectories="true" />
</excludeFromCompile>
<resourceExtensions />
<wildcardResourcePatterns>
<entry name="!?*.java" />
<entry name="!?*.form" />
<entry name="!?*.class" />
<entry name="!?*.groovy" />
<entry name="!?*.scala" />
<entry name="!?*.flex" />
<entry name="!?*.kt" />
<entry name="!?*.clj" />
</wildcardResourcePatterns>
<annotationProcessing>
<profile default="true" name="Default" enabled="false">
<processorPath useClasspath="true" />
</profile>
</annotationProcessing>
</component>
</project>

@ -0,0 +1,5 @@
<component name="CopyrightManager">
<settings default="">
<module2copyright />
</settings>
</component>

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
</project>

@ -0,0 +1,23 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0" is_locked="false">
<option name="myName" value="Project Default" />
<option name="myLocal" value="false" />
<inspection_tool class="ControlFlowStatementWithoutBraces" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="MissingOverrideAnnotation" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoreObjectMethods" value="true" />
<option name="ignoreAnonymousClassMethods" value="false" />
</inspection_tool>
<inspection_tool class="RedundantImplements" enabled="true" level="WARNING" enabled_by_default="true">
<option name="ignoreSerializable" value="false" />
<option name="ignoreCloneable" value="false" />
</inspection_tool>
<inspection_tool class="RedundantMethodOverride" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="SpellCheckingInspection" enabled="false" level="TYPO" enabled_by_default="false">
<option name="processCode" value="true" />
<option name="processLiterals" value="true" />
<option name="processComments" value="true" />
</inspection_tool>
<inspection_tool class="UnnecessarySuperConstructor" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="UnnecessarySuperQualifier" enabled="true" level="WARNING" enabled_by_default="true" />
</profile>
</component>

@ -0,0 +1,7 @@
<component name="InspectionProjectProfileManager">
<settings>
<option name="PROJECT_PROFILE" value="Project Default" />
<option name="USE_PROJECT_PROFILE" value="true" />
<version value="1.0" />
</settings>
</component>

@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="CWAC-SackOfViewsAdapter">
<CLASSES>
<root url="jar://$PROJECT_DIR$/astrid/libs/CWAC-SackOfViewsAdapter.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="android-support-v41">
<CLASSES>
<root url="jar://$PROJECT_DIR$/actionbarsherlock/library/libs/android-support-v4.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="framework">
<CLASSES>
<root url="jar://$PROJECT_DIR$/astrid/libs/framework.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

@ -0,0 +1,11 @@
<component name="libraryTable">
<library name="google-api-client">
<CLASSES>
<root url="jar://$PROJECT_DIR$/astrid/libs/google-api-client-1.6.0-beta.jar!/" />
<root url="jar://$PROJECT_DIR$/astrid/libs/google-api-client-extensions-1.6.0-beta.jar!/" />
<root url="jar://$PROJECT_DIR$/astrid/libs/google-api-client-extensions-android2-1.6.0-beta.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

@ -0,0 +1,10 @@
<component name="libraryTable">
<library name="google-api-services-tasks">
<CLASSES>
<root url="jar://$PROJECT_DIR$/astrid/libs/google-api-services-tasks-v1-1.3.0-beta.jar!/" />
<root url="jar://$PROJECT_DIR$/astrid/libs/google-api-services-tasks-v1-1.3.0-beta-sources.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

@ -0,0 +1,12 @@
<component name="libraryTable">
<library name="google-http-client">
<CLASSES>
<root url="jar://$PROJECT_DIR$/astrid/libs/google-http-client-1.6.0-beta.jar!/" />
<root url="jar://$PROJECT_DIR$/astrid/libs/google-http-client-extensions-1.6.0-beta.jar!/" />
<root url="jar://$PROJECT_DIR$/astrid/libs/google-http-client-extensions-android2-1.6.0-beta.jar!/" />
<root url="jar://$PROJECT_DIR$/astrid/libs/google-http-client-extensions-android3-1.6.0-beta.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

@ -0,0 +1,10 @@
<component name="libraryTable">
<library name="google-oauth-client">
<CLASSES>
<root url="jar://$PROJECT_DIR$/astrid/libs/google-oauth-client-1.6.0-beta.jar!/" />
<root url="jar://$PROJECT_DIR$/astrid/libs/google-oauth-client-extensions-1.6.0-beta.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="googleloginclient-helper">
<CLASSES>
<root url="jar://$PROJECT_DIR$/astrid/libs/googleloginclient-helper.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="gson">
<CLASSES>
<root url="jar://$PROJECT_DIR$/astrid/libs/gson-1.7.1.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="guava">
<CLASSES>
<root url="jar://$PROJECT_DIR$/astrid/libs/guava-11.0.1.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="httpmime">
<CLASSES>
<root url="jar://$PROJECT_DIR$/astrid/libs/httpmime-4.1.1.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="jackson-core-asl">
<CLASSES>
<root url="jar://$PROJECT_DIR$/astrid/libs/jackson-core-asl-1.6.7.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="jchronic">
<CLASSES>
<root url="jar://$PROJECT_DIR$/astrid/libs/jchronic-0.2.3.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

@ -0,0 +1,11 @@
<component name="libraryTable">
<library name="jsr305">
<CLASSES>
<root url="jar://$PROJECT_DIR$/astrid/libs/jsr305.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/astrid/libs/jsr305.jar!/" />
</SOURCES>
</library>
</component>

@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="locale_platform">
<CLASSES>
<root url="jar://$PROJECT_DIR$/astrid/libs/locale_platform.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="rfc2445-4Mar2011">
<CLASSES>
<root url="jar://$PROJECT_DIR$/astrid/libs/rfc2445-4Mar2011.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="EntryPointsManager">
<entry_points version="2.0" />
<list size="1">
<item index="0" class="java.lang.String" itemvalue="com.todoroo.andlib.service.Autowired" />
</list>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-name="Android 4.2.2 Platform" project-jdk-type="Android SDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/actionbarsherlock/library/ActionBarSherlock.iml" filepath="$PROJECT_DIR$/actionbarsherlock/library/ActionBarSherlock.iml" />
<module fileurl="file://$PROJECT_DIR$/greendroid/GreenDroid/GreenDroid.iml" filepath="$PROJECT_DIR$/greendroid/GreenDroid/GreenDroid.iml" />
<module fileurl="file://$PROJECT_DIR$/viewPagerIndicator/library/ViewPagerIndicator.iml" filepath="$PROJECT_DIR$/viewPagerIndicator/library/ViewPagerIndicator.iml" />
<module fileurl="file://$PROJECT_DIR$/android-aac-enc/android-aac-enc.iml" filepath="$PROJECT_DIR$/android-aac-enc/android-aac-enc.iml" />
<module fileurl="file://$PROJECT_DIR$/api/api.iml" filepath="$PROJECT_DIR$/api/api.iml" />
<module fileurl="file://$PROJECT_DIR$/astrid/astrid.iml" filepath="$PROJECT_DIR$/astrid/astrid.iml" />
<module fileurl="file://$PROJECT_DIR$/tests/tests.iml" filepath="$PROJECT_DIR$/tests/tests.iml" />
<module fileurl="file://$PROJECT_DIR$/tests-sync/tests-sync.iml" filepath="$PROJECT_DIR$/tests-sync/tests-sync.iml" />
</modules>
</component>
</project>

@ -0,0 +1,20 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Astrid" type="AndroidRunConfigurationType" factoryName="Android Application">
<module name="astrid" />
<option name="ACTIVITY_CLASS" value="" />
<option name="MODE" value="default_activity" />
<option name="DEPLOY" value="true" />
<option name="TARGET_SELECTION_MODE" value="USB_DEVICE" />
<option name="PREFERRED_AVD" value="" />
<option name="USE_COMMAND_LINE" value="true" />
<option name="COMMAND_LINE" value="" />
<option name="WIPE_USER_DATA" value="false" />
<option name="DISABLE_BOOT_ANIMATION" value="false" />
<option name="NETWORK_SPEED" value="full" />
<option name="NETWORK_LATENCY" value="none" />
<option name="CLEAR_LOGCAT" value="true" />
<RunnerSettings RunnerId="AndroidDebugRunner" />
<ConfigurationWrapper RunnerId="AndroidDebugRunner" />
<method />
</configuration>
</component>

@ -0,0 +1,22 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="tests" type="AndroidTestRunConfigurationType" factoryName="Android Tests">
<module name="tests" />
<option name="TESTING_TYPE" value="0" />
<option name="INSTRUMENTATION_RUNNER_CLASS" value="" />
<option name="METHOD_NAME" value="" />
<option name="CLASS_NAME" value="" />
<option name="PACKAGE_NAME" value="" />
<option name="TARGET_SELECTION_MODE" value="SHOW_DIALOG" />
<option name="PREFERRED_AVD" value="" />
<option name="USE_COMMAND_LINE" value="true" />
<option name="COMMAND_LINE" value="" />
<option name="WIPE_USER_DATA" value="false" />
<option name="DISABLE_BOOT_ANIMATION" value="false" />
<option name="NETWORK_SPEED" value="full" />
<option name="NETWORK_LATENCY" value="none" />
<option name="CLEAR_LOGCAT" value="false" />
<RunnerSettings RunnerId="AndroidDebugRunner" />
<ConfigurationWrapper RunnerId="AndroidDebugRunner" />
<method />
</configuration>
</component>

@ -0,0 +1,22 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="tests-sync" type="AndroidTestRunConfigurationType" factoryName="Android Tests">
<module name="tests-sync" />
<option name="TESTING_TYPE" value="0" />
<option name="INSTRUMENTATION_RUNNER_CLASS" value="" />
<option name="METHOD_NAME" value="" />
<option name="CLASS_NAME" value="" />
<option name="PACKAGE_NAME" value="" />
<option name="TARGET_SELECTION_MODE" value="SHOW_DIALOG" />
<option name="PREFERRED_AVD" value="" />
<option name="USE_COMMAND_LINE" value="true" />
<option name="COMMAND_LINE" value="" />
<option name="WIPE_USER_DATA" value="false" />
<option name="DISABLE_BOOT_ANIMATION" value="false" />
<option name="NETWORK_SPEED" value="full" />
<option name="NETWORK_LATENCY" value="none" />
<option name="CLEAR_LOGCAT" value="false" />
<RunnerSettings RunnerId="AndroidDebugRunner" />
<ConfigurationWrapper RunnerId="AndroidDebugRunner" />
<method />
</configuration>
</component>

@ -0,0 +1,3 @@
<component name="DependencyValidationManager">
<scope name="Astrid" pattern="(src:*..*&amp;&amp;!src[ActionBarSherlock]:*..*&amp;&amp;!src[android-aac-enc]:*..*&amp;&amp;!src[GreenDroid]:*..*&amp;&amp;!src[ViewPagerIndicator]:*..*&amp;&amp;!src[tests]:*..*&amp;&amp;!src[tests-sync]:*..*&amp;&amp;!src[astrid]:com.commonsware.cwac.tlv..*&amp;&amp;!src[astrid]:com.mdimension.jchronic..*||file[astrid]:src/com/mdimension/jchronic//*)&amp;&amp;!file[astrid]:src/edu/mit/mobile/android/imagecache//*" />
</component>

@ -0,0 +1,5 @@
<component name="DependencyValidationManager">
<state>
<option name="SKIP_IMPORT_STATEMENTS" value="false" />
</state>
</component>

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="" />
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

@ -1,30 +0,0 @@
Astrid Project Overview
----------------------------
Last Updated: Oct 8, 2010 by Tim
A brief guide of the Astrid project.
=================
Files and Folders
=================
art/ - original art resources
astrid/ - astrid Android project
antlib/ - libraries for ant
assets/ - folder for raw assets
common-src/ - todoroo-commons source folder
gen/ - auto-generated source folder
libs/ - external jars
plugin-src/ - plugin source folder
res/ - android resources
src/ - astrid source folder
src-legacy/ - astrid v2 source folder
bin/ - utility shell scripts
docs/ - astrid project documents
LICENSE - license under which source is released
OVERVIEW - this file
README.md - github project readme
samples/ - astrid plugin code samples
tests/ - unit test project
translations/ - gettext .po and .pot files

@ -1,95 +1,12 @@
[Astrid](http://www.astrid.com/) - Task Management Done Right
================================
Astrid strives to be a simple and effective organization tool for Google Android phones. It comes with features like reminders, tagging, widgets, and integration with online synchronization services.
Interested in using Astrid? Search "astrid" in Android Market. Look for the smiling pink squid!
If you would like to help out with the Astrid project, you're in the right place.
Getting Started With Development
---------------
1. Create your own fork of Astrid by clicking on Github's *Fork* button above (you may have to log in first - [github help](http://help.github.com/forking/)).
2. Install the following:
• *[git](http://git.or.cz/)*
*[Eclipse](http://eclipse.org)* (preferred: Eclipse IDE for Java Developers)
*[Android SDK](http://developer.android.com/sdk/index.html)* (Recommended SDK Platform: Android 4.0 Google APIs)
• *[ADT Plugin for Eclipse](http://developer.android.com/sdk/eclipse-adt.html)*
3. Use **git** to clone your forked repositories
`git clone git@github.com:yourgithubid/astrid.git`
(see Github's instructions if you need help). Follow the [Github Line Ending Help](http://help.github.com/dealing-with-lineendings/)
4. Open up **eclipse** and import the *astrid*, *astridApi*, *astrid-tests*, *facebook*, and *GreenDroid* projects.
5. In Eclipse preferences -> Android build settings, set the SDK location (you installed it in step 2). At this point, there should be no compilation errors. If there are, you might have to **refresh** and **clean** the projects a few times from within **eclipse**
*from Eclipse: project-menu -> clean -> select projects -> check "start a build immediately" if "automatic build" is not enabled*
6. Launch the *astrid* project as an **Android Application**, or the *astrid-tests* project as an **Android JUnit Test Suite**.
7. Join the [Astrid Power-Users List](http://groups.google.com/group/astrid-power).
8. Check out the [Product Roadmap](http://wiki.github.com/todoroo/astrid/) and [Issues](http://github.com/todoroo/astrid/issues), and look for something you'd want to tackle.
9. Read the following contributor and debugging workflow and help make Astrid better!
10. Sign a [Contributors License Agreement](https://github.com/downloads/todoroo/astrid/Contributors%20Licensing%20Agreement.pdf) and send it to tim AT astrid.com
Testing on a device - Debugging
---------------
How to debug/test on a USB device: (JoshuaGross Jan 14, 2011)
1. Plug in your device and make sure you can see it by running `adb devices`
2. If you cannot see the device, or want to restart debugging, do:
`adb kill-server`
`adb usb`
`adb devices` (make sure your device is listed)
`adb uninstall com.todoroo.astrid.tests` (you should see "Failure" if this was uninstalled already)
`adb uninstall com.todoroo.astrid` (you should see "Failure" if this was uninstalled already)
3. If you have not already, set up Run configurations in Eclipse; either under the "Run" or "Debug" menus. To test the application, set up "Android Application". To run JUnit tests, set up "Android JUnit Tests". Settings should autofill for you, you should be able to open a new configuration and run it. If you run it in debug mode, see #2 above for getting adb to work in case it is finicky.
4. When running unit tests: make sure to *close all JUnit windows* before running tests. JUnit/Eclipse/Android work together in a very, very janky way. You may get incorrect results if you do not close the window out before running tests. You have been warned.
5. Make sure to commit changes both to the "astrid" project while developing.
Contributors workflow
---------------
**Setup:**
`git clone git@github.com:your-github-id/astrid.git` (your-github-id should obviously be replaced)
`git remote add upstream git@github.com:todoroo/astrid.git`
**Working on new features/fixes:**
`git checkout -b my-new-features upstream/master`
work, work, work!
`git commit` (a separate commit for each bug fix, feature change, style or copy edit please!)
`git fetch upstream`
`git rebase -i upstream/master` (i like to rebase -i to verify what i'm committing and squish small commits)
`git push origin HEAD`
then go to github and submit a pull request!
For further information, read [Tim's Collaborator Guide](http://www.betaful.com/2011/04/git-for-ongoing-collaboration/).
Requires [Android Studio](http://developer.android.com/sdk/installing/studio.html)
Contact
-------
For general support requests, use [Astrid's feedback page](http://astrid.com/feedback). For development questions, contact [timsu](http://github.com/timsu) via e-mail.
To Do
-----
* Gradle
* Widgets
* Remove dead code, old branches
* Remove unused resources and preferences
* Fix warnings

@ -1,8 +0,0 @@
<?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>

@ -1,33 +0,0 @@
<?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>

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android" name="Android">
<configuration>
<option name="LIBRARY_PROJECT" value="true" />
<option name="UPDATE_PROPERTY_FILES" value="true" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" exported="" name="android-support-v41" level="project" />
</component>
</module>

@ -1,101 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="api" default="help">
<!-- The local.properties file is created and updated by the 'android' tool.
It contains the path to the SDK. It should *NOT* be checked into
Version Control Systems. -->
<loadproperties srcFile="local.properties" />
<!-- The ant.properties file can be created by you. It is only edited by the
'android' tool to add properties to it.
This is the place to change some Ant specific build properties.
Here are some properties you may want to change/update:
source.dir
The name of the source directory. Default is 'src'.
out.dir
The name of the output directory. Default is 'bin'.
For other overridable properties, look at the beginning of the rules
files in the SDK, at tools/ant/build.xml
Properties related to the SDK location or the project target should
be updated using the 'android' tool with the 'update' action.
This file is an integral part of the build system for your
application and should be checked into Version Control Systems.
-->
<property file="ant.properties" />
<!-- The project.properties file is created and updated by the 'android'
tool, as well as ADT.
This contains project specific properties such as project target, and library
dependencies. Lower level build properties are stored in ant.properties
(or in .classpath for Eclipse projects).
This file is an integral part of the build system for your
application and should be checked into Version Control Systems. -->
<loadproperties srcFile="project.properties" />
<!-- quick check on sdk.dir -->
<fail
message="sdk.dir is missing. Make sure to generate local.properties using 'android update project'"
unless="sdk.dir"
/>
<!-- extension targets. Uncomment the ones where you want to do custom work
in between standard targets -->
<!--
<target name="-pre-build">
</target>
<target name="-pre-compile">
</target>
/* This is typically used for code obfuscation.
Compiled code location: ${out.classes.absolute.dir}
If this is not done in place, override ${out.dex.input.absolute.dir} */
<target name="-post-compile">
</target>
-->
<!-- Import the actual build file.
To customize existing targets, there are two options:
- Customize only one target:
- copy/paste the target into this file, *before* the
<import> task.
- customize it to your needs.
- Customize the whole content of build.xml
- copy/paste the content of the rules files (minus the top node)
into this file, replacing the <import> task.
- customize to your needs.
***********************
****** IMPORTANT ******
***********************
In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
in order to avoid having your file be overridden by tools such as "android update project"
-->
<!-- version-tag: custom -->
<target name="javadoc">
<javadoc access="public" author="true" classpath="." destdir="doc"
doctitle="Astrid API Project" nodeprecated="false"
nodeprecatedlist="false" noindex="false" nonavbar="false"
notree="false" source="1.6" splitindex="true"
use="true" version="true">
<sourcefiles>
<fileset dir="." includes="src/**/*" />
</sourcefiles>
<classpath>
<fileset dir="${sdk.dir}/platforms/${target}" includes="android.jar" />
</classpath>
</javadoc>
</target>
<import file="${sdk.dir}/tools/ant/build.xml" />
</project>

@ -9,4 +9,4 @@
android.library=true
# Project target.
target=android-14
target=android-17

@ -1,8 +0,0 @@
ActionBarSherlock Plugins
=========================
Modules provided in this folder are plugins which add functionality to the
ActionBarSherlock library.
The requirements for implementing each pluging are detailed in the `README.md`
file in each plugin folder.

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.actionbarsherlock.plugin.maps"
android:versionCode="50"
android:versionName="3.5.0">
<uses-sdk
android:minSdkVersion="4"
android:targetSdkVersion="13" />
</manifest>

@ -1,18 +0,0 @@
ActionBarSherlock Plugin: Maps
==============================
This plugin provides support for the Google API `MapView` widget through an
additional base activity, `FragmentMapActivity`. Your application must adhere
to all of the regular requirements of implementing the [Google Map View][1].
By using `FragmentMapActivity` you are afforded the use of fragments, loaders,
and the action bar--including support for using a `MapView` within a fragment.
You can find examples of these implementations in the 'demos' sample.
[1]: http://developer.android.com/resources/tutorials/views/hello-mapview.html

@ -1,115 +0,0 @@
<?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>

@ -1,75 +0,0 @@
<?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>plugin-maps</artifactId>
<name>Plugin: Maps</name>
<packaging>jar</packaging>
<parent>
<groupId>com.actionbarsherlock</groupId>
<artifactId>parent-plugins</artifactId>
<version>3.5.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<dependencies>
<dependency>
<groupId>android</groupId>
<artifactId>android</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.android.maps</groupId>
<artifactId>maps</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.actionbarsherlock</groupId>
<artifactId>library</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<finalName>${apk.prefix}-${project.artifactId}-${project.version}</finalName>
<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>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>
</plugins>
</build>
</project>

@ -1,13 +0,0 @@
# 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=Google Inc.:Google APIs:13
android.library.reference.1=../../library

@ -1,47 +0,0 @@
#!/usr/bin/env python
import os
import re
dir_maps_base = os.path.dirname(os.path.realpath(__file__))
dir_repo_base = os.path.dirname(os.path.dirname(dir_maps_base))
dir_lib_base = os.path.join(dir_repo_base, 'library')
path_to_source_activity = 'src/android/support/v4/app/FragmentActivity.java'.split('/')
path_to_dest_activity = 'src/android/support/v4/app/FragmentMapActivity.java'.split('/')
file_source = os.path.join(dir_lib_base , *path_to_source_activity)
file_dest = os.path.join(dir_maps_base, *path_to_dest_activity)
# Read in entire source file
code = None
with open(file_source) as f:
code = f.read()
code = code.split('\n')
# Add MapActivity import
code.insert(31, 'import com.google.android.maps.MapActivity;')
code = '\n'.join(code)
# Class declaration
code = code.replace('class FragmentActivity extends Activity', 'abstract class FragmentMapActivity extends MapActivity')
# TAG variable content
code = code.replace('"FragmentActivity"', '"FragmentMapActivity"')
# Update inner class references
code = code.replace('FragmentActivity.this', 'FragmentMapActivity.this')
# Class constructor
code = code.replace('FragmentActivity()', 'FragmentMapActivity()')
# Javadoc
code = code.replace('Fragment, and Loader APIs.', 'Fragment, Loader, and Google Map APIs.')
# Exit stage left
with open(file_dest, 'w') as f:
f.write(code)

@ -1,22 +0,0 @@
<?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>parent-plugins</artifactId>
<name>Plugins (Parent)</name>
<packaging>pom</packaging>
<parent>
<groupId>com.actionbarsherlock</groupId>
<artifactId>parent</artifactId>
<version>3.5.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modules>
<module>maps</module>
<module>preference</module>
</modules>
</project>

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.actionbarsherlock.plugin.maps"
android:versionCode="50"
android:versionName="3.5.0">
<uses-sdk
android:minSdkVersion="4"
android:targetSdkVersion="13" />
</manifest>

@ -1,5 +0,0 @@
ActionBarSherlock Plugin: Preference
====================================
This plugin provides support for an action bar enhanced preference screen
through an additional base activity, `SherlockPreferenceActivity`.

@ -1,115 +0,0 @@
<?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>

@ -1,69 +0,0 @@
<?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>plugin-preference</artifactId>
<name>Plugin: Preference</name>
<packaging>jar</packaging>
<parent>
<groupId>com.actionbarsherlock</groupId>
<artifactId>parent-plugins</artifactId>
<version>3.5.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<dependencies>
<dependency>
<groupId>android</groupId>
<artifactId>android</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.actionbarsherlock</groupId>
<artifactId>library</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<finalName>${apk.prefix}-${project.artifactId}-${project.version}</finalName>
<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>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>
</plugins>
</build>
</project>

@ -1,13 +0,0 @@
# 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
android.library.reference.1=../../library

@ -1,13 +0,0 @@
ActionBarSherlock Samples
=========================
See [actionbarsherlock.com/samples.html][1] for information on the samples
contained in this folder as well as a list of open source implementations.
[1]: http://actionbarsherlock.com/samples.html

@ -1,181 +0,0 @@
<?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.sample.demos">
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="16"/>
<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
<application android:icon="@drawable/icon" android:label="@string/application_name">
<activity android:label="@string/activity_name" android:name=".SampleList" android:theme="@style/Theme.Sherlock">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<activity android:label="@string/action_items" android:name=".ActionItems">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="com.actionbarsherlock.sample.demos.EXAMPLE"/>
</intent-filter>
</activity>
<activity android:label="@string/action_modes" android:name=".ActionModes">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="com.actionbarsherlock.sample.demos.EXAMPLE"/>
</intent-filter>
</activity>
<activity android:label="@string/action_modes_no_action_bar" android:name=".ActionModesNoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="com.actionbarsherlock.sample.demos.EXAMPLE"/>
</intent-filter>
</activity>
<activity android:label="@string/action_providers" android:name=".ActionProviders">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="com.actionbarsherlock.sample.demos.EXAMPLE"/>
</intent-filter>
</activity>
<activity android:label="@string/collapsible" android:name=".CollapsibleActionItem">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="com.actionbarsherlock.sample.demos.EXAMPLE"/>
</intent-filter>
</activity>
<activity android:label="@string/context_menus" android:name=".ContextMenus">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="com.actionbarsherlock.sample.demos.EXAMPLE"/>
</intent-filter>
</activity>
<activity android:label="@string/custom_navigation" android:name=".CustomNavigation">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="com.actionbarsherlock.sample.demos.EXAMPLE"/>
</intent-filter>
</activity>
<activity android:label="@string/feature_toggles" android:name=".FeatureToggles">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="com.actionbarsherlock.sample.demos.EXAMPLE"/>
</intent-filter>
</activity>
<activity android:label="@string/iprogress" android:name=".IndeterminateProgress">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="com.actionbarsherlock.sample.demos.EXAMPLE"/>
</intent-filter>
</activity>
<activity android:label="@string/list_navigation" android:name=".ListNavigation">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="com.actionbarsherlock.sample.demos.EXAMPLE"/>
</intent-filter>
</activity>
<activity android:label="@string/overlay" android:name=".Overlay">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="com.actionbarsherlock.sample.demos.EXAMPLE"/>
</intent-filter>
</activity>
<activity android:label="@string/preference" android:name=".Preference">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="com.actionbarsherlock.sample.demos.EXAMPLE"/>
</intent-filter>
</activity>
<activity android:label="@string/progress" android:name=".Progress">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="com.actionbarsherlock.sample.demos.EXAMPLE"/>
</intent-filter>
</activity>
<activity android:label="@string/search_views" android:name=".SearchViews">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="com.actionbarsherlock.sample.demos.EXAMPLE"/>
</intent-filter>
</activity>
<activity android:label="@string/simple" android:name=".Simple">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="com.actionbarsherlock.sample.demos.EXAMPLE"/>
</intent-filter>
</activity>
<activity android:label="@string/split" android:name=".SplitActionItems" android:uiOptions="splitActionBarWhenNarrow">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="com.actionbarsherlock.sample.demos.EXAMPLE"/>
</intent-filter>
</activity>
<activity android:label="@string/share_action_providers" android:name=".ShareActionProviders">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.actionbarsherlock.sample.demos.EXAMPLE"/>
</intent-filter>
</activity>
<activity android:label="@string/split_action_modes" android:name=".SplitActionModes" android:uiOptions="splitActionBarWhenNarrow">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="com.actionbarsherlock.sample.demos.EXAMPLE"/>
</intent-filter>
</activity>
<activity android:label="@string/static_attach" android:name=".StaticAttachment">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="com.actionbarsherlock.sample.demos.EXAMPLE"/>
</intent-filter>
</activity>
<activity android:label="@string/styled" android:name=".Styled" android:theme="@style/Theme.Styled" android:uiOptions="splitActionBarWhenNarrow">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="com.actionbarsherlock.sample.demos.EXAMPLE"/>
</intent-filter>
</activity>
<activity android:label="@string/submenus" android:name=".SubMenus">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="com.actionbarsherlock.sample.demos.EXAMPLE"/>
</intent-filter>
</activity>
<activity android:label="@string/tab_navigation" android:name=".TabNavigation">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="com.actionbarsherlock.sample.demos.EXAMPLE"/>
</intent-filter>
</activity>
<activity android:label="@string/tab_navigation_collapsed" android:name=".TabNavigationCollapsed">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="com.actionbarsherlock.sample.demos.EXAMPLE"/>
</intent-filter>
</activity>
</application>
</manifest>

@ -1,13 +0,0 @@
ActionBarSherlock Sample: Demos
===============================
See [actionbarsherlock.com/samples.html][1] for information on the sample
contained in this folder.
[1]: http://actionbarsherlock.com/samples.html

@ -1,67 +0,0 @@
<?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>
<artifactId>sample-demos</artifactId>
<name>Sample: Demos</name>
<packaging>apk</packaging>
<parent>
<groupId>com.actionbarsherlock</groupId>
<artifactId>parent-sample</artifactId>
<version>4.2.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<dependencies>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.actionbarsherlock</groupId>
<artifactId>actionbarsherlock</artifactId>
<version>${project.version}</version>
<type>apklib</type>
</dependency>
</dependencies>
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
<artifactId>android-maven-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>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<configLocation>../../checkstyle.xml</configLocation>
</configuration>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>checkstyle</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

@ -1,17 +0,0 @@
# 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.
# Project target.
target=android-14
android.library.reference.1=../../library

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 647 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 683 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 797 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 641 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 759 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 641 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 578 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 659 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 616 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/bg_striped_img"
android:tileMode="repeat"
android:dither="true" />

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/bg_striped_split_img"
android:tileMode="repeat"
android:dither="true" />

@ -1,393 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ScrollView
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/feature_toggles_content"
android:padding="15dp"
android:layout_marginBottom="20dp" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical"
android:padding="15dip">
<!-- ACTION BAR DISPLAY -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="ActionBar Display" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_actionbar_show"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Show" />
<Button
android:id="@+id/display_actionbar_hide"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Hide" />
</LinearLayout>
<!-- NAVIGATION MODE -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="Navigation Mode" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/navigation_standard"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Standard" />
<Button
android:id="@+id/navigation_list"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="List" />
<Button
android:id="@+id/navigation_tabs"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Tabs" />
</LinearLayout>
<!-- TAB DISPLAY -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="Tab Display" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_tab_add"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Add" />
<Button
android:id="@+id/display_tab_select"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Select Random" />
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_tab_remove"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Remove" />
<Button
android:id="@+id/display_tab_remove_all"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Remove All" />
</LinearLayout>
<!-- TITLE DISPLAY -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="Title Display" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_title_show"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Show" />
<Button
android:id="@+id/display_title_hide"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Hide" />
</LinearLayout>
<!-- SUBTITLE DISPLAY -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="Subtitle Display" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_subtitle_show"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Show" />
<Button
android:id="@+id/display_subtitle_hide"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Hide" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical"
android:padding="15dip">
<!-- ACTION ITEMS DISPLAY -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="Action Items Display" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_items_add"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Add" />
<Button
android:id="@+id/display_items_clear"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Remove All" />
</LinearLayout>
<!-- CUSTOM VIEW DISPLAY -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="Custom View Display" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_custom_show"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Show" />
<Button
android:id="@+id/display_custom_hide"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Hide" />
</LinearLayout>
<!-- HOME DISPLAY -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="Home Action Item Display" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_home_show"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Show" />
<Button
android:id="@+id/display_home_hide"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Hide" />
</LinearLayout>
<!-- LOGO DISPLAY -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="Logo Display" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_logo_show"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Use" />
<Button
android:id="@+id/display_logo_hide"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Do Not Use" />
</LinearLayout>
<!-- HOME AS UP DISPLAY -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="Home As Up Display" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_home_as_up_show"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Show" />
<Button
android:id="@+id/display_home_as_up_hide"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Hide" />
</LinearLayout>
<!-- PROGESS DISPLAY -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="Progress Display" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_progress_show"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Show" />
<Button
android:id="@+id/display_progress_hide"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Hide" />
</LinearLayout>
<!-- INDETERMINATE PROGESS DISPLAY -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="Indeterminate Progress Display" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_iprogress_show"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Show" />
<Button
android:id="@+id/display_iprogress_hide"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Hide" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</ScrollView>
</LinearLayout>

@ -1,30 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:padding="20dip">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="horizontal">
<Button
android:id="@+id/start"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="10dp"
android:text="Start" />
<Button
android:id="@+id/cancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Cancel" />
</LinearLayout>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:text="@string/action_modes_content"/>
</LinearLayout>

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<EditText xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="Search"/>

@ -1,25 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:padding="20dip">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="horizontal">
<Button
android:id="@+id/show_context_menu"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="10dp"
android:text="Long-Press Me" />
</LinearLayout>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:text="@string/context_menus_content"/>
</LinearLayout>

@ -1,25 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:gravity="left|center_vertical"
android:orientation="horizontal"
>
<RadioGroup
android:id="@+id/radio_nav"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
<RadioButton
android:text="Custom"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
<RadioButton
android:text="View!"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
</RadioGroup>
</LinearLayout>

@ -1,373 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ScrollView
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="15dip">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/feature_toggles_content"
android:layout_marginBottom="20dp" />
<!-- ACTION BAR DISPLAY -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="ActionBar Display" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_actionbar_show"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Show" />
<Button
android:id="@+id/display_actionbar_hide"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Hide" />
</LinearLayout>
<!-- NAVIGATION MODE -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="Navigation Mode" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/navigation_standard"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Standard" />
<Button
android:id="@+id/navigation_list"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="List" />
<Button
android:id="@+id/navigation_tabs"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Tabs" />
</LinearLayout>
<!-- TAB DISPLAY -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="Tab Display" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_tab_add"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Add" />
<Button
android:id="@+id/display_tab_select"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Select Random" />
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_tab_remove"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Remove" />
<Button
android:id="@+id/display_tab_remove_all"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Remove All" />
</LinearLayout>
<!-- ACTION ITEMS DISPLAY -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="Action Items Display" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_items_add"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Add" />
<Button
android:id="@+id/display_items_clear"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Remove All" />
</LinearLayout>
<!-- TITLE DISPLAY -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="Title Display" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_title_show"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Show" />
<Button
android:id="@+id/display_title_hide"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Hide" />
</LinearLayout>
<!-- SUBTITLE DISPLAY -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="Subtitle Display" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_subtitle_show"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Show" />
<Button
android:id="@+id/display_subtitle_hide"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Hide" />
</LinearLayout>
<!-- CUSTOM VIEW DISPLAY -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="Custom View Display" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_custom_show"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Show" />
<Button
android:id="@+id/display_custom_hide"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Hide" />
</LinearLayout>
<!-- HOME DISPLAY -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="Home Action Item Display" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_home_show"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Show" />
<Button
android:id="@+id/display_home_hide"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Hide" />
</LinearLayout>
<!-- LOGO DISPLAY -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="Logo Display" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_logo_show"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Use" />
<Button
android:id="@+id/display_logo_hide"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Do Not Use" />
</LinearLayout>
<!-- HOME AS UP DISPLAY -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="Home As Up Display" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_home_as_up_show"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Show" />
<Button
android:id="@+id/display_home_as_up_hide"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Hide" />
</LinearLayout>
<!-- PROGESS DISPLAY -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="Progress Display" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_progress_show"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Show" />
<Button
android:id="@+id/display_progress_hide"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Hide" />
</LinearLayout>
<!-- INDETERMINATE PROGESS DISPLAY -->
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:text="Indeterminate Progress Display" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginBottom="10dip">
<Button
android:id="@+id/display_iprogress_show"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Show" />
<Button
android:id="@+id/display_iprogress_hide"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="Hide" />
</LinearLayout>
</LinearLayout>
</ScrollView>
</LinearLayout>

@ -1,29 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:padding="20dip">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal">
<Button
android:id="@+id/enable"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="10dp"
android:text="Enable" />
<Button
android:id="@+id/disable"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Disable" />
</LinearLayout>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:text="@string/iprogress_content" />
</LinearLayout>

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:padding="20dip">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="20dp"
android:text="@string/list_navigation_content" />
<TextView
android:id="@+id/text"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</LinearLayout>

@ -1,28 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ScrollView
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:paddingTop="?actionBarSize"
android:orientation="vertical">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:layout_marginBottom="30dp"
android:text="@string/overlay_content" />
<TextView
android:id="@+id/bunch_of_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</ScrollView>
</FrameLayout>

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<ListView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:drawSelectorOnTop="false"
android:scrollbarAlwaysDrawVerticalTrack="true"
/>

@ -1,21 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:gravity="center_horizontal"
android:padding="20dip">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="20dp"
android:text="@string/progress_content" />
<Button
android:id="@+id/go"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="40dp"
android:paddingRight="40dp"
android:text="Go" />
</LinearLayout>

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save