Skip to content

Commit

Permalink
remove ABS dependency, fixes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
saik0 committed Dec 1, 2012
1 parent dcfdb0c commit 99f8b7c
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 245 deletions.
3 changes: 1 addition & 2 deletions demo/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@

<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
android:label="@string/app_name" >
<activity
android:name=".DemoUnifiedPreferenceActivity"
android:label="@string/app_name" >
Expand Down
11 changes: 0 additions & 11 deletions demo/res/values-v11/styles.xml

This file was deleted.

12 changes: 0 additions & 12 deletions demo/res/values-v14/styles.xml

This file was deleted.

20 changes: 0 additions & 20 deletions demo/res/values/styles.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@

import net.saik0.android.unifiedpreference.demo.R;
import net.saik0.android.unifiedpreference.UnifiedPreferenceFragment;
import net.saik0.android.unifiedpreference.UnifiedSherlockPreferenceActivity;
import net.saik0.android.unifiedpreference.UnifiedPreferenceActivity;

public class DemoUnifiedPreferenceActivity extends UnifiedSherlockPreferenceActivity {
public class DemoUnifiedPreferenceActivity extends UnifiedPreferenceActivity {

@Override public void onCreate(Bundle savedInstanceState) {
// Set header resource MUST BE CALLED BEFORE super.onCreate
Expand Down
7 changes: 0 additions & 7 deletions library/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@
<artifactId>android</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.actionbarsherlock</groupId>
<artifactId>actionbarsherlock</artifactId>
<version>4.2.0</version>
<type>apklib</type>
</dependency>
</dependencies>

<build>
Expand Down
6 changes: 3 additions & 3 deletions library/res/values/atrs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
from which the selects the set of preference to dig in to. -->
<declare-styleable name="PreferenceHeader">
<!-- Identifier value for the header. -->
<attr name="id" format="integer"/>
<attr name="id" format="integer" />
<!-- The title of the item that is shown to the user. -->
<attr name="title" />
<attr name="title" format="string" />
<!-- The summary for the item. -->
<attr name="summary" format="string" />
<!-- The title for the bread crumb of this item. -->
<attr name="breadCrumbTitle" format="string" />
<!-- The short title for the bread crumb of this item. -->
<attr name="breadCrumbShortTitle" format="string" />
<!-- An icon for the item. -->
<attr name="icon" />
<attr name="icon" format="reference"/>
<!-- The fragment that is displayed when the user selects this item. -->
<attr name="fragment" format="string" />
<!-- The resource with the PreferenceScreen to inflate. -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public void setSharedPreferencesMode(int sharedPreferencesMode) {
* shown.
*/
@SuppressWarnings("deprecation")
protected void onPostCreate(Bundle savedInstanceState) {
public void onPostCreate(Bundle savedInstanceState) {
if (isSinglePane()) {
// In the simplified UI, fragments are not used at all and we
// instead use the older PreferenceActivity APIs.
Expand Down

This file was deleted.

0 comments on commit 99f8b7c

Please sign in to comment.