Mercurial > MadButterfly
annotate Android/examples/testpath/res/layout/main.xml @ 1139:a2b068594412
Use pybind with new DOM API (at PYNode).
- MBScene.document is a PYDocument instead of PYSPDocument.
- MBScene.root is a PYNode isntead of PYSPItem.
- getNext() was replaced by next().
- attribute() was replaced by getAttribute().
- getID() was removed, use setAttribute() instead.
- MBScene.dom was removed, use MBScene.document.root() instead.
- MBScene.nodeToItem was removed, use PYNode.spitem instead.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Wed, 22 Dec 2010 13:27:37 +0800 |
parents | e505597c17fb |
children |
rev | line source |
---|---|
501
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="utf-8"?> |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
3 android:orientation="vertical" |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
4 android:layout_width="fill_parent" |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
5 android:layout_height="fill_parent" |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
6 > |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
7 <TextView |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
8 android:layout_width="fill_parent" |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
9 android:layout_height="wrap_content" |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
10 android:text="Hello World, testpath" |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
11 /> |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
12 </LinearLayout> |
e505597c17fb
testpath is an Android Java application for demo MadButterfly.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
13 |