Compare Revisions
Last modification
- Rev 5 2011-01-19 20:17:08
- Author: PointedEars
- Log message:
Implemented Activity-based list (reuses AppDemos project)
/trunk/res/layout/frm_currency.xml |
File deleted |
|
Property changes: |
Deleted: svn:mime-type |
## -1 +0,0 ## |
-text/plain |
\ No newline at end of property |
Index: custom_dialog_activity.xml |
=================================================================== |
--- custom_dialog_activity.xml (revision 5) |
+++ custom_dialog_activity.xml (nonexistent) |
@@ -1,24 +0,0 @@ |
-<?xml version="1.0" encoding="utf-8"?> |
-<!-- Copyright (C) 2008 The Android Open Source Project |
- |
- Licensed under the Apache License, Version 2.0 (the "License"); |
- you may not use this file except in compliance with the License. |
- You may obtain a copy of the License at |
- |
- http://www.apache.org/licenses/LICENSE-2.0 |
- |
- Unless required by applicable law or agreed to in writing, software |
- distributed under the License is distributed on an "AS IS" BASIS, |
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
- See the License for the specific language governing permissions and |
- limitations under the License. |
---> |
- |
-<!-- Demonstrates an activity with a custom dialog theme. |
- See corresponding Java code com.android.sdk.app.CustomDialogActivity.java. --> |
- |
-<!-- This screen consists of a single text field that displays some text. --> |
-<TextView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/text" |
- android:layout_width="match_parent" android:layout_height="match_parent" |
- android:gravity="center_vertical|center_horizontal" |
- android:text="@string/custom_dialog_activity_text"/> |
/custom_dialog_activity.xml |
Property changes: |
Deleted: svn:mime-type |
## -1 +0,0 ## |
-text/plain |
\ No newline at end of property |
Index: frm_temperatures.xml |
=================================================================== |
--- frm_temperatures.xml (revision 5) |
+++ frm_temperatures.xml (nonexistent) |
@@ -1,34 +0,0 @@ |
-<?xml version="1.0" encoding="utf-8"?> |
-<LinearLayout |
- xmlns:android="http://schemas.android.com/apk/res/android" |
- android:orientation="vertical" |
- android:layout_width="wrap_content" |
- android:layout_height="wrap_content"> |
- |
-<TextView |
- android:layout_width="fill_parent" |
- android:layout_height="wrap_content" |
- android:text="@string/prompt02" |
- /> |
- |
-<EditText android:id="@+id/et_temperatur" |
- android:layout_width="fill_parent" |
- android:layout_height="wrap_content" |
- android:inputType="numberDecimal" /> |
- |
-<Spinner android:id="@+id/sp_s_tunit" |
- android:layout_width="fill_parent" |
- android:layout_height="wrap_content" |
- android:drawSelectorOnTop="true" |
- android:entries="@array/tem_display" |
- android:entryValues="@array/tem_values" /> |
- |
-<Spinner android:id="@+id/sp_t_tunit" |
- android:layout_width="fill_parent" |
- android:layout_height="wrap_content" |
- android:drawSelectorOnTop="true" |
- android:entries="@array/tem_display" |
- android:entryValues="@array/tem_values" /> |
- |
- |
-</LinearLayout> |
/frm_temperatures.xml |
Property changes: |
Deleted: svn:mime-type |
## -1 +0,0 ## |
-text/plain |
\ No newline at end of property |
Index: frm_laengen.xml |
=================================================================== |
--- frm_laengen.xml (revision 5) |
+++ frm_laengen.xml (nonexistent) |
@@ -1,33 +0,0 @@ |
-<?xml version="1.0" encoding="utf-8"?> |
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
- android:orientation="vertical" |
- android:layout_width="fill_parent" |
- android:layout_height="fill_parent" |
- > |
- |
- <TextView |
- android:layout_width="fill_parent" |
- android:layout_height="wrap_content" |
- android:text="@string/prompt03" |
- /> |
- |
- <EditText android:id="@+id/et_maass" |
- android:layout_width="fill_parent" |
- android:layout_height="wrap_content" |
- android:inputType="numberDecimal" /> |
- |
- <Spinner android:id="@+id/sp_s_maass" |
- android:layout_width="fill_parent" |
- android:layout_height="wrap_content" |
- android:drawSelectorOnTop="true" |
- android:entries="@array/mas_display" |
- android:entryValues="@array/mas_values" /> |
- |
- <Spinner android:id="@+id/sp_t_maass" |
- android:layout_width="fill_parent" |
- android:layout_height="wrap_content" |
- android:drawSelectorOnTop="true" |
- android:entries="@array/mas_display" |
- android:entryValues="@array/mas_values" /> |
- |
-</LinearLayout> |
/frm_laengen.xml |
Property changes: |
Deleted: svn:mime-type |
## -1 +0,0 ## |
-text/plain |
\ No newline at end of property |
Index: hello_world.xml |
=================================================================== |
--- hello_world.xml (revision 5) |
+++ hello_world.xml (nonexistent) |
@@ -1,25 +0,0 @@ |
-<?xml version="1.0" encoding="utf-8"?> |
-<!-- Copyright (C) 2007 The Android Open Source Project |
- |
- Licensed under the Apache License, Version 2.0 (the "License"); |
- you may not use this file except in compliance with the License. |
- You may obtain a copy of the License at |
- |
- http://www.apache.org/licenses/LICENSE-2.0 |
- |
- Unless required by applicable law or agreed to in writing, software |
- distributed under the License is distributed on an "AS IS" BASIS, |
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
- See the License for the specific language governing permissions and |
- limitations under the License. |
---> |
- |
-<!-- Demonstrates basic application screen. |
- See corresponding Java code com.android.sdk.app.HelloWorld.java. --> |
- |
-<!-- This screen consists of a single text field that |
- displays our "Hello, World!" text. --> |
-<TextView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/text" |
- android:layout_width="match_parent" android:layout_height="match_parent" |
- android:gravity="center_vertical|center_horizontal" |
- android:text="@string/hello_world"/> |
/hello_world.xml |
Property changes: |
Deleted: svn:mime-type |
## -1 +0,0 ## |
-text/plain |
\ No newline at end of property |
Index: dialog_activity.xml |
=================================================================== |
--- dialog_activity.xml (revision 5) |
+++ dialog_activity.xml (nonexistent) |
@@ -1,24 +0,0 @@ |
-<?xml version="1.0" encoding="utf-8"?> |
-<!-- Copyright (C) 2008 The Android Open Source Project |
- |
- Licensed under the Apache License, Version 2.0 (the "License"); |
- you may not use this file except in compliance with the License. |
- You may obtain a copy of the License at |
- |
- http://www.apache.org/licenses/LICENSE-2.0 |
- |
- Unless required by applicable law or agreed to in writing, software |
- distributed under the License is distributed on an "AS IS" BASIS, |
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
- See the License for the specific language governing permissions and |
- limitations under the License. |
---> |
- |
-<!-- Demonstrates an activity with a dialog theme. |
- See corresponding Java code com.android.sdk.app.DialogActivity.java. --> |
- |
-<!-- This screen consists of a single text field that displays some text. --> |
-<TextView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/text" |
- android:layout_width="match_parent" android:layout_height="match_parent" |
- android:gravity="center_vertical|center_horizontal" |
- android:text="@string/dialog_activity_text"/> |
/dialog_activity.xml |
Property changes: |
Deleted: svn:mime-type |
## -1 +0,0 ## |
-text/plain |
\ No newline at end of property |
Index: main.xml |
=================================================================== |
--- main.xml (revision 5) |
+++ main.xml (revision 4) |
@@ -4,17 +4,9 @@ |
android:layout_width="fill_parent" |
android:layout_height="fill_parent" |
> |
- |
- <TextView |
- android:layout_width="fill_parent" |
- android:layout_height="wrap_content" |
- android:text="@string/title" |
- /> |
- |
- <ListView android:id="@id/android:list" |
- android:background="#00FF00" |
- android:layout_weight="1" |
- android:drawSelectorOnTop="false" |
- /> |
- |
+<TextView |
+ android:layout_width="fill_parent" |
+ android:layout_height="wrap_content" |
+ android:text="@string/hello" |
+ /> |
</LinearLayout> |