Android projects updates · java-tech/codeexamples-java@e93c859 · GitHub
Skip to content

Commit e93c859

Browse files
committed
Android projects updates
1 parent fc5ab33 commit e93c859

231 files changed

Lines changed: 4115 additions & 355 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.

aaa_test/res/layout/activity_second.xml

Lines changed: 0 additions & 21 deletions
This file was deleted.

aaa_test/src/com/example/aaa_test/MainActivity.java

Lines changed: 0 additions & 14 deletions
This file was deleted.

aaa_test/src/com/example/aaa_test/MyView.java

Lines changed: 0 additions & 67 deletions
This file was deleted.
Lines changed: 14 additions & 15 deletions
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
22

3+
<item
4+
android:id="@+id/refresh"
5+
android:orderInCategory="20"
6+
android:showAsAction="always|collapseActionView"
7+
android:title="Refresh">
8+
</item>
39
<item
410
android:id="@+id/menu_settings"
511
android:orderInCategory="100"
612
android:showAsAction="never"
713
android:title="@string/menu_settings"/>
8-
<item android:id="@+id/item1" android:title="Refresh" android:showAsAction="always|collapseActionView" android:orderInCategory="20"></item>
9-
<item android:id="@+id/item2" android:title="Start" android:orderInCategory="10" android:showAsAction="always"></item>
1014

1115
</menu>

com.vogella.android.actionbar.actionprovider/src/com/example/com/vogella/android/actionbar/actionprovider/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public boolean onOptionsItemSelected(MenuItem item) {
5252
// case R.id.menu_share:
5353
// doShare();
5454
// break;
55-
case R.id.item1:
55+
case R.id.refresh:
5656
// Get the ActionProvider
5757
findItem = item;
5858
MenuItem setActionView = findItem.setActionView(R.layout.progress);

aaa_test/.classpath renamed to com.vogella.android.actionbar.actionview.search/.classpath

File renamed without changes.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>com.vogella.android.actionbar.actionview.search</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.jdt.core.javabuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
<buildCommand>
24+
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
25+
<arguments>
26+
</arguments>
27+
</buildCommand>
28+
</buildSpec>
29+
<natures>
30+
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
31+
<nature>org.eclipse.jdt.core.javanature</nature>
32+
</natures>
33+
</projectDescription>
Lines changed: 42 additions & 0 deletions
19 KB
Loading

0 commit comments

Comments
 (0)