commit | 40bbacc1908e2d342db379d96f1c990f2a395a09 | [log] [tgz] |
---|---|---|
author | Trevor Johns <trevorjohns@google.com> | Tue Jul 23 20:55:34 2013 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Tue Jul 23 20:55:34 2013 +0000 |
tree | 8216ba0bdadf7afa56d0d8847f8cb3d05cebedfe | |
parent | c916d39fc7df8246d77c0e05d892ae23bc1e7f37 [diff] | |
parent | feef2846b3457ec7cc70601cdc2c20bcc39a8140 [diff] |
Merge "Update ActionBarCompat "ListPopupMenu" sample to use 2-level layout" into jb-mr2-dev
diff --git a/ui/actionbarcompat/ListPopupMenu/ListPopupMenu/build.gradle b/ui/actionbarcompat/ListPopupMenu/ListPopupMenu/build.gradle new file mode 100644 index 0000000..13f4f48 --- /dev/null +++ b/ui/actionbarcompat/ListPopupMenu/ListPopupMenu/build.gradle
@@ -0,0 +1,19 @@ +buildscript { + repositories { + mavenCentral() + } + dependencies { + classpath 'com.android.tools.build:gradle:0.5.+' + } +} +apply plugin: 'android' + +dependencies { + compile "com.android.support:support-v4:18.0.+" + compile "com.android.support:appcompat-v7:18.0.+" +} + +android { + compileSdkVersion 17 + buildToolsVersion "17.0.0" +}
diff --git a/ui/actionbarcompat/ListPopupMenu/src/main/AndroidManifest.xml b/ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/AndroidManifest.xml similarity index 100% rename from ui/actionbarcompat/ListPopupMenu/src/main/AndroidManifest.xml rename to ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/AndroidManifest.xml
diff --git a/ui/actionbarcompat/ListPopupMenu/src/main/res/drawable-hdpi/ic_launcher.png b/ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/res/drawable-hdpi/ic_launcher.png similarity index 100% rename from ui/actionbarcompat/ListPopupMenu/src/main/res/drawable-hdpi/ic_launcher.png rename to ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/res/drawable-hdpi/ic_launcher.png Binary files differ
diff --git a/ui/actionbarcompat/ListPopupMenu/src/main/res/drawable-hdpi/ic_overflow.png b/ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/res/drawable-hdpi/ic_overflow.png similarity index 100% rename from ui/actionbarcompat/ListPopupMenu/src/main/res/drawable-hdpi/ic_overflow.png rename to ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/res/drawable-hdpi/ic_overflow.png Binary files differ
diff --git a/ui/actionbarcompat/ListPopupMenu/src/main/res/drawable-mdpi/ic_launcher.png b/ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/res/drawable-mdpi/ic_launcher.png similarity index 100% rename from ui/actionbarcompat/ListPopupMenu/src/main/res/drawable-mdpi/ic_launcher.png rename to ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/res/drawable-mdpi/ic_launcher.png Binary files differ
diff --git a/ui/actionbarcompat/ListPopupMenu/src/main/res/drawable-mdpi/ic_overflow.png b/ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/res/drawable-mdpi/ic_overflow.png similarity index 100% rename from ui/actionbarcompat/ListPopupMenu/src/main/res/drawable-mdpi/ic_overflow.png rename to ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/res/drawable-mdpi/ic_overflow.png Binary files differ
diff --git a/ui/actionbarcompat/ListPopupMenu/src/main/res/drawable-xhdpi/ic_launcher.png b/ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/res/drawable-xhdpi/ic_launcher.png similarity index 100% rename from ui/actionbarcompat/ListPopupMenu/src/main/res/drawable-xhdpi/ic_launcher.png rename to ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differ
diff --git a/ui/actionbarcompat/ListPopupMenu/src/main/res/drawable-xhdpi/ic_overflow.png b/ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/res/drawable-xhdpi/ic_overflow.png similarity index 100% rename from ui/actionbarcompat/ListPopupMenu/src/main/res/drawable-xhdpi/ic_overflow.png rename to ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/res/drawable-xhdpi/ic_overflow.png Binary files differ
diff --git a/ui/actionbarcompat/ListPopupMenu/src/main/res/drawable-xxhdpi/ic_launcher.png b/ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/res/drawable-xxhdpi/ic_launcher.png similarity index 100% rename from ui/actionbarcompat/ListPopupMenu/src/main/res/drawable-xxhdpi/ic_launcher.png rename to ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/res/drawable-xxhdpi/ic_launcher.png Binary files differ
diff --git a/ui/actionbarcompat/ListPopupMenu/src/main/res/layout/activity_main.xml b/ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/res/layout/activity_main.xml similarity index 100% rename from ui/actionbarcompat/ListPopupMenu/src/main/res/layout/activity_main.xml rename to ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/res/layout/activity_main.xml
diff --git a/ui/actionbarcompat/ListPopupMenu/src/main/res/layout/list_item.xml b/ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/res/layout/list_item.xml similarity index 100% rename from ui/actionbarcompat/ListPopupMenu/src/main/res/layout/list_item.xml rename to ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/res/layout/list_item.xml
diff --git a/ui/actionbarcompat/ListPopupMenu/src/main/res/menu/popup.xml b/ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/res/menu/popup.xml similarity index 100% rename from ui/actionbarcompat/ListPopupMenu/src/main/res/menu/popup.xml rename to ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/res/menu/popup.xml
diff --git a/ui/actionbarcompat/ListPopupMenu/src/main/res/values/strings.xml b/ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/res/values/strings.xml similarity index 100% rename from ui/actionbarcompat/ListPopupMenu/src/main/res/values/strings.xml rename to ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/res/values/strings.xml
diff --git a/ui/actionbarcompat/ListPopupMenu/src/main/src/com/example/android/actionbarcompat/listpopupmenu/Cheeses.java b/ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/src/com/example/android/actionbarcompat/listpopupmenu/Cheeses.java similarity index 100% rename from ui/actionbarcompat/ListPopupMenu/src/main/src/com/example/android/actionbarcompat/listpopupmenu/Cheeses.java rename to ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/src/com/example/android/actionbarcompat/listpopupmenu/Cheeses.java
diff --git a/ui/actionbarcompat/ListPopupMenu/src/main/src/com/example/android/actionbarcompat/listpopupmenu/MainActivity.java b/ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/src/com/example/android/actionbarcompat/listpopupmenu/MainActivity.java similarity index 100% rename from ui/actionbarcompat/ListPopupMenu/src/main/src/com/example/android/actionbarcompat/listpopupmenu/MainActivity.java rename to ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/src/com/example/android/actionbarcompat/listpopupmenu/MainActivity.java
diff --git a/ui/actionbarcompat/ListPopupMenu/src/main/src/com/example/android/actionbarcompat/listpopupmenu/PopupListFragment.java b/ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/src/com/example/android/actionbarcompat/listpopupmenu/PopupListFragment.java similarity index 100% rename from ui/actionbarcompat/ListPopupMenu/src/main/src/com/example/android/actionbarcompat/listpopupmenu/PopupListFragment.java rename to ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/src/com/example/android/actionbarcompat/listpopupmenu/PopupListFragment.java
diff --git a/ui/actionbarcompat/ListPopupMenu/build.gradle b/ui/actionbarcompat/ListPopupMenu/build.gradle index 13f4f48..495c503 100644 --- a/ui/actionbarcompat/ListPopupMenu/build.gradle +++ b/ui/actionbarcompat/ListPopupMenu/build.gradle
@@ -1,19 +1 @@ -buildscript { - repositories { - mavenCentral() - } - dependencies { - classpath 'com.android.tools.build:gradle:0.5.+' - } -} -apply plugin: 'android' - -dependencies { - compile "com.android.support:support-v4:18.0.+" - compile "com.android.support:appcompat-v7:18.0.+" -} - -android { - compileSdkVersion 17 - buildToolsVersion "17.0.0" -} +// Top-level build file where you can add configuration options common to all sub-projects/modules.
diff --git a/ui/actionbarcompat/ListPopupMenu/settings.gradle b/ui/actionbarcompat/ListPopupMenu/settings.gradle new file mode 100644 index 0000000..b354d69 --- /dev/null +++ b/ui/actionbarcompat/ListPopupMenu/settings.gradle
@@ -0,0 +1 @@ +include ':ListPopupMenu'