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 @@ - - - - - - - - - - - - - - - - - - - - - - - - - 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 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 @@ - - - - - - - - - - - - - - - - - - - - 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 @@ - - - - - - - - - - - - - - - - - - - - - - - - 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 Binary files a/samples/training/basic/fragment-UI/libs/android-support-v13.jar and /dev/null 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 ; -} - --keepclasseswithmembers class * { - public (android.content.Context, android.util.AttributeSet); -} - --keepclasseswithmembers class * { - public (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 Binary files a/samples/training/basic/fragment-UI/res/drawable-hdpi/ic_launcher.png and /dev/null 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 Binary files a/samples/training/basic/fragment-UI/res/drawable-ldpi/ic_launcher.png and /dev/null 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 Binary files a/samples/training/basic/fragment-UI/res/drawable-mdpi/ic_launcher.png and /dev/null 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 Binary files a/samples/training/basic/fragment-UI/res/drawable-xhdpi/ic_launcher.png and /dev/null 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 @@ - - - - - - - - - - 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 @@ - - - - - - - - - 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 @@ - - - - - \ 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 @@ - - - - - \ 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 @@ - - - - - - - - - - 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 @@ - - - - - - - - - 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 @@ - - - - - \ 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 @@ - - - - - \ 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 @@ - - - - - - - - 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 @@ - - - - - - - - - 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 @@ - - - - - - \ 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 @@ - - - - - - \ 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 @@ - - - - #A8DFF4 - #D3E992 - #FFAFAF - #FFECC0 - - #0099CC - #669900 - #CC0000 - #FF8A00 - \ 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 @@ - - - - 44dp - 24dp - 10dp - \ 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 @@ - - - - Dynamic UI Example - Fragments XML Example - Fragments Java Example - - Activity A - Fragment A - Fragment B - - Start A - Start B - Start C - Dialog - - Close - Dialog - 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); - } -}