diff --git a/samples/ApiDemos/AndroidManifest.xml b/samples/ApiDemos/AndroidManifest.xml
index 2144d883a..caac573af 100644
--- a/samples/ApiDemos/AndroidManifest.xml
+++ b/samples/ApiDemos/AndroidManifest.xml
@@ -1549,12 +1549,6 @@
-
-
-
-
-
-
@@ -2130,8 +2124,56 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ android:label="Views/Text/TextSwitcher">
+
+
+
+
+
+
+
@@ -3097,27 +3139,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/samples/ApiDemos/res/layout/edit_text_demo.xml b/samples/ApiDemos/res/layout/edit_text_demo.xml
new file mode 100644
index 000000000..e7f5c952f
--- /dev/null
+++ b/samples/ApiDemos/res/layout/edit_text_demo.xml
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/samples/ApiDemos/res/layout/text_view_demo.xml b/samples/ApiDemos/res/layout/text_view_demo.xml
new file mode 100644
index 000000000..ee0de978e
--- /dev/null
+++ b/samples/ApiDemos/res/layout/text_view_demo.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/samples/ApiDemos/src/com/example/android/apis/view/EditTextDemo.java b/samples/ApiDemos/src/com/example/android/apis/view/EditTextDemo.java
new file mode 100644
index 000000000..94893d5a6
--- /dev/null
+++ b/samples/ApiDemos/src/com/example/android/apis/view/EditTextDemo.java
@@ -0,0 +1,37 @@
+/*
+ * Copyright (C) 2015 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.
+ */
+
+package com.example.android.apis.view;
+
+import android.app.Activity;
+import android.os.Bundle;
+
+// Need the following import to get access to the app resources, since this
+// class is in a sub-package.
+import com.example.android.apis.R;
+
+
+/**
+ * Demonstrates the {@link android.widget.EditText} widget.
+ */
+public class EditTextDemo extends Activity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.edit_text_demo);
+ }
+}
diff --git a/samples/ApiDemos/src/com/example/android/apis/view/TextViewDemo.java b/samples/ApiDemos/src/com/example/android/apis/view/TextViewDemo.java
new file mode 100644
index 000000000..78b7ff14b
--- /dev/null
+++ b/samples/ApiDemos/src/com/example/android/apis/view/TextViewDemo.java
@@ -0,0 +1,37 @@
+/*
+ * Copyright (C) 2015 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.
+ */
+
+package com.example.android.apis.view;
+
+import android.app.Activity;
+import android.os.Bundle;
+
+// Need the following import to get access to the app resources, since this
+// class is in a sub-package.
+import com.example.android.apis.R;
+
+
+/**
+ * Demonstrates the {@link android.widget.TextView} widget.
+ */
+public class TextViewDemo extends Activity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.text_view_demo);
+ }
+}