Skip to content

Commit e13800c

Browse files
committed
Updated Android examples
1 parent 0c323dc commit e13800c

98 files changed

Lines changed: 720 additions & 121 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

com.example.android.rssfeed.dyn/.classpath

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<classpathentry kind="src" path="src"/>
44
<classpathentry kind="src" path="gen"/>
55
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
6-
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
6+
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
77
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
88
<classpathentry combineaccessrules="false" kind="src" path="/com.example.android.rssfeedlibrary"/>
99
<classpathentry kind="output" path="bin/classes"/>

com.example.drawable.lightswitch/.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<projectDescription>
3-
<name>com.example.drawable.lightswitch</name>
3+
<name>com.vogella.android.drawable.lightswitch</name>
44
<comment></comment>
55
<projects>
66
</projects>

com.example.drawable.lightswitch/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.example.lightswitch"
3+
package="com.vogella.android.drawable.lightswitch"
44
android:versionCode="1"
55
android:versionName="1.0">
66
<uses-sdk android:minSdkVersion="3" />
77

88
<application android:icon="@drawable/light_bulb" android:label="@string/app_name">
9-
<activity android:name=".LightSwitchActivity"
9+
<activity android:name="com.vogella.android.drawable.lightswitch.LightSwitchActivity"
1010
android:label="@string/app_name">
1111
<intent-filter>
1212
<action android:name="android.intent.action.MAIN" />

com.example.drawable.lightswitch/res/layout/main.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
android:paddingLeft="40dip"
2222
android:paddingRight="40dip"
2323
android:paddingTop="20dip"
24-
android:background="?android:attr/backgroundStacked"
2524
android:text="ToggleButton"
2625
android:textAppearance="@android:style/TextAppearance.Large"
2726
android:textColor="@android:color/white" />

com.example.drawable.lightswitch/src/com/example/lightswitch/LightSwitchActivity.java renamed to com.example.drawable.lightswitch/src/com/vogella/android/drawable/lightswitch/LightSwitchActivity.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
package com.example.lightswitch;
1+
package com.vogella.android.drawable.lightswitch;
22

3+
4+
import android.R;
35
import android.app.Activity;
46
import android.graphics.drawable.TransitionDrawable;
57
import android.os.Bundle;
@@ -15,6 +17,7 @@ public void onCreate(final Bundle savedInstanceState) {
1517
super.onCreate(savedInstanceState);
1618
setContentView(R.layout.main);
1719

20+
1821
final ImageView image = (ImageView) findViewById(R.id.image);
1922
final ToggleButton button = (ToggleButton) findViewById(R.id.button);
2023
button.setOnClickListener(new OnClickListener() {

com.vogella.android.actionbar.actionview.search/.classpath

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<classpathentry kind="src" path="src"/>
44
<classpathentry kind="src" path="gen"/>
55
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
6-
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
6+
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
77
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
88
<classpathentry kind="output" path="bin/classes"/>
99
</classpath>

com.vogella.android.actionbar.actionview.search_draft/.classpath

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<classpathentry kind="src" path="src"/>
44
<classpathentry kind="src" path="gen"/>
55
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
6-
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
6+
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
77
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
88
<classpathentry kind="output" path="bin/classes"/>
99
</classpath>

com.vogella.android.actionbarsherlock.usage/.classpath

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<classpathentry kind="src" path="src"/>
44
<classpathentry kind="src" path="gen"/>
55
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
6-
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
6+
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
77
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
88
<classpathentry kind="output" path="bin/classes"/>
99
</classpath>

com.vogella.android.activityanimations/.project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<projectDescription>
3-
<name>com.vogella.android.activityanimations</name>
3+
<name>com.vogella.android.animations.activity</name>
44
<comment></comment>
55
<projects>
66
</projects>

com.vogella.android.canvas.compass/project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
1212

1313
# Project target.
14-
target=Google Inc.:Google APIs:16
14+
target=Google Inc.:Google APIs:18

0 commit comments

Comments
 (0)