summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2012-04-19 16:56:15 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-04-19 16:56:15 -0700
commitb9f2743062279bc99c769b7acc1bf40f7b0e24a7 (patch)
treedda8ec0b90db05aaaf340514b9b0310cfb35a2c3 /samples
parentaa69042b973bdd46a7f5c4637e0afad03bdaf9e4 (diff)
parentab57af2f90565b25703dad9055fa8a2937af50dc (diff)
downloadandroid_development-b9f2743062279bc99c769b7acc1bf40f7b0e24a7.tar.gz
android_development-b9f2743062279bc99c769b7acc1bf40f7b0e24a7.tar.bz2
android_development-b9f2743062279bc99c769b7acc1bf40f7b0e24a7.zip
am ab57af2f: am 1583b7c6: Delete the fragment-UI sample in favor of the FragmentBasics sample for the 101 training class on fragments
* commit 'ab57af2f90565b25703dad9055fa8a2937af50dc': Delete the fragment-UI sample in favor of the FragmentBasics sample for the 101 training class on fragments
Diffstat (limited to 'samples')
-rw-r--r--samples/training/basic/fragment-UI/AndroidManifest.xml46
-rw-r--r--samples/training/basic/fragment-UI/Basic-activity-class.iml45
-rw-r--r--samples/training/basic/fragment-UI/Basic-fragment-class.iml37
-rw-r--r--samples/training/basic/fragment-UI/ant.properties17
-rw-r--r--samples/training/basic/fragment-UI/build.properties17
-rw-r--r--samples/training/basic/fragment-UI/build.xml85
-rw-r--r--samples/training/basic/fragment-UI/default.properties11
-rw-r--r--samples/training/basic/fragment-UI/libs/android-support-v13.jarbin256908 -> 0 bytes
-rw-r--r--samples/training/basic/fragment-UI/local.properties11
-rw-r--r--samples/training/basic/fragment-UI/proguard.cfg40
-rw-r--r--samples/training/basic/fragment-UI/project.properties11
-rwxr-xr-xsamples/training/basic/fragment-UI/res/drawable-hdpi/ic_launcher.pngbin1022 -> 0 bytes
-rwxr-xr-xsamples/training/basic/fragment-UI/res/drawable-ldpi/ic_launcher.pngbin652 -> 0 bytes
-rwxr-xr-xsamples/training/basic/fragment-UI/res/drawable-mdpi/ic_launcher.pngbin797 -> 0 bytes
-rwxr-xr-xsamples/training/basic/fragment-UI/res/drawable-xhdpi/ic_launcher.pngbin1281 -> 0 bytes
-rw-r--r--samples/training/basic/fragment-UI/res/layout-land/activity_a.xml35
-rw-r--r--samples/training/basic/fragment-UI/res/layout-land/activity_b.xml36
-rw-r--r--samples/training/basic/fragment-UI/res/layout-land/fragment_a.xml31
-rw-r--r--samples/training/basic/fragment-UI/res/layout-land/fragment_b.xml31
-rw-r--r--samples/training/basic/fragment-UI/res/layout-xlarge/activity_a.xml35
-rw-r--r--samples/training/basic/fragment-UI/res/layout-xlarge/activity_b.xml36
-rw-r--r--samples/training/basic/fragment-UI/res/layout-xlarge/fragment_a.xml31
-rw-r--r--samples/training/basic/fragment-UI/res/layout-xlarge/fragment_b.xml31
-rw-r--r--samples/training/basic/fragment-UI/res/layout/activity_a.xml29
-rw-r--r--samples/training/basic/fragment-UI/res/layout/activity_b.xml27
-rw-r--r--samples/training/basic/fragment-UI/res/layout/fragment_a.xml32
-rw-r--r--samples/training/basic/fragment-UI/res/layout/fragment_b.xml32
-rw-r--r--samples/training/basic/fragment-UI/res/values/colors.xml27
-rw-r--r--samples/training/basic/fragment-UI/res/values/dimensions.xml21
-rw-r--r--samples/training/basic/fragment-UI/res/values/strings.xml33
-rw-r--r--samples/training/basic/fragment-UI/src/com/example/android/basic/fragments/ActivityA.java33
-rw-r--r--samples/training/basic/fragment-UI/src/com/example/android/basic/fragments/ActivityB.java46
-rw-r--r--samples/training/basic/fragment-UI/src/com/example/android/basic/fragments/FragmentA.java33
-rw-r--r--samples/training/basic/fragment-UI/src/com/example/android/basic/fragments/FragmentB.java33
34 files changed, 0 insertions, 932 deletions
diff --git a/samples/training/basic/fragment-UI/AndroidManifest.xml b/samples/training/basic/fragment-UI/AndroidManifest.xml
deleted file mode 100644
index 15fb49e02..000000000
--- a/samples/training/basic/fragment-UI/AndroidManifest.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-Copyright (C) 2012 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.
--->
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.example.android.basic.fragments"
- android:versionCode="1"
- android:versionName="1.0">
-
- <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="15" />
- <application android:icon="@drawable/ic_launcher">
-
- <!-- ActivityA example uses XML to create Fragments -->
- <activity android:name=".ActivityA"
- android:launchMode="singleTask"
- android:label="@string/app_name_xml">
- <intent-filter>
- <action android:name="android.intent.action.MAIN" />
- <category android:name="android.intent.category.LAUNCHER" />
- </intent-filter>
- </activity>
-
- <!-- ActivityB example uses Java code to create Fragments -->
- <activity android:name=".ActivityB"
- android:launchMode="singleTask"
- android:label="@string/app_name_code">
- <intent-filter>
- <action android:name="android.intent.action.MAIN" />
- <category android:name="android.intent.category.LAUNCHER" />
- </intent-filter>
- </activity>
-
- </application>
-</manifest>
diff --git a/samples/training/basic/fragment-UI/Basic-activity-class.iml b/samples/training/basic/fragment-UI/Basic-activity-class.iml
deleted file mode 100644
index fd9b97bad..000000000
--- a/samples/training/basic/fragment-UI/Basic-activity-class.iml
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module type="JAVA_MODULE" version="4">
- <component name="FacetManager">
- <facet type="android" name="Android">
- <configuration>
- <option name="GEN_FOLDER_RELATIVE_PATH_APT" value="/gen" />
- <option name="GEN_FOLDER_RELATIVE_PATH_AIDL" value="/gen" />
- <option name="MANIFEST_FILE_RELATIVE_PATH" value="/AndroidManifest.xml" />
- <option name="RES_FOLDER_RELATIVE_PATH" value="/res" />
- <option name="ASSETS_FOLDER_RELATIVE_PATH" value="/assets" />
- <option name="LIBS_FOLDER_RELATIVE_PATH" value="/libs" />
- <option name="REGENERATE_R_JAVA" value="true" />
- <option name="REGENERATE_JAVA_BY_AIDL" value="true" />
- <option name="USE_CUSTOM_APK_RESOURCE_FOLDER" value="false" />
- <option name="CUSTOM_APK_RESOURCE_FOLDER" value="" />
- <option name="USE_CUSTOM_COMPILER_MANIFEST" value="false" />
- <option name="CUSTOM_COMPILER_MANIFEST" value="" />
- <option name="APK_PATH" value="" />
- <option name="LIBRARY_PROJECT" value="false" />
- <option name="RUN_PROCESS_RESOURCES_MAVEN_TASK" value="true" />
- <option name="GENERATE_UNSIGNED_APK" value="false" />
- <option name="CUSTOM_DEBUG_KEYSTORE_PATH" value="" />
- </configuration>
- </facet>
- </component>
- <component name="NewModuleRootManager" inherit-compiler-output="true">
- <exclude-output />
- <content url="file://$MODULE_DIR$">
- <sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" />
- <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
- </content>
- <orderEntry type="jdk" jdkName="Android 4.0 Google APIs" jdkType="Android SDK" />
- <orderEntry type="sourceFolder" forTests="false" />
- <orderEntry type="module-library">
- <library>
- <CLASSES>
- <root url="jar://$MODULE_DIR$/libs/android-support-v13.jar!/" />
- </CLASSES>
- <JAVADOC />
- <SOURCES />
- </library>
- </orderEntry>
- </component>
-</module>
-
diff --git a/samples/training/basic/fragment-UI/Basic-fragment-class.iml b/samples/training/basic/fragment-UI/Basic-fragment-class.iml
deleted file mode 100644
index a64b34cb8..000000000
--- a/samples/training/basic/fragment-UI/Basic-fragment-class.iml
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module type="JAVA_MODULE" version="4">
- <component name="FacetManager">
- <facet type="android" name="Android">
- <configuration>
- <option name="GEN_FOLDER_RELATIVE_PATH_APT" value="/gen" />
- <option name="GEN_FOLDER_RELATIVE_PATH_AIDL" value="/gen" />
- <option name="MANIFEST_FILE_RELATIVE_PATH" value="/AndroidManifest.xml" />
- <option name="RES_FOLDER_RELATIVE_PATH" value="/res" />
- <option name="ASSETS_FOLDER_RELATIVE_PATH" value="/assets" />
- <option name="LIBS_FOLDER_RELATIVE_PATH" value="/libs" />
- <option name="REGENERATE_R_JAVA" value="true" />
- <option name="REGENERATE_JAVA_BY_AIDL" value="true" />
- <option name="USE_CUSTOM_APK_RESOURCE_FOLDER" value="false" />
- <option name="CUSTOM_APK_RESOURCE_FOLDER" value="" />
- <option name="USE_CUSTOM_COMPILER_MANIFEST" value="false" />
- <option name="CUSTOM_COMPILER_MANIFEST" value="" />
- <option name="APK_PATH" value="" />
- <option name="LIBRARY_PROJECT" value="false" />
- <option name="RUN_PROCESS_RESOURCES_MAVEN_TASK" value="true" />
- <option name="GENERATE_UNSIGNED_APK" value="false" />
- <option name="CUSTOM_DEBUG_KEYSTORE_PATH" value="" />
- </configuration>
- </facet>
- </component>
- <component name="NewModuleRootManager" inherit-compiler-output="true">
- <exclude-output />
- <content url="file://$MODULE_DIR$">
- <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
- <sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" />
- </content>
- <orderEntry type="jdk" jdkName="Android 4.0 Google APIs" jdkType="Android SDK" />
- <orderEntry type="sourceFolder" forTests="false" />
- <orderEntry type="library" name="android" level="project" />
- </component>
-</module>
-
diff --git a/samples/training/basic/fragment-UI/ant.properties b/samples/training/basic/fragment-UI/ant.properties
deleted file mode 100644
index ee52d86d9..000000000
--- a/samples/training/basic/fragment-UI/ant.properties
+++ /dev/null
@@ -1,17 +0,0 @@
-# This file is used to override default values used by the Ant build system.
-#
-# This file must be checked in Version Control Systems, as it is
-# integral to the build system of your project.
-
-# This file is only used by the Ant script.
-
-# You can use this to override default values such as
-# 'source.dir' for the location of your java source folder and
-# 'out.dir' for the location of your output folder.
-
-# You can also use it define how the release builds are signed by declaring
-# the following properties:
-# 'key.store' for the location of your keystore and
-# 'key.alias' for the name of the key to use.
-# The password will be asked during the build when you use the 'release' target.
-
diff --git a/samples/training/basic/fragment-UI/build.properties b/samples/training/basic/fragment-UI/build.properties
deleted file mode 100644
index ee52d86d9..000000000
--- a/samples/training/basic/fragment-UI/build.properties
+++ /dev/null
@@ -1,17 +0,0 @@
-# This file is used to override default values used by the Ant build system.
-#
-# This file must be checked in Version Control Systems, as it is
-# integral to the build system of your project.
-
-# This file is only used by the Ant script.
-
-# You can use this to override default values such as
-# 'source.dir' for the location of your java source folder and
-# 'out.dir' for the location of your output folder.
-
-# You can also use it define how the release builds are signed by declaring
-# the following properties:
-# 'key.store' for the location of your keystore and
-# 'key.alias' for the name of the key to use.
-# The password will be asked during the build when you use the 'release' target.
-
diff --git a/samples/training/basic/fragment-UI/build.xml b/samples/training/basic/fragment-UI/build.xml
deleted file mode 100644
index 229798406..000000000
--- a/samples/training/basic/fragment-UI/build.xml
+++ /dev/null
@@ -1,85 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project name="Dynamic UI Example" default="help">
-
- <!-- The local.properties file is created and updated by the 'android' tool.
- It contains the path to the SDK. It should *NOT* be checked into
- Version Control Systems. -->
- <property file="local.properties" />
-
- <!-- The ant.properties file can be created by you. It is only edited by the
- 'android' tool to add properties to it.
- This is the place to change some Ant specific build properties.
- Here are some properties you may want to change/update:
-
- source.dir
- The name of the source directory. Default is 'src'.
- out.dir
- The name of the output directory. Default is 'bin'.
-
- For other overridable properties, look at the beginning of the rules
- files in the SDK, at tools/ant/build.xml
-
- Properties related to the SDK location or the project target should
- be updated using the 'android' tool with the 'update' action.
-
- This file is an integral part of the build system for your
- application and should be checked into Version Control Systems.
-
- -->
- <property file="ant.properties" />
-
- <!-- The project.properties file is created and updated by the 'android'
- tool, as well as ADT.
-
- This contains project specific properties such as project target, and library
- dependencies. Lower level build properties are stored in ant.properties
- (or in .classpath for Eclipse projects).
-
- This file is an integral part of the build system for your
- application and should be checked into Version Control Systems. -->
- <loadproperties srcFile="project.properties" />
-
- <!-- quick check on sdk.dir -->
- <fail
- message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var"
- unless="sdk.dir"
- />
-
-
-<!-- extension targets. Uncomment the ones where you want to do custom work
- in between standard targets -->
-<!--
- <target name="-pre-build">
- </target>
- <target name="-pre-compile">
- </target>
-
- /* This is typically used for code obfuscation.
- Compiled code location: ${out.classes.absolute.dir}
- If this is not done in place, override ${out.dex.input.absolute.dir} */
- <target name="-post-compile">
- </target>
--->
-
- <!-- Import the actual build file.
-
- To customize existing targets, there are two options:
- - Customize only one target:
- - copy/paste the target into this file, *before* the
- <import> task.
- - customize it to your needs.
- - Customize the whole content of build.xml
- - copy/paste the content of the rules files (minus the top node)
- into this file, replacing the <import> task.
- - customize to your needs.
-
- ***********************
- ****** IMPORTANT ******
- ***********************
- In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
- in order to avoid having your file be overridden by tools such as "android update project"
- -->
- <!-- version-tag: 1 -->
- <import file="${sdk.dir}/tools/ant/build.xml" />
-
-</project>
diff --git a/samples/training/basic/fragment-UI/default.properties b/samples/training/basic/fragment-UI/default.properties
deleted file mode 100644
index 420db56e3..000000000
--- a/samples/training/basic/fragment-UI/default.properties
+++ /dev/null
@@ -1,11 +0,0 @@
-# This file is automatically generated by Android Tools.
-# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
-#
-# This file must be checked in Version Control Systems.
-#
-# To customize properties used by the Ant build system use,
-# "build.properties", and override values to adapt the script to your
-# project structure.
-
-# Project target.
-target=Google Inc.:Google APIs:8
diff --git a/samples/training/basic/fragment-UI/libs/android-support-v13.jar b/samples/training/basic/fragment-UI/libs/android-support-v13.jar
deleted file mode 100644
index 3d7f8410f..000000000
--- a/samples/training/basic/fragment-UI/libs/android-support-v13.jar
+++ /dev/null
Binary files differ
diff --git a/samples/training/basic/fragment-UI/local.properties b/samples/training/basic/fragment-UI/local.properties
deleted file mode 100644
index 838a83145..000000000
--- a/samples/training/basic/fragment-UI/local.properties
+++ /dev/null
@@ -1,11 +0,0 @@
-# This file is automatically generated by Android Tools.
-# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
-#
-# This file must *NOT* be checked in Version Control Systems,
-# as it contains information specific to your local configuration.
-
-# location of the SDK. This is only used by Ant
-# For customization when using a Version Control System, please read the
-# header note.
-sdk.dir=/Users/brutledge/android-sdk-macosx
-extensible.classpath=./libs/android-support-v13.jar
diff --git a/samples/training/basic/fragment-UI/proguard.cfg b/samples/training/basic/fragment-UI/proguard.cfg
deleted file mode 100644
index b1cdf17b5..000000000
--- a/samples/training/basic/fragment-UI/proguard.cfg
+++ /dev/null
@@ -1,40 +0,0 @@
--optimizationpasses 5
--dontusemixedcaseclassnames
--dontskipnonpubliclibraryclasses
--dontpreverify
--verbose
--optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
-
--keep public class * extends android.app.Activity
--keep public class * extends android.app.Application
--keep public class * extends android.app.Service
--keep public class * extends android.content.BroadcastReceiver
--keep public class * extends android.content.ContentProvider
--keep public class * extends android.app.backup.BackupAgentHelper
--keep public class * extends android.preference.Preference
--keep public class com.android.vending.licensing.ILicensingService
-
--keepclasseswithmembernames class * {
- native <methods>;
-}
-
--keepclasseswithmembers class * {
- public <init>(android.content.Context, android.util.AttributeSet);
-}
-
--keepclasseswithmembers class * {
- public <init>(android.content.Context, android.util.AttributeSet, int);
-}
-
--keepclassmembers class * extends android.app.Activity {
- public void *(android.view.View);
-}
-
--keepclassmembers enum * {
- public static **[] values();
- public static ** valueOf(java.lang.String);
-}
-
--keep class * implements android.os.Parcelable {
- public static final android.os.Parcelable$Creator *;
-}
diff --git a/samples/training/basic/fragment-UI/project.properties b/samples/training/basic/fragment-UI/project.properties
deleted file mode 100644
index c2368c1e6..000000000
--- a/samples/training/basic/fragment-UI/project.properties
+++ /dev/null
@@ -1,11 +0,0 @@
-# This file is automatically generated by Android Tools.
-# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
-#
-# This file must be checked in Version Control Systems.
-#
-# To customize properties used by the Ant build system use,
-# "ant.properties", and override values to adapt the script to your
-# project structure.
-
-# Project target.
-target=Google Inc.\:Google APIs\:14
diff --git a/samples/training/basic/fragment-UI/res/drawable-hdpi/ic_launcher.png b/samples/training/basic/fragment-UI/res/drawable-hdpi/ic_launcher.png
deleted file mode 100755
index 6bb06c479..000000000
--- a/samples/training/basic/fragment-UI/res/drawable-hdpi/ic_launcher.png
+++ /dev/null
Binary files differ
diff --git a/samples/training/basic/fragment-UI/res/drawable-ldpi/ic_launcher.png b/samples/training/basic/fragment-UI/res/drawable-ldpi/ic_launcher.png
deleted file mode 100755
index 70ca1bf45..000000000
--- a/samples/training/basic/fragment-UI/res/drawable-ldpi/ic_launcher.png
+++ /dev/null
Binary files differ
diff --git a/samples/training/basic/fragment-UI/res/drawable-mdpi/ic_launcher.png b/samples/training/basic/fragment-UI/res/drawable-mdpi/ic_launcher.png
deleted file mode 100755
index 085b783c3..000000000
--- a/samples/training/basic/fragment-UI/res/drawable-mdpi/ic_launcher.png
+++ /dev/null
Binary files differ
diff --git a/samples/training/basic/fragment-UI/res/drawable-xhdpi/ic_launcher.png b/samples/training/basic/fragment-UI/res/drawable-xhdpi/ic_launcher.png
deleted file mode 100755
index bfa4007c0..000000000
--- a/samples/training/basic/fragment-UI/res/drawable-xhdpi/ic_launcher.png
+++ /dev/null
Binary files differ
diff --git a/samples/training/basic/fragment-UI/res/layout-land/activity_a.xml b/samples/training/basic/fragment-UI/res/layout-land/activity_a.xml
deleted file mode 100644
index 6638a65f9..000000000
--- a/samples/training/basic/fragment-UI/res/layout-land/activity_a.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-Copyright (C) 2012 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.
--->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
-
- <fragment android:name="com.example.android.basic.fragments.FragmentA"
- android:id="@+id/fragment_a"
- android:layout_weight="1"
- android:layout_width="match_parent"
- android:layout_height="0dp" />
-
- <fragment android:name="com.example.android.basic.fragments.FragmentB"
- android:id="@+id/fragment_b"
- android:layout_weight="1"
- android:layout_width="match_parent"
- android:layout_height="0dp" />
-
-</LinearLayout>
-
diff --git a/samples/training/basic/fragment-UI/res/layout-land/activity_b.xml b/samples/training/basic/fragment-UI/res/layout-land/activity_b.xml
deleted file mode 100644
index 9f4ee96bc..000000000
--- a/samples/training/basic/fragment-UI/res/layout-land/activity_b.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-Copyright (C) 2012 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.
--->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
-
- <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/main"
- android:orientation="vertical"
- android:layout_weight="1"
- android:layout_width="match_parent"
- android:layout_height="0dp" />
-
- <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/content"
- android:orientation="vertical"
- android:layout_weight="1"
- android:layout_width="match_parent"
- android:layout_height="0dp" />
-</LinearLayout>
-
diff --git a/samples/training/basic/fragment-UI/res/layout-land/fragment_a.xml b/samples/training/basic/fragment-UI/res/layout-land/fragment_a.xml
deleted file mode 100644
index 60049959d..000000000
--- a/samples/training/basic/fragment-UI/res/layout-land/fragment_a.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-Copyright (C) 2012 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.
--->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:background="@color/dark_blue"
- android:padding="8dip">
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="@string/fragment_a_label"
- android:gravity="center_horizontal"
- android:textSize="@dimen/font_large"
- android:textColor="@color/light_blue"
- android:paddingBottom="16dip"/>
-</LinearLayout> \ No newline at end of file
diff --git a/samples/training/basic/fragment-UI/res/layout-land/fragment_b.xml b/samples/training/basic/fragment-UI/res/layout-land/fragment_b.xml
deleted file mode 100644
index eddf15b2d..000000000
--- a/samples/training/basic/fragment-UI/res/layout-land/fragment_b.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-Copyright (C) 2012 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.
--->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:background="@color/dark_red"
- android:padding="8dip">
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="@string/fragment_b_label"
- android:gravity="center_horizontal"
- android:textSize="@dimen/font_large"
- android:textColor="@color/light_red"
- android:paddingBottom="16dip"/>
-</LinearLayout> \ No newline at end of file
diff --git a/samples/training/basic/fragment-UI/res/layout-xlarge/activity_a.xml b/samples/training/basic/fragment-UI/res/layout-xlarge/activity_a.xml
deleted file mode 100644
index 0f1baa706..000000000
--- a/samples/training/basic/fragment-UI/res/layout-xlarge/activity_a.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-Copyright (C) 2012 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.
--->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
-
- <fragment android:name="com.example.android.basic.fragments.FragmentA"
- android:id="@+id/fragment_a"
- android:layout_weight="1"
- android:layout_width="match_parent"
- android:layout_height="0dp" />
-
- <fragment android:name="com.example.android.basic.fragments.FragmentB"
- android:id="@+id/fragment_b"
- android:layout_weight="1"
- android:layout_width="match_parent"
- android:layout_height="0dp" />
-
-</LinearLayout>
-
diff --git a/samples/training/basic/fragment-UI/res/layout-xlarge/activity_b.xml b/samples/training/basic/fragment-UI/res/layout-xlarge/activity_b.xml
deleted file mode 100644
index 8b16e59a2..000000000
--- a/samples/training/basic/fragment-UI/res/layout-xlarge/activity_b.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-Copyright (C) 2012 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.
--->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
-
- <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/main"
- android:orientation="vertical"
- android:layout_weight="1"
- android:layout_width="match_parent"
- android:layout_height="0dp" />
-
- <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/content"
- android:orientation="vertical"
- android:layout_weight="1"
- android:layout_width="match_parent"
- android:layout_height="0dp" />
-</LinearLayout>
-
diff --git a/samples/training/basic/fragment-UI/res/layout-xlarge/fragment_a.xml b/samples/training/basic/fragment-UI/res/layout-xlarge/fragment_a.xml
deleted file mode 100644
index e3adb86b3..000000000
--- a/samples/training/basic/fragment-UI/res/layout-xlarge/fragment_a.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-Copyright (C) 2012 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.
--->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/dark_blue"
- android:padding="8dp">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/fragment_a_label"
- android:gravity="center_horizontal"
- android:textSize="@dimen/font_large"
- android:textColor="@color/light_blue"
- android:paddingBottom="16dp"/>
-</LinearLayout> \ No newline at end of file
diff --git a/samples/training/basic/fragment-UI/res/layout-xlarge/fragment_b.xml b/samples/training/basic/fragment-UI/res/layout-xlarge/fragment_b.xml
deleted file mode 100644
index 6aa0c323a..000000000
--- a/samples/training/basic/fragment-UI/res/layout-xlarge/fragment_b.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-Copyright (C) 2012 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.
--->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/dark_red"
- android:padding="8dp">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/fragment_b_label"
- android:gravity="center_horizontal"
- android:textSize="@dimen/font_large"
- android:textColor="@color/light_red"
- android:paddingBottom="16dp"/>
-</LinearLayout> \ No newline at end of file
diff --git a/samples/training/basic/fragment-UI/res/layout/activity_a.xml b/samples/training/basic/fragment-UI/res/layout/activity_a.xml
deleted file mode 100644
index 5d6077c8e..000000000
--- a/samples/training/basic/fragment-UI/res/layout/activity_a.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-Copyright (C) 2012 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.
--->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
-
- <fragment android:name="com.example.android.basic.fragments.FragmentA"
- android:id="@+id/fragment_a"
- android:layout_weight="1"
- android:layout_width="match_parent"
- android:layout_height="0dp" />
-
-</LinearLayout>
-
diff --git a/samples/training/basic/fragment-UI/res/layout/activity_b.xml b/samples/training/basic/fragment-UI/res/layout/activity_b.xml
deleted file mode 100644
index 03e779c4a..000000000
--- a/samples/training/basic/fragment-UI/res/layout/activity_b.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-Copyright (C) 2012 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.
--->
-<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/main"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"/>
-
-
-
-
-
-
diff --git a/samples/training/basic/fragment-UI/res/layout/fragment_a.xml b/samples/training/basic/fragment-UI/res/layout/fragment_a.xml
deleted file mode 100644
index 31b0ceb60..000000000
--- a/samples/training/basic/fragment-UI/res/layout/fragment_a.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-Copyright (C) 2012 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.
--->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:background="@color/dark_blue"
- android:padding="8dip">
-
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="@string/fragment_a_label"
- android:gravity="center_horizontal"
- android:textSize="@dimen/font_large"
- android:textColor="@color/light_blue"
- android:paddingBottom="16dip"/>
-</LinearLayout> \ No newline at end of file
diff --git a/samples/training/basic/fragment-UI/res/layout/fragment_b.xml b/samples/training/basic/fragment-UI/res/layout/fragment_b.xml
deleted file mode 100644
index 90364d8cd..000000000
--- a/samples/training/basic/fragment-UI/res/layout/fragment_b.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-Copyright (C) 2012 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.
--->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:background="@color/dark_red"
- android:padding="8dip">
-
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="@string/fragment_b_label"
- android:gravity="center_horizontal"
- android:textSize="@dimen/font_large"
- android:textColor="@color/light_red"
- android:paddingBottom="16dip"/>
-</LinearLayout> \ No newline at end of file
diff --git a/samples/training/basic/fragment-UI/res/values/colors.xml b/samples/training/basic/fragment-UI/res/values/colors.xml
deleted file mode 100644
index 9a5607415..000000000
--- a/samples/training/basic/fragment-UI/res/values/colors.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-Copyright (C) 2012 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.
--->
-<resources>
- <color name="light_blue">#A8DFF4</color>
- <color name="light_green">#D3E992</color>
- <color name="light_red">#FFAFAF</color>
- <color name="light_yellow">#FFECC0</color>
-
- <color name="dark_blue">#0099CC</color>
- <color name="dark_green">#669900</color>
- <color name="dark_red">#CC0000</color>
- <color name="dark_yellow">#FF8A00</color>
-</resources> \ No newline at end of file
diff --git a/samples/training/basic/fragment-UI/res/values/dimensions.xml b/samples/training/basic/fragment-UI/res/values/dimensions.xml
deleted file mode 100644
index 72ef859fc..000000000
--- a/samples/training/basic/fragment-UI/res/values/dimensions.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-Copyright (C) 2012 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.
--->
-<resources>
- <dimen name="font_large">44dp</dimen>
- <dimen name="font_medium">24dp</dimen>
- <dimen name="font_small">10dp</dimen>
-</resources> \ No newline at end of file
diff --git a/samples/training/basic/fragment-UI/res/values/strings.xml b/samples/training/basic/fragment-UI/res/values/strings.xml
deleted file mode 100644
index 9598340fc..000000000
--- a/samples/training/basic/fragment-UI/res/values/strings.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-Copyright (C) 2012 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.
--->
-<resources>
- <string name="app_name">Dynamic UI Example</string>
- <string name="app_name_xml">Fragments XML Example</string>
- <string name="app_name_code">Fragments Java Example</string>
-
- <string name="activity_a_label">Activity A</string>
- <string name="fragment_a_label">Fragment A</string>
- <string name="fragment_b_label">Fragment B</string>
-
- <string name="btn_start_a_label">Start A</string>
- <string name="btn_start_b_label">Start B</string>
- <string name="btn_start_c_label">Start C</string>
- <string name="btn_start_dialog_label">Dialog</string>
-
- <string name="close">Close</string>
- <string name="dialog">Dialog</string>
-</resources>
diff --git a/samples/training/basic/fragment-UI/src/com/example/android/basic/fragments/ActivityA.java b/samples/training/basic/fragment-UI/src/com/example/android/basic/fragments/ActivityA.java
deleted file mode 100644
index 5210a8ae5..000000000
--- a/samples/training/basic/fragment-UI/src/com/example/android/basic/fragments/ActivityA.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (C) 2012 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.basic.fragments;
-
-import android.os.Bundle;
-import android.support.v4.app.FragmentActivity;
-import com.example.com.example.android.basic.fragments.R;
-
-/**
- * Sample Activity entry point for demonstrating a multi-pane UI using Fragments, assembled
- * using XML code in the layout file.
- */
-public class ActivityA extends FragmentActivity {
- @Override
- public void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_a);
- }
-}
diff --git a/samples/training/basic/fragment-UI/src/com/example/android/basic/fragments/ActivityB.java b/samples/training/basic/fragment-UI/src/com/example/android/basic/fragments/ActivityB.java
deleted file mode 100644
index 8b29dc112..000000000
--- a/samples/training/basic/fragment-UI/src/com/example/android/basic/fragments/ActivityB.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2012 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.basic.fragments;
-
-import android.content.res.Configuration;
-import android.os.Bundle;
-import android.support.v4.app.FragmentActivity;
-import com.example.com.example.android.basic.fragments.R;
-
-/**
- * Sample Activity entry point for demonstrating a multi-pane UI using Fragments, assembled
- * using Java code as an alternative to XML in the layout file.
- */
-public class ActivityB extends FragmentActivity {
- @Override
- public void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_b);
-
- // Create FragmentA and add it to the 'main' FrameLayout
- FragmentA fragmentA = new FragmentA();
- fragmentA.setArguments(getIntent().getExtras());
- getSupportFragmentManager().beginTransaction().add(R.id.main, fragmentA).commit();
-
- // Create FragmentB, if in landscape orientation, and add it to the 'content' FrameLayout
- if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) {
- FragmentB fragmentB = new FragmentB();
- fragmentB.setArguments(getIntent().getExtras());
- getSupportFragmentManager().beginTransaction().add(R.id.content, fragmentB).commit();
- }
- }
-}
diff --git a/samples/training/basic/fragment-UI/src/com/example/android/basic/fragments/FragmentA.java b/samples/training/basic/fragment-UI/src/com/example/android/basic/fragments/FragmentA.java
deleted file mode 100644
index ccb987c94..000000000
--- a/samples/training/basic/fragment-UI/src/com/example/android/basic/fragments/FragmentA.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (C) 2012 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.basic.fragments;
-
-import android.os.Bundle;
-import android.support.v4.app.Fragment;
-import android.view.LayoutInflater;
-import android.view.View;
-import android.view.ViewGroup;
-import com.example.com.example.android.basic.fragments.R;
-
-public class FragmentA extends Fragment {
- @Override
- public View onCreateView(LayoutInflater inflater, ViewGroup container,
- Bundle savedInstanceState) {
- // Inflate the layout for this fragment
- return inflater.inflate(R.layout.fragment_a, container, false);
- }
-}
diff --git a/samples/training/basic/fragment-UI/src/com/example/android/basic/fragments/FragmentB.java b/samples/training/basic/fragment-UI/src/com/example/android/basic/fragments/FragmentB.java
deleted file mode 100644
index 2bae08a15..000000000
--- a/samples/training/basic/fragment-UI/src/com/example/android/basic/fragments/FragmentB.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (C) 2012 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.basic.fragments;
-
-import android.os.Bundle;
-import android.support.v4.app.Fragment;
-import android.view.LayoutInflater;
-import android.view.View;
-import android.view.ViewGroup;
-import com.example.com.example.android.basic.fragments.R;
-
-public class FragmentB extends Fragment {
- @Override
- public View onCreateView(LayoutInflater inflater, ViewGroup container,
- Bundle savedInstanceState) {
- // Inflate the layout for this fragment
- return inflater.inflate(R.layout.fragment_b, container, false);
- }
-}