Skip to content

Commit 5fc19ef

Browse files
committed
Merge branch 'master' of github.com:bmeike/ProgrammingAndroid2Examples
Conflicts: FinchFramework/project.properties FinchVideo/AndroidManifest.xml FinchVideo/project.properties FinchVideo/res/layout/video_query_activity.xml FinchVideo/res/values/strings.xml FinchVideo/src/com/oreilly/demo/android/pa/finchvideo/FinchVideoActivity.java
2 parents 3ce63e6 + f93c51f commit 5fc19ef

File tree

23 files changed

+87
-74
lines changed

23 files changed

+87
-74
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
.classpath
44
.project
55
.settings
6+
.metadata
67
bin
78
gen
89
lint.xml

AIDLDemo/project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
# project structure.
99

1010
# Project target.
11-
target=android-14
11+
target=android-15

AndroidUIDemo/project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
# project structure.
99

1010
# Project target.
11-
target=android-14
11+
target=android-15

AndroidUIDemo/res/layout/main.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
android:id="@+id/root"
44
android:orientation="vertical"
55
android:gravity="center_horizontal"
6-
android:background="@drawable/lt_grey"
6+
android:background="@color/lt_grey"
77
android:layout_width="match_parent"
88
android:layout_height="wrap_content"
99
android:baselineAligned="false">
@@ -14,12 +14,12 @@
1414
android:layout_width="match_parent"
1515
android:layout_height="match_parent"
1616
android:layout_weight="1"
17-
android:background="@drawable/white"
17+
android:background="@color/white"
1818
/>
1919

2020
<LinearLayout
2121
android:orientation="horizontal"
22-
android:background="@drawable/grey"
22+
android:background="@color/grey"
2323
android:layout_width="match_parent"
2424
android:layout_height="wrap_content">
2525

@@ -42,22 +42,22 @@
4242

4343
<LinearLayout
4444
android:orientation="horizontal"
45-
android:background="@drawable/dk_grey"
45+
android:background="@color/dk_grey"
4646
android:layout_width="match_parent"
4747
android:layout_height="wrap_content">
4848

4949
<Button
5050
android:id="@+id/button1"
5151
android:text="@string/labelRed"
52-
android:textColor="@drawable/red"
52+
android:textColor="@color/red"
5353
android:layout_height="wrap_content"
5454
android:layout_width="0dp"
5555
android:layout_weight="1"/>
5656

5757
<Button
5858
android:id="@+id/button2"
5959
android:text="@string/labelGreen"
60-
android:textColor="@drawable/green"
60+
android:textColor="@color/green"
6161
android:layout_height="wrap_content"
6262
android:layout_width="0dp"
6363
android:layout_weight="1"/>
Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
32
<resources>
4-
<drawable name="red">#ffff0000</drawable>
5-
<drawable name="green">#ff00ff00</drawable>
6-
<drawable name="lt_grey">#dddddd</drawable>
7-
<drawable name="grey">#999999</drawable>
8-
<drawable name="dk_grey">#666666</drawable>
9-
<drawable name="white">#ffffffff</drawable>
3+
<color name="red">#ffff0000</color>
4+
<color name="green">#ff00ff00</color>
5+
<color name="lt_grey">#dddddd</color>
6+
<color name="grey">#999999</color>
7+
<color name="dk_grey">#666666</color>
8+
<color name="white">#ffffffff</color>
109
</resources>

AndroidUIDemo/src/com/oreilly/demo/android/pa/uidemo/view/DotView.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ public DotView(Context context, AttributeSet attrs, int defStyle) {
5858
* @see android.view.View#onDraw(android.graphics.Canvas)
5959
*/
6060
@Override protected void onDraw(Canvas canvas) {
61-
//canvas.drawColor(Color.WHITE);
62-
6361
Paint paint = new Paint();
6462
paint.setStyle(Style.STROKE);
6563
paint.setColor(hasFocus() ? Color.BLUE : Color.GRAY);

AndroidViewDemo/project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
# project structure.
99

1010
# Project target.
11-
target=android-14
11+
target=android-15

AsyncTaskDemo/project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
# project structure.
99

1010
# Project target.
11-
target=android-14
11+
target=android-15

ClientDemo/project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
# project structure.
99

1010
# Project target.
11-
target=android-14
11+
target=android-15

ContactViewer/project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
# project structure.
99

1010
# Project target.
11-
target=android-7
11+
target=android-15

0 commit comments

Comments
 (0)