Skip to content

Commit

Permalink
switched app to be only android 3.0+ and switched to using the action…
Browse files Browse the repository at this point in the history
…bar properly. 2.3 support should be done on a branch.
  • Loading branch information
U-Poseidon\Devon authored and U-Poseidon\Devon committed Feb 16, 2012
1 parent d351f59 commit acebd85
Show file tree
Hide file tree
Showing 13 changed files with 215 additions and 334 deletions.
18 changes: 9 additions & 9 deletions .classpath
@@ -1,9 +1,9 @@
<?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="lib" path="lib/android-support-v13.jar"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
<?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="lib" path="lib/android-support-v13.jar"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
23 changes: 17 additions & 6 deletions AndroidManifest.xml
Expand Up @@ -4,7 +4,7 @@
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk android:minSdkVersion="8" />
<uses-sdk android:minSdkVersion="11" />

<application
android:icon="@drawable/app_icon"
Expand All @@ -16,16 +16,27 @@
>
<intent-filter >
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data android:name="android.app.default_searchable"
android:value=".DetailsActivity" />
</activity>
<activity
android:label="@string/app_name"
android:name="DetailsActivity"
android:name=".DetailsActivity"
android:theme="@style/LargeTitleTheme"
>
</activity>
>
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data android:name="android.app.searchable"
android:resource="@xml/searchable"/>
</activity>
<provider
android:exported="false"
android:name="org.evilsoft.pathfinder.reference.SearchProvider"
android:authorities="org.evilsoft.pathfinder.reference.SearchProvider"
>
</provider>
</application>

</manifest>
2 changes: 1 addition & 1 deletion project.properties
Expand Up @@ -8,4 +8,4 @@
# project structure.

# Project target.
target=android-8
target=android-11

This file was deleted.

62 changes: 0 additions & 62 deletions res/layout/title.xml

This file was deleted.

10 changes: 10 additions & 0 deletions res/menu/main_menu.xml
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:id="@+id/menu_search"
android:title="@string/menu_search"
android:icon="@drawable/ic_search"
android:showAsAction="ifRoom"
android:actionViewClass="android.widget.SearchView" />
<item android:id="@+id/menu_ogl"
android:title="@string/menu_ogl" />
</menu>
3 changes: 3 additions & 0 deletions res/values/strings.xml
Expand Up @@ -2,6 +2,9 @@
<resources>
<string name="hello">Hello World, PathfinderOpenReferenceActivity!</string>
<string name="app_name">Pathfinder Open Reference</string>
<string name="search_hint">Search for article name</string>
<string name="menu_search">Search</string>
<string name="menu_ogl">OGL</string>
<color name="white">#FFFFFF</color>
<color name="black">#000000</color>
<color name="light_grey">#CCCCCC</color>
Expand Down
6 changes: 6 additions & 0 deletions res/xml/searchable.xml
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<searchable xmlns:android="http://schemas.android.com/apk/res/android"
android:label="@string/app_name"
android:hint="@string/search_hint"
android:searchSuggestAuthority="org.evilsoft.pathfinder.reference.SearchProvider">
</searchable>
162 changes: 0 additions & 162 deletions src/org/evilsoft/pathfinder/reference/AutoCompleteHandler.java

This file was deleted.

0 comments on commit acebd85

Please sign in to comment.