diff options
438 files changed, 537 insertions, 85 deletions
diff --git a/samples/browseable/ActionBarCompat-Basic/_index.jd b/samples/browseable/ActionBarCompat-Basic/_index.jd index 0d3a2d878..5219ee670 100644 --- a/samples/browseable/ActionBarCompat-Basic/_index.jd +++ b/samples/browseable/ActionBarCompat-Basic/_index.jd @@ -1,3 +1,4 @@ + page.tags="ActionBarCompat-Basic" sample.group=UI @jd:body diff --git a/samples/browseable/ActionBarCompat-Basic/res/values-v21/base-colors.xml b/samples/browseable/ActionBarCompat-Basic/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/ActionBarCompat-Basic/res/values-v21/base-colors.xml +++ b/samples/browseable/ActionBarCompat-Basic/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/ActionBarCompat-Basic/res/values-v21/base-template-styles.xml b/samples/browseable/ActionBarCompat-Basic/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/ActionBarCompat-Basic/res/values-v21/base-template-styles.xml +++ b/samples/browseable/ActionBarCompat-Basic/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/ActionBarCompat-Basic/res/values/base-strings.xml b/samples/browseable/ActionBarCompat-Basic/res/values/base-strings.xml index 18f71a67d..4ec4a82bc 100644 --- a/samples/browseable/ActionBarCompat-Basic/res/values/base-strings.xml +++ b/samples/browseable/ActionBarCompat-Basic/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">ActionBarCompat-Basic</string> <string name="intro_message"> diff --git a/samples/browseable/ActionBarCompat-ListPopupMenu/_index.jd b/samples/browseable/ActionBarCompat-ListPopupMenu/_index.jd index 8696da2ff..d1042de4e 100644 --- a/samples/browseable/ActionBarCompat-ListPopupMenu/_index.jd +++ b/samples/browseable/ActionBarCompat-ListPopupMenu/_index.jd @@ -1,3 +1,4 @@ + page.tags="ActionBarCompat-ListPopupMenu" sample.group=UI @jd:body diff --git a/samples/browseable/ActionBarCompat-ListPopupMenu/res/values-v21/base-colors.xml b/samples/browseable/ActionBarCompat-ListPopupMenu/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/ActionBarCompat-ListPopupMenu/res/values-v21/base-colors.xml +++ b/samples/browseable/ActionBarCompat-ListPopupMenu/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/ActionBarCompat-ListPopupMenu/res/values-v21/base-template-styles.xml b/samples/browseable/ActionBarCompat-ListPopupMenu/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/ActionBarCompat-ListPopupMenu/res/values-v21/base-template-styles.xml +++ b/samples/browseable/ActionBarCompat-ListPopupMenu/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/ActionBarCompat-ListPopupMenu/res/values/base-strings.xml b/samples/browseable/ActionBarCompat-ListPopupMenu/res/values/base-strings.xml index db43f8c6c..21359bb6a 100644 --- a/samples/browseable/ActionBarCompat-ListPopupMenu/res/values/base-strings.xml +++ b/samples/browseable/ActionBarCompat-ListPopupMenu/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">ActionBarCompat-ListPopupMenu</string> <string name="intro_message"> diff --git a/samples/browseable/ActionBarCompat-ShareActionProvider/_index.jd b/samples/browseable/ActionBarCompat-ShareActionProvider/_index.jd index 6752a39a4..d9df53688 100644 --- a/samples/browseable/ActionBarCompat-ShareActionProvider/_index.jd +++ b/samples/browseable/ActionBarCompat-ShareActionProvider/_index.jd @@ -1,3 +1,4 @@ + page.tags="ActionBarCompat-ShareActionProvider" sample.group=UI @jd:body diff --git a/samples/browseable/ActionBarCompat-ShareActionProvider/res/values-v21/base-colors.xml b/samples/browseable/ActionBarCompat-ShareActionProvider/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/ActionBarCompat-ShareActionProvider/res/values-v21/base-colors.xml +++ b/samples/browseable/ActionBarCompat-ShareActionProvider/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/ActionBarCompat-ShareActionProvider/res/values-v21/base-template-styles.xml b/samples/browseable/ActionBarCompat-ShareActionProvider/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/ActionBarCompat-ShareActionProvider/res/values-v21/base-template-styles.xml +++ b/samples/browseable/ActionBarCompat-ShareActionProvider/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/ActionBarCompat-ShareActionProvider/res/values/base-strings.xml b/samples/browseable/ActionBarCompat-ShareActionProvider/res/values/base-strings.xml index 2e0aae49d..21d17e4f5 100644 --- a/samples/browseable/ActionBarCompat-ShareActionProvider/res/values/base-strings.xml +++ b/samples/browseable/ActionBarCompat-ShareActionProvider/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">ActionBarCompat-ShareActionProvider</string> <string name="intro_message"> diff --git a/samples/browseable/ActionBarCompat-Styled/_index.jd b/samples/browseable/ActionBarCompat-Styled/_index.jd index f2f3b3c33..898957aae 100644 --- a/samples/browseable/ActionBarCompat-Styled/_index.jd +++ b/samples/browseable/ActionBarCompat-Styled/_index.jd @@ -1,3 +1,4 @@ + page.tags="ActionBarCompat-Styled" sample.group=UI @jd:body diff --git a/samples/browseable/ActionBarCompat-Styled/res/values-v21/base-colors.xml b/samples/browseable/ActionBarCompat-Styled/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/ActionBarCompat-Styled/res/values-v21/base-colors.xml +++ b/samples/browseable/ActionBarCompat-Styled/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/ActionBarCompat-Styled/res/values-v21/base-template-styles.xml b/samples/browseable/ActionBarCompat-Styled/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/ActionBarCompat-Styled/res/values-v21/base-template-styles.xml +++ b/samples/browseable/ActionBarCompat-Styled/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/ActionBarCompat-Styled/res/values/base-strings.xml b/samples/browseable/ActionBarCompat-Styled/res/values/base-strings.xml index 324726d76..7e5940479 100644 --- a/samples/browseable/ActionBarCompat-Styled/res/values/base-strings.xml +++ b/samples/browseable/ActionBarCompat-Styled/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">ActionBarCompat-Styled</string> <string name="intro_message"> diff --git a/samples/browseable/ActivityInstrumentation/_index.jd b/samples/browseable/ActivityInstrumentation/_index.jd index 77f1e2479..c492b1e09 100644 --- a/samples/browseable/ActivityInstrumentation/_index.jd +++ b/samples/browseable/ActivityInstrumentation/_index.jd @@ -1,3 +1,4 @@ + page.tags="ActivityInstrumentation" sample.group=Testing @jd:body diff --git a/samples/browseable/ActivityInstrumentation/res/values-v21/base-colors.xml b/samples/browseable/ActivityInstrumentation/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/ActivityInstrumentation/res/values-v21/base-colors.xml +++ b/samples/browseable/ActivityInstrumentation/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/ActivityInstrumentation/res/values-v21/base-template-styles.xml b/samples/browseable/ActivityInstrumentation/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/ActivityInstrumentation/res/values-v21/base-template-styles.xml +++ b/samples/browseable/ActivityInstrumentation/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/ActivityInstrumentation/res/values/base-strings.xml b/samples/browseable/ActivityInstrumentation/res/values/base-strings.xml index 2b3f65692..222cf4cff 100644 --- a/samples/browseable/ActivityInstrumentation/res/values/base-strings.xml +++ b/samples/browseable/ActivityInstrumentation/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">ActivityInstrumentation</string> <string name="intro_message"> diff --git a/samples/browseable/ActivitySceneTransitionBasic/_index.jd b/samples/browseable/ActivitySceneTransitionBasic/_index.jd index fd2e0c79d..3fc20c491 100644 --- a/samples/browseable/ActivitySceneTransitionBasic/_index.jd +++ b/samples/browseable/ActivitySceneTransitionBasic/_index.jd @@ -1,3 +1,4 @@ + page.tags="ActivitySceneTransitionBasic" sample.group=UI @jd:body diff --git a/samples/browseable/ActivitySceneTransitionBasic/res/values-v21/base-colors.xml b/samples/browseable/ActivitySceneTransitionBasic/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/ActivitySceneTransitionBasic/res/values-v21/base-colors.xml +++ b/samples/browseable/ActivitySceneTransitionBasic/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/ActivitySceneTransitionBasic/res/values-v21/base-template-styles.xml b/samples/browseable/ActivitySceneTransitionBasic/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/ActivitySceneTransitionBasic/res/values-v21/base-template-styles.xml +++ b/samples/browseable/ActivitySceneTransitionBasic/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/ActivitySceneTransitionBasic/res/values/base-strings.xml b/samples/browseable/ActivitySceneTransitionBasic/res/values/base-strings.xml index 35860cb2d..ed260a572 100644 --- a/samples/browseable/ActivitySceneTransitionBasic/res/values/base-strings.xml +++ b/samples/browseable/ActivitySceneTransitionBasic/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">ActivitySceneTransitionBasic</string> <string name="intro_message"> diff --git a/samples/browseable/AdvancedImmersiveMode/_index.jd b/samples/browseable/AdvancedImmersiveMode/_index.jd index ee91eb7e3..962d50748 100644 --- a/samples/browseable/AdvancedImmersiveMode/_index.jd +++ b/samples/browseable/AdvancedImmersiveMode/_index.jd @@ -1,3 +1,4 @@ + page.tags="AdvancedImmersiveMode" sample.group=UI @jd:body diff --git a/samples/browseable/AdvancedImmersiveMode/res/values-v21/base-colors.xml b/samples/browseable/AdvancedImmersiveMode/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/AdvancedImmersiveMode/res/values-v21/base-colors.xml +++ b/samples/browseable/AdvancedImmersiveMode/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/AdvancedImmersiveMode/res/values-v21/base-template-styles.xml b/samples/browseable/AdvancedImmersiveMode/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/AdvancedImmersiveMode/res/values-v21/base-template-styles.xml +++ b/samples/browseable/AdvancedImmersiveMode/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/AdvancedImmersiveMode/res/values/base-strings.xml b/samples/browseable/AdvancedImmersiveMode/res/values/base-strings.xml index b1c7f5e87..8c99a3392 100644 --- a/samples/browseable/AdvancedImmersiveMode/res/values/base-strings.xml +++ b/samples/browseable/AdvancedImmersiveMode/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">AdvancedImmersiveMode</string> <string name="intro_message"> diff --git a/samples/browseable/AdvancedImmersiveMode/src/com.example.android.advancedimmersivemode/MainActivity.java b/samples/browseable/AdvancedImmersiveMode/src/com.example.android.advancedimmersivemode/MainActivity.java index 4fc40afa7..476c474f3 100644 --- a/samples/browseable/AdvancedImmersiveMode/src/com.example.android.advancedimmersivemode/MainActivity.java +++ b/samples/browseable/AdvancedImmersiveMode/src/com.example.android.advancedimmersivemode/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.advancedimmersivemode; import android.os.Bundle; diff --git a/samples/browseable/AgendaData/Application/res/values-v21/base-colors.xml b/samples/browseable/AgendaData/Application/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/AgendaData/Application/res/values-v21/base-colors.xml +++ b/samples/browseable/AgendaData/Application/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/AgendaData/Application/res/values-v21/base-template-styles.xml b/samples/browseable/AgendaData/Application/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/AgendaData/Application/res/values-v21/base-template-styles.xml +++ b/samples/browseable/AgendaData/Application/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/AgendaData/Application/res/values/base-strings.xml b/samples/browseable/AgendaData/Application/res/values/base-strings.xml index 7f057a01d..acc40cf94 100644 --- a/samples/browseable/AgendaData/Application/res/values/base-strings.xml +++ b/samples/browseable/AgendaData/Application/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">AgendaData</string> <string name="intro_message"> diff --git a/samples/browseable/AgendaData/_index.jd b/samples/browseable/AgendaData/_index.jd index 7586b50ef..9ae7d1007 100644 --- a/samples/browseable/AgendaData/_index.jd +++ b/samples/browseable/AgendaData/_index.jd @@ -1,3 +1,4 @@ + page.tags="AgendaData" sample.group=Wearable @jd:body diff --git a/samples/browseable/AlwaysOn/_index.jd b/samples/browseable/AlwaysOn/_index.jd index b6057821b..f68853f59 100644 --- a/samples/browseable/AlwaysOn/_index.jd +++ b/samples/browseable/AlwaysOn/_index.jd @@ -1,3 +1,4 @@ + page.tags="AlwaysOn" sample.group=Wearable @jd:body diff --git a/samples/browseable/AppRestrictionEnforcer/_index.jd b/samples/browseable/AppRestrictionEnforcer/_index.jd index f25084a06..ec7be7ccf 100644 --- a/samples/browseable/AppRestrictionEnforcer/_index.jd +++ b/samples/browseable/AppRestrictionEnforcer/_index.jd @@ -1,3 +1,4 @@ + page.tags="AppRestrictionEnforcer" sample.group=Admin @jd:body diff --git a/samples/browseable/AppRestrictionEnforcer/res/values-v21/base-colors.xml b/samples/browseable/AppRestrictionEnforcer/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/AppRestrictionEnforcer/res/values-v21/base-colors.xml +++ b/samples/browseable/AppRestrictionEnforcer/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/AppRestrictionEnforcer/res/values-v21/base-template-styles.xml b/samples/browseable/AppRestrictionEnforcer/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/AppRestrictionEnforcer/res/values-v21/base-template-styles.xml +++ b/samples/browseable/AppRestrictionEnforcer/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/AppRestrictionEnforcer/res/values/base-strings.xml b/samples/browseable/AppRestrictionEnforcer/res/values/base-strings.xml index 1dc6cf956..dbf51bdf6 100644 --- a/samples/browseable/AppRestrictionEnforcer/res/values/base-strings.xml +++ b/samples/browseable/AppRestrictionEnforcer/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">AppRestrictionEnforcer</string> <string name="intro_message"> diff --git a/samples/browseable/AppRestrictionSchema/_index.jd b/samples/browseable/AppRestrictionSchema/_index.jd index 9378c1ac7..4b46cc549 100644 --- a/samples/browseable/AppRestrictionSchema/_index.jd +++ b/samples/browseable/AppRestrictionSchema/_index.jd @@ -1,3 +1,4 @@ + page.tags="AppRestrictionSchema" sample.group=Admin @jd:body diff --git a/samples/browseable/AppRestrictionSchema/res/values-v21/base-colors.xml b/samples/browseable/AppRestrictionSchema/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/AppRestrictionSchema/res/values-v21/base-colors.xml +++ b/samples/browseable/AppRestrictionSchema/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/AppRestrictionSchema/res/values-v21/base-template-styles.xml b/samples/browseable/AppRestrictionSchema/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/AppRestrictionSchema/res/values-v21/base-template-styles.xml +++ b/samples/browseable/AppRestrictionSchema/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/AppRestrictionSchema/res/values/base-strings.xml b/samples/browseable/AppRestrictionSchema/res/values/base-strings.xml index 78a396677..f775394de 100644 --- a/samples/browseable/AppRestrictionSchema/res/values/base-strings.xml +++ b/samples/browseable/AppRestrictionSchema/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">AppRestrictionSchema</string> <string name="intro_message"> diff --git a/samples/browseable/AppRestrictionSchema/src/com.example.android.apprestrictionschema/MainActivity.java b/samples/browseable/AppRestrictionSchema/src/com.example.android.apprestrictionschema/MainActivity.java index be04a62e7..2c6269f17 100644 --- a/samples/browseable/AppRestrictionSchema/src/com.example.android.apprestrictionschema/MainActivity.java +++ b/samples/browseable/AppRestrictionSchema/src/com.example.android.apprestrictionschema/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.apprestrictionschema; import android.os.Bundle; diff --git a/samples/browseable/AppRestrictions/_index.jd b/samples/browseable/AppRestrictions/_index.jd index e0c8b2df8..0acbfd8d7 100644 --- a/samples/browseable/AppRestrictions/_index.jd +++ b/samples/browseable/AppRestrictions/_index.jd @@ -1,3 +1,4 @@ + page.tags="AppRestrictions" sample.group=Content @jd:body diff --git a/samples/browseable/AppRestrictions/res/values-v21/base-colors.xml b/samples/browseable/AppRestrictions/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/AppRestrictions/res/values-v21/base-colors.xml +++ b/samples/browseable/AppRestrictions/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/AppRestrictions/res/values-v21/base-template-styles.xml b/samples/browseable/AppRestrictions/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/AppRestrictions/res/values-v21/base-template-styles.xml +++ b/samples/browseable/AppRestrictions/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/AppRestrictions/res/values/base-strings.xml b/samples/browseable/AppRestrictions/res/values/base-strings.xml index d90326c59..92cc872bb 100644 --- a/samples/browseable/AppRestrictions/res/values/base-strings.xml +++ b/samples/browseable/AppRestrictions/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">AppRestrictions</string> <string name="intro_message"> diff --git a/samples/browseable/AppUsageStatistics/_index.jd b/samples/browseable/AppUsageStatistics/_index.jd index ee88115a6..7a75c60c8 100644 --- a/samples/browseable/AppUsageStatistics/_index.jd +++ b/samples/browseable/AppUsageStatistics/_index.jd @@ -1,3 +1,4 @@ + page.tags="AppUsageStatistics" sample.group=System @jd:body diff --git a/samples/browseable/AppUsageStatistics/res/values-v21/base-colors.xml b/samples/browseable/AppUsageStatistics/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/AppUsageStatistics/res/values-v21/base-colors.xml +++ b/samples/browseable/AppUsageStatistics/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/AppUsageStatistics/res/values-v21/base-template-styles.xml b/samples/browseable/AppUsageStatistics/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/AppUsageStatistics/res/values-v21/base-template-styles.xml +++ b/samples/browseable/AppUsageStatistics/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/AppUsageStatistics/res/values/base-strings.xml b/samples/browseable/AppUsageStatistics/res/values/base-strings.xml index 9a92da8c4..762b923ea 100644 --- a/samples/browseable/AppUsageStatistics/res/values/base-strings.xml +++ b/samples/browseable/AppUsageStatistics/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">AppUsageStatistics</string> <string name="intro_message"> diff --git a/samples/browseable/BasicAccessibility/_index.jd b/samples/browseable/BasicAccessibility/_index.jd index 91c34ec21..830f17e94 100644 --- a/samples/browseable/BasicAccessibility/_index.jd +++ b/samples/browseable/BasicAccessibility/_index.jd @@ -1,3 +1,4 @@ + page.tags="BasicAccessibility" sample.group=UI @jd:body diff --git a/samples/browseable/BasicAccessibility/res/values-v21/base-colors.xml b/samples/browseable/BasicAccessibility/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/BasicAccessibility/res/values-v21/base-colors.xml +++ b/samples/browseable/BasicAccessibility/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/BasicAccessibility/res/values-v21/base-template-styles.xml b/samples/browseable/BasicAccessibility/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/BasicAccessibility/res/values-v21/base-template-styles.xml +++ b/samples/browseable/BasicAccessibility/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/BasicAccessibility/res/values/base-strings.xml b/samples/browseable/BasicAccessibility/res/values/base-strings.xml index ac4db70ad..0e707b236 100644 --- a/samples/browseable/BasicAccessibility/res/values/base-strings.xml +++ b/samples/browseable/BasicAccessibility/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">BasicAccessibility</string> <string name="intro_message"> diff --git a/samples/browseable/BasicAndroidKeyStore/_index.jd b/samples/browseable/BasicAndroidKeyStore/_index.jd index 5eedee8fa..d82d78549 100644 --- a/samples/browseable/BasicAndroidKeyStore/_index.jd +++ b/samples/browseable/BasicAndroidKeyStore/_index.jd @@ -1,3 +1,4 @@ + page.tags="BasicAndroidKeyStore" sample.group=Security @jd:body diff --git a/samples/browseable/BasicAndroidKeyStore/res/values-v21/base-colors.xml b/samples/browseable/BasicAndroidKeyStore/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/BasicAndroidKeyStore/res/values-v21/base-colors.xml +++ b/samples/browseable/BasicAndroidKeyStore/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/BasicAndroidKeyStore/res/values-v21/base-template-styles.xml b/samples/browseable/BasicAndroidKeyStore/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/BasicAndroidKeyStore/res/values-v21/base-template-styles.xml +++ b/samples/browseable/BasicAndroidKeyStore/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/BasicAndroidKeyStore/res/values/base-strings.xml b/samples/browseable/BasicAndroidKeyStore/res/values/base-strings.xml index 7a83818c1..8b4e37092 100644 --- a/samples/browseable/BasicAndroidKeyStore/res/values/base-strings.xml +++ b/samples/browseable/BasicAndroidKeyStore/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">BasicAndroidKeyStore</string> <string name="intro_message"> diff --git a/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/MainActivity.java b/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/MainActivity.java index f322af57f..754662bc4 100644 --- a/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/MainActivity.java +++ b/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.basicandroidkeystore; import android.graphics.Color; diff --git a/samples/browseable/BasicContactables/_index.jd b/samples/browseable/BasicContactables/_index.jd index 8a0a506a3..0beae6c68 100644 --- a/samples/browseable/BasicContactables/_index.jd +++ b/samples/browseable/BasicContactables/_index.jd @@ -1,3 +1,4 @@ + page.tags="BasicContactables" sample.group=Content @jd:body diff --git a/samples/browseable/BasicContactables/res/values-v21/base-colors.xml b/samples/browseable/BasicContactables/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/BasicContactables/res/values-v21/base-colors.xml +++ b/samples/browseable/BasicContactables/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/BasicContactables/res/values-v21/base-template-styles.xml b/samples/browseable/BasicContactables/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/BasicContactables/res/values-v21/base-template-styles.xml +++ b/samples/browseable/BasicContactables/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/BasicContactables/res/values/base-strings.xml b/samples/browseable/BasicContactables/res/values/base-strings.xml index acbaaf5d4..d77a7cb17 100644 --- a/samples/browseable/BasicContactables/res/values/base-strings.xml +++ b/samples/browseable/BasicContactables/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">BasicContactables</string> <string name="intro_message"> diff --git a/samples/browseable/BasicGestureDetect/_index.jd b/samples/browseable/BasicGestureDetect/_index.jd index 1e5d0d26c..77b02d79b 100644 --- a/samples/browseable/BasicGestureDetect/_index.jd +++ b/samples/browseable/BasicGestureDetect/_index.jd @@ -1,3 +1,4 @@ + page.tags="BasicGestureDetect" sample.group=Input @jd:body diff --git a/samples/browseable/BasicGestureDetect/res/values-v21/base-colors.xml b/samples/browseable/BasicGestureDetect/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/BasicGestureDetect/res/values-v21/base-colors.xml +++ b/samples/browseable/BasicGestureDetect/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/BasicGestureDetect/res/values-v21/base-template-styles.xml b/samples/browseable/BasicGestureDetect/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/BasicGestureDetect/res/values-v21/base-template-styles.xml +++ b/samples/browseable/BasicGestureDetect/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/BasicGestureDetect/res/values/base-strings.xml b/samples/browseable/BasicGestureDetect/res/values/base-strings.xml index 8b96af7a1..63e73d1b7 100644 --- a/samples/browseable/BasicGestureDetect/res/values/base-strings.xml +++ b/samples/browseable/BasicGestureDetect/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">BasicGestureDetect</string> <string name="intro_message"> diff --git a/samples/browseable/BasicGestureDetect/res/values/strings.xml b/samples/browseable/BasicGestureDetect/res/values/strings.xml index 826d90f15..004a143cd 100644 --- a/samples/browseable/BasicGestureDetect/res/values/strings.xml +++ b/samples/browseable/BasicGestureDetect/res/values/strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="sample_action">Clear Text</string> </resources> diff --git a/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/MainActivity.java b/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/MainActivity.java index 57d935447..7f540b7fe 100644 --- a/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/MainActivity.java +++ b/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.basicgesturedetect; import android.graphics.Color; diff --git a/samples/browseable/BasicImmersiveMode/_index.jd b/samples/browseable/BasicImmersiveMode/_index.jd index 15298470c..091adf875 100644 --- a/samples/browseable/BasicImmersiveMode/_index.jd +++ b/samples/browseable/BasicImmersiveMode/_index.jd @@ -1,3 +1,4 @@ + page.tags="BasicImmersiveMode" sample.group=UI @jd:body diff --git a/samples/browseable/BasicImmersiveMode/res/values-v21/base-colors.xml b/samples/browseable/BasicImmersiveMode/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/BasicImmersiveMode/res/values-v21/base-colors.xml +++ b/samples/browseable/BasicImmersiveMode/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/BasicImmersiveMode/res/values-v21/base-template-styles.xml b/samples/browseable/BasicImmersiveMode/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/BasicImmersiveMode/res/values-v21/base-template-styles.xml +++ b/samples/browseable/BasicImmersiveMode/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/BasicImmersiveMode/res/values/base-strings.xml b/samples/browseable/BasicImmersiveMode/res/values/base-strings.xml index 46ee0f5d3..fb776cec7 100644 --- a/samples/browseable/BasicImmersiveMode/res/values/base-strings.xml +++ b/samples/browseable/BasicImmersiveMode/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">BasicImmersiveMode</string> <string name="intro_message"> diff --git a/samples/browseable/BasicImmersiveMode/res/values/strings.xml b/samples/browseable/BasicImmersiveMode/res/values/strings.xml index dc12528d2..d462fc3eb 100644 --- a/samples/browseable/BasicImmersiveMode/res/values/strings.xml +++ b/samples/browseable/BasicImmersiveMode/res/values/strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="sample_action">Toggle Immersive Mode!</string> </resources> diff --git a/samples/browseable/BasicImmersiveMode/src/com.example.android.basicimmersivemode/MainActivity.java b/samples/browseable/BasicImmersiveMode/src/com.example.android.basicimmersivemode/MainActivity.java index 5ffe90295..180247ec1 100644 --- a/samples/browseable/BasicImmersiveMode/src/com.example.android.basicimmersivemode/MainActivity.java +++ b/samples/browseable/BasicImmersiveMode/src/com.example.android.basicimmersivemode/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.basicimmersivemode; import android.graphics.Color; diff --git a/samples/browseable/BasicManagedProfile/_index.jd b/samples/browseable/BasicManagedProfile/_index.jd index 0aa07ea7d..1522a912c 100644 --- a/samples/browseable/BasicManagedProfile/_index.jd +++ b/samples/browseable/BasicManagedProfile/_index.jd @@ -1,3 +1,4 @@ + page.tags="BasicManagedProfile" sample.group=Admin @jd:body diff --git a/samples/browseable/BasicManagedProfile/res/values-v21/base-colors.xml b/samples/browseable/BasicManagedProfile/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/BasicManagedProfile/res/values-v21/base-colors.xml +++ b/samples/browseable/BasicManagedProfile/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/BasicManagedProfile/res/values-v21/base-template-styles.xml b/samples/browseable/BasicManagedProfile/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/BasicManagedProfile/res/values-v21/base-template-styles.xml +++ b/samples/browseable/BasicManagedProfile/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/BasicManagedProfile/res/values/base-strings.xml b/samples/browseable/BasicManagedProfile/res/values/base-strings.xml index f66ab5a75..97063bc3a 100644 --- a/samples/browseable/BasicManagedProfile/res/values/base-strings.xml +++ b/samples/browseable/BasicManagedProfile/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">BasicManagedProfile</string> <string name="intro_message"> diff --git a/samples/browseable/BasicMediaDecoder/_index.jd b/samples/browseable/BasicMediaDecoder/_index.jd index 769d8a666..ee3f32801 100644 --- a/samples/browseable/BasicMediaDecoder/_index.jd +++ b/samples/browseable/BasicMediaDecoder/_index.jd @@ -1,3 +1,4 @@ + page.tags="BasicMediaDecoder" sample.group=Media @jd:body diff --git a/samples/browseable/BasicMediaDecoder/res/values-v21/base-colors.xml b/samples/browseable/BasicMediaDecoder/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/BasicMediaDecoder/res/values-v21/base-colors.xml +++ b/samples/browseable/BasicMediaDecoder/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/BasicMediaDecoder/res/values-v21/base-template-styles.xml b/samples/browseable/BasicMediaDecoder/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/BasicMediaDecoder/res/values-v21/base-template-styles.xml +++ b/samples/browseable/BasicMediaDecoder/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/BasicMediaDecoder/res/values/base-strings.xml b/samples/browseable/BasicMediaDecoder/res/values/base-strings.xml index 73405222b..e7a53511a 100644 --- a/samples/browseable/BasicMediaDecoder/res/values/base-strings.xml +++ b/samples/browseable/BasicMediaDecoder/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">BasicMediaDecoder</string> <string name="intro_message"> diff --git a/samples/browseable/BasicMediaRouter/_index.jd b/samples/browseable/BasicMediaRouter/_index.jd index 9d2f3f5b9..ec165f6bf 100644 --- a/samples/browseable/BasicMediaRouter/_index.jd +++ b/samples/browseable/BasicMediaRouter/_index.jd @@ -1,3 +1,4 @@ + page.tags="BasicMediaRouter" sample.group=Media @jd:body diff --git a/samples/browseable/BasicMediaRouter/res/values-v21/base-colors.xml b/samples/browseable/BasicMediaRouter/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/BasicMediaRouter/res/values-v21/base-colors.xml +++ b/samples/browseable/BasicMediaRouter/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/BasicMediaRouter/res/values-v21/base-template-styles.xml b/samples/browseable/BasicMediaRouter/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/BasicMediaRouter/res/values-v21/base-template-styles.xml +++ b/samples/browseable/BasicMediaRouter/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/BasicMediaRouter/res/values/base-strings.xml b/samples/browseable/BasicMediaRouter/res/values/base-strings.xml index 6f16407f3..8ed08ebd8 100644 --- a/samples/browseable/BasicMediaRouter/res/values/base-strings.xml +++ b/samples/browseable/BasicMediaRouter/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">BasicMediaRouter</string> <string name="intro_message"> diff --git a/samples/browseable/BasicMultitouch/_index.jd b/samples/browseable/BasicMultitouch/_index.jd index 187017a2a..10bbcaeb3 100644 --- a/samples/browseable/BasicMultitouch/_index.jd +++ b/samples/browseable/BasicMultitouch/_index.jd @@ -1,3 +1,4 @@ + page.tags="BasicMultitouch" sample.group=Input @jd:body diff --git a/samples/browseable/BasicMultitouch/res/values-v21/base-colors.xml b/samples/browseable/BasicMultitouch/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/BasicMultitouch/res/values-v21/base-colors.xml +++ b/samples/browseable/BasicMultitouch/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/BasicMultitouch/res/values-v21/base-template-styles.xml b/samples/browseable/BasicMultitouch/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/BasicMultitouch/res/values-v21/base-template-styles.xml +++ b/samples/browseable/BasicMultitouch/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/BasicMultitouch/res/values/base-strings.xml b/samples/browseable/BasicMultitouch/res/values/base-strings.xml index a5ab6f528..3746a42ef 100644 --- a/samples/browseable/BasicMultitouch/res/values/base-strings.xml +++ b/samples/browseable/BasicMultitouch/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">BasicMultitouch</string> <string name="intro_message"> diff --git a/samples/browseable/BasicNetworking/_index.jd b/samples/browseable/BasicNetworking/_index.jd index 3d17e0ad6..1756dc9b6 100644 --- a/samples/browseable/BasicNetworking/_index.jd +++ b/samples/browseable/BasicNetworking/_index.jd @@ -1,3 +1,4 @@ + page.tags="BasicNetworking" sample.group=Connectivity @jd:body diff --git a/samples/browseable/BasicNetworking/res/values-v21/base-colors.xml b/samples/browseable/BasicNetworking/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/BasicNetworking/res/values-v21/base-colors.xml +++ b/samples/browseable/BasicNetworking/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/BasicNetworking/res/values-v21/base-template-styles.xml b/samples/browseable/BasicNetworking/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/BasicNetworking/res/values-v21/base-template-styles.xml +++ b/samples/browseable/BasicNetworking/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/BasicNetworking/res/values/base-strings.xml b/samples/browseable/BasicNetworking/res/values/base-strings.xml index ddd695f95..c8e777d98 100644 --- a/samples/browseable/BasicNetworking/res/values/base-strings.xml +++ b/samples/browseable/BasicNetworking/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">BasicNetworking</string> <string name="intro_message"> diff --git a/samples/browseable/BasicNotifications/_index.jd b/samples/browseable/BasicNotifications/_index.jd index d34b8fbc0..2382567c1 100644 --- a/samples/browseable/BasicNotifications/_index.jd +++ b/samples/browseable/BasicNotifications/_index.jd @@ -1,3 +1,4 @@ + page.tags="BasicNotifications" sample.group=Notification @jd:body diff --git a/samples/browseable/BasicNotifications/res/values-v21/base-colors.xml b/samples/browseable/BasicNotifications/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/BasicNotifications/res/values-v21/base-colors.xml +++ b/samples/browseable/BasicNotifications/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/BasicNotifications/res/values-v21/base-template-styles.xml b/samples/browseable/BasicNotifications/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/BasicNotifications/res/values-v21/base-template-styles.xml +++ b/samples/browseable/BasicNotifications/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/BasicNotifications/res/values/base-strings.xml b/samples/browseable/BasicNotifications/res/values/base-strings.xml index 87f5bf0c9..bf7e1eb91 100644 --- a/samples/browseable/BasicNotifications/res/values/base-strings.xml +++ b/samples/browseable/BasicNotifications/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">BasicNotifications</string> <string name="intro_message"> diff --git a/samples/browseable/BasicRenderScript/_index.jd b/samples/browseable/BasicRenderScript/_index.jd index 3e6c62f9a..9da15e551 100644 --- a/samples/browseable/BasicRenderScript/_index.jd +++ b/samples/browseable/BasicRenderScript/_index.jd @@ -1,3 +1,4 @@ + page.tags="BasicRenderScript" sample.group=RenderScript @jd:body diff --git a/samples/browseable/BasicRenderScript/res/values-v21/base-colors.xml b/samples/browseable/BasicRenderScript/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/BasicRenderScript/res/values-v21/base-colors.xml +++ b/samples/browseable/BasicRenderScript/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/BasicRenderScript/res/values-v21/base-template-styles.xml b/samples/browseable/BasicRenderScript/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/BasicRenderScript/res/values-v21/base-template-styles.xml +++ b/samples/browseable/BasicRenderScript/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/BasicRenderScript/res/values/base-strings.xml b/samples/browseable/BasicRenderScript/res/values/base-strings.xml index 93a739137..64374ea38 100644 --- a/samples/browseable/BasicRenderScript/res/values/base-strings.xml +++ b/samples/browseable/BasicRenderScript/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">BasicRenderScript</string> <string name="intro_message"> diff --git a/samples/browseable/BasicSyncAdapter/_index.jd b/samples/browseable/BasicSyncAdapter/_index.jd index a079768e9..e15944714 100644 --- a/samples/browseable/BasicSyncAdapter/_index.jd +++ b/samples/browseable/BasicSyncAdapter/_index.jd @@ -1,3 +1,4 @@ + page.tags="BasicSyncAdapter" sample.group=Connectivity @jd:body diff --git a/samples/browseable/BasicSyncAdapter/res/values-v21/base-colors.xml b/samples/browseable/BasicSyncAdapter/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/BasicSyncAdapter/res/values-v21/base-colors.xml +++ b/samples/browseable/BasicSyncAdapter/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/BasicSyncAdapter/res/values-v21/base-template-styles.xml b/samples/browseable/BasicSyncAdapter/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/BasicSyncAdapter/res/values-v21/base-template-styles.xml +++ b/samples/browseable/BasicSyncAdapter/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/BasicSyncAdapter/res/values/base-strings.xml b/samples/browseable/BasicSyncAdapter/res/values/base-strings.xml index 849d026e7..6a85060f4 100644 --- a/samples/browseable/BasicSyncAdapter/res/values/base-strings.xml +++ b/samples/browseable/BasicSyncAdapter/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">BasicSyncAdapter</string> <string name="intro_message"> diff --git a/samples/browseable/BasicTransition/_index.jd b/samples/browseable/BasicTransition/_index.jd index 16415f685..3be179df0 100644 --- a/samples/browseable/BasicTransition/_index.jd +++ b/samples/browseable/BasicTransition/_index.jd @@ -1,3 +1,4 @@ + page.tags="BasicTransition" sample.group=UI @jd:body diff --git a/samples/browseable/BasicTransition/res/values-v21/base-colors.xml b/samples/browseable/BasicTransition/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/BasicTransition/res/values-v21/base-colors.xml +++ b/samples/browseable/BasicTransition/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/BasicTransition/res/values-v21/base-template-styles.xml b/samples/browseable/BasicTransition/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/BasicTransition/res/values-v21/base-template-styles.xml +++ b/samples/browseable/BasicTransition/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/BasicTransition/res/values/base-strings.xml b/samples/browseable/BasicTransition/res/values/base-strings.xml index d14eb5465..5ace28034 100644 --- a/samples/browseable/BasicTransition/res/values/base-strings.xml +++ b/samples/browseable/BasicTransition/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">BasicTransition</string> <string name="intro_message"> diff --git a/samples/browseable/BasicTransition/src/com.example.android.basictransition/MainActivity.java b/samples/browseable/BasicTransition/src/com.example.android.basictransition/MainActivity.java index 7eeac2e6d..794541812 100644 --- a/samples/browseable/BasicTransition/src/com.example.android.basictransition/MainActivity.java +++ b/samples/browseable/BasicTransition/src/com.example.android.basictransition/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.basictransition; import android.os.Bundle; diff --git a/samples/browseable/BatchStepSensor/_index.jd b/samples/browseable/BatchStepSensor/_index.jd index 9a4f0b02e..cd479b46d 100644 --- a/samples/browseable/BatchStepSensor/_index.jd +++ b/samples/browseable/BatchStepSensor/_index.jd @@ -1,3 +1,4 @@ + page.tags="BatchStepSensor" sample.group=Sensors @jd:body diff --git a/samples/browseable/BatchStepSensor/res/layout/activity_main.xml b/samples/browseable/BatchStepSensor/res/layout/activity_main.xml index a3c1fa9d0..811129d6d 100644 --- a/samples/browseable/BatchStepSensor/res/layout/activity_main.xml +++ b/samples/browseable/BatchStepSensor/res/layout/activity_main.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <fragment android:id="@+id/fragment_cardstream" android:name="com.example.android.batchstepsensor.cardstream.CardStreamFragment" diff --git a/samples/browseable/BatchStepSensor/res/layout/card.xml b/samples/browseable/BatchStepSensor/res/layout/card.xml index 6350e6a3d..a727d8d33 100644 --- a/samples/browseable/BatchStepSensor/res/layout/card.xml +++ b/samples/browseable/BatchStepSensor/res/layout/card.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <com.example.android.batchstepsensor.cardstream.CardLayout android:id="@+id/card_layout" style="@style/Card" diff --git a/samples/browseable/BatchStepSensor/res/layout/card_button_negative.xml b/samples/browseable/BatchStepSensor/res/layout/card_button_negative.xml index 86d9c2d2e..8e6f4adca 100644 --- a/samples/browseable/BatchStepSensor/res/layout/card_button_negative.xml +++ b/samples/browseable/BatchStepSensor/res/layout/card_button_negative.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <com.example.android.batchstepsensor.cardstream.CardActionButton xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/card_button" style="@style/CardActionNegative" diff --git a/samples/browseable/BatchStepSensor/res/layout/card_button_neutral.xml b/samples/browseable/BatchStepSensor/res/layout/card_button_neutral.xml index c993df85d..1f29ca319 100644 --- a/samples/browseable/BatchStepSensor/res/layout/card_button_neutral.xml +++ b/samples/browseable/BatchStepSensor/res/layout/card_button_neutral.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <com.example.android.batchstepsensor.cardstream.CardActionButton xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/card_button" style="@style/CardActionNeutral" diff --git a/samples/browseable/BatchStepSensor/res/layout/card_button_positive.xml b/samples/browseable/BatchStepSensor/res/layout/card_button_positive.xml index 7a3baf68c..f7400cfbb 100644 --- a/samples/browseable/BatchStepSensor/res/layout/card_button_positive.xml +++ b/samples/browseable/BatchStepSensor/res/layout/card_button_positive.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <com.example.android.batchstepsensor.cardstream.CardActionButton xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/card_button" style="@style/CardActionPositive" diff --git a/samples/browseable/BatchStepSensor/res/layout/cardstream.xml b/samples/browseable/BatchStepSensor/res/layout/cardstream.xml index 889d69cbb..5d0c8bb83 100644 --- a/samples/browseable/BatchStepSensor/res/layout/cardstream.xml +++ b/samples/browseable/BatchStepSensor/res/layout/cardstream.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" diff --git a/samples/browseable/BatchStepSensor/res/values-v21/base-colors.xml b/samples/browseable/BatchStepSensor/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/BatchStepSensor/res/values-v21/base-colors.xml +++ b/samples/browseable/BatchStepSensor/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/BatchStepSensor/res/values-v21/base-template-styles.xml b/samples/browseable/BatchStepSensor/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/BatchStepSensor/res/values-v21/base-template-styles.xml +++ b/samples/browseable/BatchStepSensor/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/BatchStepSensor/res/values/base-strings.xml b/samples/browseable/BatchStepSensor/res/values/base-strings.xml index 3ff4b3d60..235625934 100644 --- a/samples/browseable/BatchStepSensor/res/values/base-strings.xml +++ b/samples/browseable/BatchStepSensor/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">BatchStepSensor</string> <string name="intro_message"> diff --git a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/MainActivity.java b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/MainActivity.java index 536269387..62b48e799 100644 --- a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/MainActivity.java +++ b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/MainActivity.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.example.android.batchstepsensor; import android.os.Bundle; diff --git a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/Card.java b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/Card.java index 2a342f6bd..0a5ad5493 100644 --- a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/Card.java +++ b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/Card.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.batchstepsensor.cardstream; import android.animation.Animator; diff --git a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardActionButton.java b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardActionButton.java index 054cc7248..676f22da1 100644 --- a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardActionButton.java +++ b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardActionButton.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.batchstepsensor.cardstream; import android.content.Context; diff --git a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardLayout.java b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardLayout.java index 84ee7b5d3..efe065fef 100644 --- a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardLayout.java +++ b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardLayout.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.batchstepsensor.cardstream; import android.content.Context; diff --git a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardStream.java b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardStream.java index 6e4e10ab8..bce52cbb4 100644 --- a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardStream.java +++ b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardStream.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.batchstepsensor.cardstream; public interface CardStream { diff --git a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardStreamAnimator.java b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardStreamAnimator.java index 91a05aeeb..4bb42f582 100644 --- a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardStreamAnimator.java +++ b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardStreamAnimator.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.batchstepsensor.cardstream; import android.animation.ObjectAnimator; diff --git a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardStreamFragment.java b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardStreamFragment.java index 82ea62249..008695ff7 100644 --- a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardStreamFragment.java +++ b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardStreamFragment.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.batchstepsensor.cardstream; import android.os.Bundle; diff --git a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardStreamLinearLayout.java b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardStreamLinearLayout.java index 9515c007d..8fcc13f1f 100644 --- a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardStreamLinearLayout.java +++ b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardStreamLinearLayout.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.batchstepsensor.cardstream; import android.animation.Animator; diff --git a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardStreamState.java b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardStreamState.java index 59f337c50..a6ed6070d 100644 --- a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardStreamState.java +++ b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/CardStreamState.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.batchstepsensor.cardstream; import java.util.HashSet; diff --git a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/DefaultCardStreamAnimator.java b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/DefaultCardStreamAnimator.java index 9f085535d..f17a3d7ac 100644 --- a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/DefaultCardStreamAnimator.java +++ b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/DefaultCardStreamAnimator.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.batchstepsensor.cardstream; import android.animation.ObjectAnimator; diff --git a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/OnCardClickListener.java b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/OnCardClickListener.java index 31da7cd09..0ae3f5825 100644 --- a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/OnCardClickListener.java +++ b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/OnCardClickListener.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.batchstepsensor.cardstream; public interface OnCardClickListener { diff --git a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/StreamRetentionFragment.java b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/StreamRetentionFragment.java index 71d2a880c..6b689784c 100644 --- a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/StreamRetentionFragment.java +++ b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/StreamRetentionFragment.java @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package com.example.android.batchstepsensor.cardstream; import android.os.Bundle; diff --git a/samples/browseable/BeamLargeFiles/_index.jd b/samples/browseable/BeamLargeFiles/_index.jd index d7b3e65a9..cfb07f413 100644 --- a/samples/browseable/BeamLargeFiles/_index.jd +++ b/samples/browseable/BeamLargeFiles/_index.jd @@ -1,3 +1,4 @@ + page.tags="BeamLargeFiles" sample.group=Connectivity @jd:body diff --git a/samples/browseable/BeamLargeFiles/res/values-v21/base-colors.xml b/samples/browseable/BeamLargeFiles/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/BeamLargeFiles/res/values-v21/base-colors.xml +++ b/samples/browseable/BeamLargeFiles/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/BeamLargeFiles/res/values-v21/base-template-styles.xml b/samples/browseable/BeamLargeFiles/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/BeamLargeFiles/res/values-v21/base-template-styles.xml +++ b/samples/browseable/BeamLargeFiles/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/BeamLargeFiles/res/values/base-strings.xml b/samples/browseable/BeamLargeFiles/res/values/base-strings.xml index 6b2c69a8d..dd897b6d6 100644 --- a/samples/browseable/BeamLargeFiles/res/values/base-strings.xml +++ b/samples/browseable/BeamLargeFiles/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">BeamLargeFiles</string> <string name="intro_message"> diff --git a/samples/browseable/BeamLargeFiles/src/com.example.android.beamlargefiles/MainActivity.java b/samples/browseable/BeamLargeFiles/src/com.example.android.beamlargefiles/MainActivity.java index 50d504c47..814367833 100644 --- a/samples/browseable/BeamLargeFiles/src/com.example.android.beamlargefiles/MainActivity.java +++ b/samples/browseable/BeamLargeFiles/src/com.example.android.beamlargefiles/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.beamlargefiles; import android.graphics.Color; diff --git a/samples/browseable/BluetoothAdvertisements/_index.jd b/samples/browseable/BluetoothAdvertisements/_index.jd index 27296b0ce..675552600 100644 --- a/samples/browseable/BluetoothAdvertisements/_index.jd +++ b/samples/browseable/BluetoothAdvertisements/_index.jd @@ -1,3 +1,4 @@ + page.tags="BluetoothAdvertisements" sample.group=Connectivity @jd:body diff --git a/samples/browseable/BluetoothAdvertisements/res/values-v21/base-colors.xml b/samples/browseable/BluetoothAdvertisements/res/values-v21/base-colors.xml index d90237837..2c744beba 100644 --- a/samples/browseable/BluetoothAdvertisements/res/values-v21/base-colors.xml +++ b/samples/browseable/BluetoothAdvertisements/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <color name="colorPrimary">#434AB3</color> diff --git a/samples/browseable/BluetoothAdvertisements/res/values-v21/base-template-styles.xml b/samples/browseable/BluetoothAdvertisements/res/values-v21/base-template-styles.xml index 023485609..0bb9fbf71 100644 --- a/samples/browseable/BluetoothAdvertisements/res/values-v21/base-template-styles.xml +++ b/samples/browseable/BluetoothAdvertisements/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/BluetoothAdvertisements/res/values/base-strings.xml b/samples/browseable/BluetoothAdvertisements/res/values/base-strings.xml index 6bfd4139b..5250c7517 100644 --- a/samples/browseable/BluetoothAdvertisements/res/values/base-strings.xml +++ b/samples/browseable/BluetoothAdvertisements/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">BluetoothAdvertisements</string> <string name="intro_message"> diff --git a/samples/browseable/BluetoothChat/_index.jd b/samples/browseable/BluetoothChat/_index.jd index 6d1e37a41..eec7ccd2a 100644 --- a/samples/browseable/BluetoothChat/_index.jd +++ b/samples/browseable/BluetoothChat/_index.jd @@ -1,3 +1,4 @@ + page.tags="BluetoothChat" sample.group=Connectivity @jd:body diff --git a/samples/browseable/BluetoothChat/res/values-v21/base-colors.xml b/samples/browseable/BluetoothChat/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/BluetoothChat/res/values-v21/base-colors.xml +++ b/samples/browseable/BluetoothChat/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/BluetoothChat/res/values-v21/base-template-styles.xml b/samples/browseable/BluetoothChat/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/BluetoothChat/res/values-v21/base-template-styles.xml +++ b/samples/browseable/BluetoothChat/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/BluetoothChat/res/values/base-strings.xml b/samples/browseable/BluetoothChat/res/values/base-strings.xml index fe175fbe3..2c6877caf 100644 --- a/samples/browseable/BluetoothChat/res/values/base-strings.xml +++ b/samples/browseable/BluetoothChat/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">BluetoothChat</string> <string name="intro_message"> diff --git a/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/MainActivity.java b/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/MainActivity.java index cf4ec47e3..a791fc855 100644 --- a/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/MainActivity.java +++ b/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.bluetoothchat; import android.os.Bundle; diff --git a/samples/browseable/BluetoothLeGatt/_index.jd b/samples/browseable/BluetoothLeGatt/_index.jd index 13d9cb68c..bbd5b3d64 100644 --- a/samples/browseable/BluetoothLeGatt/_index.jd +++ b/samples/browseable/BluetoothLeGatt/_index.jd @@ -1,3 +1,4 @@ + page.tags="BluetoothLeGatt" sample.group=Connectivity @jd:body diff --git a/samples/browseable/BluetoothLeGatt/res/values-v21/base-colors.xml b/samples/browseable/BluetoothLeGatt/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/BluetoothLeGatt/res/values-v21/base-colors.xml +++ b/samples/browseable/BluetoothLeGatt/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/BluetoothLeGatt/res/values-v21/base-template-styles.xml b/samples/browseable/BluetoothLeGatt/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/BluetoothLeGatt/res/values-v21/base-template-styles.xml +++ b/samples/browseable/BluetoothLeGatt/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/BluetoothLeGatt/res/values/base-strings.xml b/samples/browseable/BluetoothLeGatt/res/values/base-strings.xml index f3b546cba..8b742b764 100644 --- a/samples/browseable/BluetoothLeGatt/res/values/base-strings.xml +++ b/samples/browseable/BluetoothLeGatt/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">BluetoothLeGatt</string> <string name="intro_message"> diff --git a/samples/browseable/BorderlessButtons/_index.jd b/samples/browseable/BorderlessButtons/_index.jd index a940d1848..90a59ccc6 100644 --- a/samples/browseable/BorderlessButtons/_index.jd +++ b/samples/browseable/BorderlessButtons/_index.jd @@ -1,3 +1,4 @@ + page.tags="BorderlessButtons" sample.group=UI @jd:body diff --git a/samples/browseable/BorderlessButtons/res/values-v21/base-colors.xml b/samples/browseable/BorderlessButtons/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/BorderlessButtons/res/values-v21/base-colors.xml +++ b/samples/browseable/BorderlessButtons/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/BorderlessButtons/res/values-v21/base-template-styles.xml b/samples/browseable/BorderlessButtons/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/BorderlessButtons/res/values-v21/base-template-styles.xml +++ b/samples/browseable/BorderlessButtons/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/BorderlessButtons/res/values/base-strings.xml b/samples/browseable/BorderlessButtons/res/values/base-strings.xml index 14f5df2d6..d00816b43 100644 --- a/samples/browseable/BorderlessButtons/res/values/base-strings.xml +++ b/samples/browseable/BorderlessButtons/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">BorderlessButtons</string> <string name="intro_message"> diff --git a/samples/browseable/Camera2Basic/_index.jd b/samples/browseable/Camera2Basic/_index.jd index ba27fffab..b945aa81c 100644 --- a/samples/browseable/Camera2Basic/_index.jd +++ b/samples/browseable/Camera2Basic/_index.jd @@ -1,3 +1,4 @@ + page.tags="Camera2Basic" sample.group=Media @jd:body diff --git a/samples/browseable/Camera2Basic/res/values-v21/base-colors.xml b/samples/browseable/Camera2Basic/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/Camera2Basic/res/values-v21/base-colors.xml +++ b/samples/browseable/Camera2Basic/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/Camera2Basic/res/values-v21/base-template-styles.xml b/samples/browseable/Camera2Basic/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/Camera2Basic/res/values-v21/base-template-styles.xml +++ b/samples/browseable/Camera2Basic/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/Camera2Basic/res/values/base-strings.xml b/samples/browseable/Camera2Basic/res/values/base-strings.xml index 9a7579e37..5b1bda4cb 100644 --- a/samples/browseable/Camera2Basic/res/values/base-strings.xml +++ b/samples/browseable/Camera2Basic/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">Camera2Basic</string> <string name="intro_message"> diff --git a/samples/browseable/Camera2Video/_index.jd b/samples/browseable/Camera2Video/_index.jd index 27ccc112e..b15efd33a 100644 --- a/samples/browseable/Camera2Video/_index.jd +++ b/samples/browseable/Camera2Video/_index.jd @@ -1,3 +1,4 @@ + page.tags="Camera2Video" sample.group=Media @jd:body diff --git a/samples/browseable/Camera2Video/res/values-v21/base-colors.xml b/samples/browseable/Camera2Video/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/Camera2Video/res/values-v21/base-colors.xml +++ b/samples/browseable/Camera2Video/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/Camera2Video/res/values-v21/base-template-styles.xml b/samples/browseable/Camera2Video/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/Camera2Video/res/values-v21/base-template-styles.xml +++ b/samples/browseable/Camera2Video/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/Camera2Video/res/values/base-strings.xml b/samples/browseable/Camera2Video/res/values/base-strings.xml index 08388de5e..186e60e5c 100644 --- a/samples/browseable/Camera2Video/res/values/base-strings.xml +++ b/samples/browseable/Camera2Video/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">Camera2Video</string> <string name="intro_message"> diff --git a/samples/browseable/CardEmulation/_index.jd b/samples/browseable/CardEmulation/_index.jd index 6a4ce5d72..bdeed37de 100644 --- a/samples/browseable/CardEmulation/_index.jd +++ b/samples/browseable/CardEmulation/_index.jd @@ -1,3 +1,4 @@ + page.tags="CardEmulation" sample.group=Connectivity @jd:body diff --git a/samples/browseable/CardEmulation/res/values-v21/base-colors.xml b/samples/browseable/CardEmulation/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/CardEmulation/res/values-v21/base-colors.xml +++ b/samples/browseable/CardEmulation/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/CardEmulation/res/values-v21/base-template-styles.xml b/samples/browseable/CardEmulation/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/CardEmulation/res/values-v21/base-template-styles.xml +++ b/samples/browseable/CardEmulation/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/CardEmulation/res/values/base-strings.xml b/samples/browseable/CardEmulation/res/values/base-strings.xml index 8bd733216..020416a00 100644 --- a/samples/browseable/CardEmulation/res/values/base-strings.xml +++ b/samples/browseable/CardEmulation/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">CardEmulation</string> <string name="intro_message"> diff --git a/samples/browseable/CardEmulation/src/com.example.android.cardemulation/MainActivity.java b/samples/browseable/CardEmulation/src/com.example.android.cardemulation/MainActivity.java index af0b9f310..ea641ef1f 100644 --- a/samples/browseable/CardEmulation/src/com.example.android.cardemulation/MainActivity.java +++ b/samples/browseable/CardEmulation/src/com.example.android.cardemulation/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.cardemulation; import android.os.Bundle; diff --git a/samples/browseable/CardReader/_index.jd b/samples/browseable/CardReader/_index.jd index 4322b3fb6..ca18ce067 100644 --- a/samples/browseable/CardReader/_index.jd +++ b/samples/browseable/CardReader/_index.jd @@ -1,3 +1,4 @@ + page.tags="CardReader" sample.group=Connectivity @jd:body diff --git a/samples/browseable/CardReader/res/values-v21/base-colors.xml b/samples/browseable/CardReader/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/CardReader/res/values-v21/base-colors.xml +++ b/samples/browseable/CardReader/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/CardReader/res/values-v21/base-template-styles.xml b/samples/browseable/CardReader/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/CardReader/res/values-v21/base-template-styles.xml +++ b/samples/browseable/CardReader/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/CardReader/res/values/base-strings.xml b/samples/browseable/CardReader/res/values/base-strings.xml index efede3bce..cf122244a 100644 --- a/samples/browseable/CardReader/res/values/base-strings.xml +++ b/samples/browseable/CardReader/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">CardReader</string> <string name="intro_message"> diff --git a/samples/browseable/CardReader/src/com.example.android.cardreader/MainActivity.java b/samples/browseable/CardReader/src/com.example.android.cardreader/MainActivity.java index ac6327d30..78123297f 100644 --- a/samples/browseable/CardReader/src/com.example.android.cardreader/MainActivity.java +++ b/samples/browseable/CardReader/src/com.example.android.cardreader/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.cardreader; import android.os.Bundle; diff --git a/samples/browseable/CardView/_index.jd b/samples/browseable/CardView/_index.jd index 28cbdc765..3d8c9e072 100644 --- a/samples/browseable/CardView/_index.jd +++ b/samples/browseable/CardView/_index.jd @@ -1,3 +1,4 @@ + page.tags="CardView Sample" sample.group=UI @jd:body diff --git a/samples/browseable/CardView/res/values-v21/base-colors.xml b/samples/browseable/CardView/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/CardView/res/values-v21/base-colors.xml +++ b/samples/browseable/CardView/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/CardView/res/values-v21/base-template-styles.xml b/samples/browseable/CardView/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/CardView/res/values-v21/base-template-styles.xml +++ b/samples/browseable/CardView/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/CardView/res/values/base-strings.xml b/samples/browseable/CardView/res/values/base-strings.xml index d39c396fa..12863226d 100644 --- a/samples/browseable/CardView/res/values/base-strings.xml +++ b/samples/browseable/CardView/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">CardView Sample</string> <string name="intro_message"> diff --git a/samples/browseable/ClippingBasic/_index.jd b/samples/browseable/ClippingBasic/_index.jd index 6db7049d5..549fa7bab 100644 --- a/samples/browseable/ClippingBasic/_index.jd +++ b/samples/browseable/ClippingBasic/_index.jd @@ -1,3 +1,4 @@ + page.tags="ClippingBasic" sample.group=UI @jd:body diff --git a/samples/browseable/ClippingBasic/res/values-v21/base-colors.xml b/samples/browseable/ClippingBasic/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/ClippingBasic/res/values-v21/base-colors.xml +++ b/samples/browseable/ClippingBasic/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/ClippingBasic/res/values-v21/base-template-styles.xml b/samples/browseable/ClippingBasic/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/ClippingBasic/res/values-v21/base-template-styles.xml +++ b/samples/browseable/ClippingBasic/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/ClippingBasic/res/values/base-strings.xml b/samples/browseable/ClippingBasic/res/values/base-strings.xml index 622c074a0..535799950 100644 --- a/samples/browseable/ClippingBasic/res/values/base-strings.xml +++ b/samples/browseable/ClippingBasic/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">ClippingBasic</string> <string name="intro_message"> diff --git a/samples/browseable/ClippingBasic/src/com.example.android.clippingbasic/MainActivity.java b/samples/browseable/ClippingBasic/src/com.example.android.clippingbasic/MainActivity.java index fe290f928..91b0eda01 100644 --- a/samples/browseable/ClippingBasic/src/com.example.android.clippingbasic/MainActivity.java +++ b/samples/browseable/ClippingBasic/src/com.example.android.clippingbasic/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.clippingbasic; import android.os.Bundle; diff --git a/samples/browseable/CustomChoiceList/_index.jd b/samples/browseable/CustomChoiceList/_index.jd index 65ad14ff5..0abf54372 100644 --- a/samples/browseable/CustomChoiceList/_index.jd +++ b/samples/browseable/CustomChoiceList/_index.jd @@ -1,3 +1,4 @@ + page.tags="CustomChoiceList" sample.group=UI @jd:body diff --git a/samples/browseable/CustomChoiceList/res/values-v21/base-colors.xml b/samples/browseable/CustomChoiceList/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/CustomChoiceList/res/values-v21/base-colors.xml +++ b/samples/browseable/CustomChoiceList/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/CustomChoiceList/res/values-v21/base-template-styles.xml b/samples/browseable/CustomChoiceList/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/CustomChoiceList/res/values-v21/base-template-styles.xml +++ b/samples/browseable/CustomChoiceList/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/CustomChoiceList/res/values/base-strings.xml b/samples/browseable/CustomChoiceList/res/values/base-strings.xml index b5fdc00f9..e14fc2600 100644 --- a/samples/browseable/CustomChoiceList/res/values/base-strings.xml +++ b/samples/browseable/CustomChoiceList/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">CustomChoiceList</string> <string name="intro_message"> diff --git a/samples/browseable/CustomNotifications/_index.jd b/samples/browseable/CustomNotifications/_index.jd index 86c829a27..148267b0a 100644 --- a/samples/browseable/CustomNotifications/_index.jd +++ b/samples/browseable/CustomNotifications/_index.jd @@ -1,3 +1,4 @@ + page.tags="CustomNotifications" sample.group=Notification @jd:body diff --git a/samples/browseable/CustomNotifications/res/values-v21/base-colors.xml b/samples/browseable/CustomNotifications/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/CustomNotifications/res/values-v21/base-colors.xml +++ b/samples/browseable/CustomNotifications/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/CustomNotifications/res/values-v21/base-template-styles.xml b/samples/browseable/CustomNotifications/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/CustomNotifications/res/values-v21/base-template-styles.xml +++ b/samples/browseable/CustomNotifications/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/CustomNotifications/res/values/base-strings.xml b/samples/browseable/CustomNotifications/res/values/base-strings.xml index ad3bb89cd..c78e6e33c 100644 --- a/samples/browseable/CustomNotifications/res/values/base-strings.xml +++ b/samples/browseable/CustomNotifications/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">CustomNotifications</string> <string name="intro_message"> diff --git a/samples/browseable/CustomTransition/_index.jd b/samples/browseable/CustomTransition/_index.jd index f5f16feb3..2a26e5590 100644 --- a/samples/browseable/CustomTransition/_index.jd +++ b/samples/browseable/CustomTransition/_index.jd @@ -1,3 +1,4 @@ + page.tags="CustomTransition" sample.group=UI @jd:body diff --git a/samples/browseable/CustomTransition/res/values-v21/base-colors.xml b/samples/browseable/CustomTransition/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/CustomTransition/res/values-v21/base-colors.xml +++ b/samples/browseable/CustomTransition/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/CustomTransition/res/values-v21/base-template-styles.xml b/samples/browseable/CustomTransition/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/CustomTransition/res/values-v21/base-template-styles.xml +++ b/samples/browseable/CustomTransition/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/CustomTransition/res/values/base-strings.xml b/samples/browseable/CustomTransition/res/values/base-strings.xml index ee1dad40a..e396da9e2 100644 --- a/samples/browseable/CustomTransition/res/values/base-strings.xml +++ b/samples/browseable/CustomTransition/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">CustomTransition</string> <string name="intro_message"> diff --git a/samples/browseable/CustomTransition/src/com.example.android.customtransition/MainActivity.java b/samples/browseable/CustomTransition/src/com.example.android.customtransition/MainActivity.java index bbb6dc06e..4df98fcfd 100644 --- a/samples/browseable/CustomTransition/src/com.example.android.customtransition/MainActivity.java +++ b/samples/browseable/CustomTransition/src/com.example.android.customtransition/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.customtransition; import android.os.Bundle; diff --git a/samples/browseable/DataLayer/Application/res/values-v21/base-colors.xml b/samples/browseable/DataLayer/Application/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/DataLayer/Application/res/values-v21/base-colors.xml +++ b/samples/browseable/DataLayer/Application/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/DataLayer/Application/res/values-v21/base-template-styles.xml b/samples/browseable/DataLayer/Application/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/DataLayer/Application/res/values-v21/base-template-styles.xml +++ b/samples/browseable/DataLayer/Application/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/DataLayer/Application/res/values/base-strings.xml b/samples/browseable/DataLayer/Application/res/values/base-strings.xml index 856ec5420..d039ca87c 100644 --- a/samples/browseable/DataLayer/Application/res/values/base-strings.xml +++ b/samples/browseable/DataLayer/Application/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">DataLayer</string> <string name="intro_message"> diff --git a/samples/browseable/DataLayer/_index.jd b/samples/browseable/DataLayer/_index.jd index 844210ff9..bc370b9e3 100644 --- a/samples/browseable/DataLayer/_index.jd +++ b/samples/browseable/DataLayer/_index.jd @@ -1,3 +1,4 @@ + page.tags="DataLayer" sample.group=Wearable @jd:body diff --git a/samples/browseable/DelayedConfirmation/Application/res/values-v21/base-colors.xml b/samples/browseable/DelayedConfirmation/Application/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/DelayedConfirmation/Application/res/values-v21/base-colors.xml +++ b/samples/browseable/DelayedConfirmation/Application/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/DelayedConfirmation/Application/res/values-v21/base-template-styles.xml b/samples/browseable/DelayedConfirmation/Application/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/DelayedConfirmation/Application/res/values-v21/base-template-styles.xml +++ b/samples/browseable/DelayedConfirmation/Application/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/DelayedConfirmation/Application/res/values/base-strings.xml b/samples/browseable/DelayedConfirmation/Application/res/values/base-strings.xml index b4e1a2e92..cd78b39bd 100644 --- a/samples/browseable/DelayedConfirmation/Application/res/values/base-strings.xml +++ b/samples/browseable/DelayedConfirmation/Application/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">DelayedConfirmation</string> <string name="intro_message"> diff --git a/samples/browseable/DelayedConfirmation/_index.jd b/samples/browseable/DelayedConfirmation/_index.jd index 28db25aa1..603e42237 100644 --- a/samples/browseable/DelayedConfirmation/_index.jd +++ b/samples/browseable/DelayedConfirmation/_index.jd @@ -1,3 +1,4 @@ + page.tags="DelayedConfirmation" sample.group=Wearable @jd:body diff --git a/samples/browseable/DeviceOwner/_index.jd b/samples/browseable/DeviceOwner/_index.jd index cd9b94904..0eb02d827 100644 --- a/samples/browseable/DeviceOwner/_index.jd +++ b/samples/browseable/DeviceOwner/_index.jd @@ -1,3 +1,4 @@ + page.tags="DeviceOwner" sample.group=Admin @jd:body diff --git a/samples/browseable/DeviceOwner/res/values-v21/base-colors.xml b/samples/browseable/DeviceOwner/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/DeviceOwner/res/values-v21/base-colors.xml +++ b/samples/browseable/DeviceOwner/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/DeviceOwner/res/values-v21/base-template-styles.xml b/samples/browseable/DeviceOwner/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/DeviceOwner/res/values-v21/base-template-styles.xml +++ b/samples/browseable/DeviceOwner/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/DeviceOwner/res/values/base-strings.xml b/samples/browseable/DeviceOwner/res/values/base-strings.xml index 71d41f7d6..89bfe8e23 100644 --- a/samples/browseable/DeviceOwner/res/values/base-strings.xml +++ b/samples/browseable/DeviceOwner/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">DeviceOwner</string> <string name="intro_message"> diff --git a/samples/browseable/DirectorySelection/_index.jd b/samples/browseable/DirectorySelection/_index.jd index 4b394c267..8a10f9ee4 100644 --- a/samples/browseable/DirectorySelection/_index.jd +++ b/samples/browseable/DirectorySelection/_index.jd @@ -1,3 +1,4 @@ + page.tags="DirectorySelection" sample.group=Content @jd:body diff --git a/samples/browseable/DirectorySelection/res/values-v21/base-colors.xml b/samples/browseable/DirectorySelection/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/DirectorySelection/res/values-v21/base-colors.xml +++ b/samples/browseable/DirectorySelection/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/DirectorySelection/res/values-v21/base-template-styles.xml b/samples/browseable/DirectorySelection/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/DirectorySelection/res/values-v21/base-template-styles.xml +++ b/samples/browseable/DirectorySelection/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/DirectorySelection/res/values/base-strings.xml b/samples/browseable/DirectorySelection/res/values/base-strings.xml index 782c64aa7..1ed4f405f 100644 --- a/samples/browseable/DirectorySelection/res/values/base-strings.xml +++ b/samples/browseable/DirectorySelection/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">DirectorySelection</string> <string name="intro_message"> diff --git a/samples/browseable/DisplayingBitmaps/_index.jd b/samples/browseable/DisplayingBitmaps/_index.jd index e4b4f1570..475d6325e 100644 --- a/samples/browseable/DisplayingBitmaps/_index.jd +++ b/samples/browseable/DisplayingBitmaps/_index.jd @@ -1,3 +1,4 @@ + page.tags="DisplayingBitmaps" sample.group=UI @jd:body diff --git a/samples/browseable/DisplayingBitmaps/res/values-v21/base-colors.xml b/samples/browseable/DisplayingBitmaps/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/DisplayingBitmaps/res/values-v21/base-colors.xml +++ b/samples/browseable/DisplayingBitmaps/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/DisplayingBitmaps/res/values-v21/base-template-styles.xml b/samples/browseable/DisplayingBitmaps/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/DisplayingBitmaps/res/values-v21/base-template-styles.xml +++ b/samples/browseable/DisplayingBitmaps/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/DisplayingBitmaps/res/values/base-strings.xml b/samples/browseable/DisplayingBitmaps/res/values/base-strings.xml index 440137171..8050b1591 100644 --- a/samples/browseable/DisplayingBitmaps/res/values/base-strings.xml +++ b/samples/browseable/DisplayingBitmaps/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">DisplayingBitmaps</string> <string name="intro_message"> diff --git a/samples/browseable/DocumentCentricApps/_index.jd b/samples/browseable/DocumentCentricApps/_index.jd index 9eb8b2f1e..8f3e969a9 100644 --- a/samples/browseable/DocumentCentricApps/_index.jd +++ b/samples/browseable/DocumentCentricApps/_index.jd @@ -1,3 +1,4 @@ + page.tags="DocumentCentricRecents" sample.group=UI @jd:body diff --git a/samples/browseable/DocumentCentricApps/res/values-v21/base-colors.xml b/samples/browseable/DocumentCentricApps/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/DocumentCentricApps/res/values-v21/base-colors.xml +++ b/samples/browseable/DocumentCentricApps/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/DocumentCentricApps/res/values-v21/base-template-styles.xml b/samples/browseable/DocumentCentricApps/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/DocumentCentricApps/res/values-v21/base-template-styles.xml +++ b/samples/browseable/DocumentCentricApps/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/DocumentCentricApps/res/values/base-strings.xml b/samples/browseable/DocumentCentricApps/res/values/base-strings.xml index 0ffbd4589..f64e6ef95 100644 --- a/samples/browseable/DocumentCentricApps/res/values/base-strings.xml +++ b/samples/browseable/DocumentCentricApps/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">DocumentCentricRecents</string> <string name="intro_message"> diff --git a/samples/browseable/DocumentCentricRelinquishIdentity/_index.jd b/samples/browseable/DocumentCentricRelinquishIdentity/_index.jd index 0a489af93..5ca5bc8b0 100644 --- a/samples/browseable/DocumentCentricRelinquishIdentity/_index.jd +++ b/samples/browseable/DocumentCentricRelinquishIdentity/_index.jd @@ -1,3 +1,4 @@ + page.tags="DocumentCentricRelinquishIdentity" sample.group=UI @jd:body diff --git a/samples/browseable/DocumentCentricRelinquishIdentity/res/values-v21/base-colors.xml b/samples/browseable/DocumentCentricRelinquishIdentity/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/DocumentCentricRelinquishIdentity/res/values-v21/base-colors.xml +++ b/samples/browseable/DocumentCentricRelinquishIdentity/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/DocumentCentricRelinquishIdentity/res/values-v21/base-template-styles.xml b/samples/browseable/DocumentCentricRelinquishIdentity/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/DocumentCentricRelinquishIdentity/res/values-v21/base-template-styles.xml +++ b/samples/browseable/DocumentCentricRelinquishIdentity/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/DocumentCentricRelinquishIdentity/res/values/base-strings.xml b/samples/browseable/DocumentCentricRelinquishIdentity/res/values/base-strings.xml index 6073bba89..92850a8bf 100644 --- a/samples/browseable/DocumentCentricRelinquishIdentity/res/values/base-strings.xml +++ b/samples/browseable/DocumentCentricRelinquishIdentity/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">DocumentCentricRelinquishIdentity</string> <string name="intro_message"> diff --git a/samples/browseable/DoneBar/_index.jd b/samples/browseable/DoneBar/_index.jd index b692bb981..8babd0fe7 100644 --- a/samples/browseable/DoneBar/_index.jd +++ b/samples/browseable/DoneBar/_index.jd @@ -1,3 +1,4 @@ + page.tags="DoneBar" sample.group=UI @jd:body diff --git a/samples/browseable/DoneBar/res/values-v21/base-colors.xml b/samples/browseable/DoneBar/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/DoneBar/res/values-v21/base-colors.xml +++ b/samples/browseable/DoneBar/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/DoneBar/res/values-v21/base-template-styles.xml b/samples/browseable/DoneBar/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/DoneBar/res/values-v21/base-template-styles.xml +++ b/samples/browseable/DoneBar/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/DoneBar/res/values/activitycards-strings.xml b/samples/browseable/DoneBar/res/values/activitycards-strings.xml index 430286c31..c0f62c466 100644 --- a/samples/browseable/DoneBar/res/values/activitycards-strings.xml +++ b/samples/browseable/DoneBar/res/values/activitycards-strings.xml @@ -15,6 +15,7 @@ limitations under the License. --> + <resources> <string name="donebaractivity_title">Done Bar</string> <string name="donebaractivity_description">In this presentation, a done bar replaces the action bar entirely, providing diff --git a/samples/browseable/DoneBar/res/values/base-strings.xml b/samples/browseable/DoneBar/res/values/base-strings.xml index f7e0540ca..4b9f1372a 100644 --- a/samples/browseable/DoneBar/res/values/base-strings.xml +++ b/samples/browseable/DoneBar/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">DoneBar</string> <string name="intro_message"> diff --git a/samples/browseable/DoneBar/src/com.example.android.donebar/MainActivity.java b/samples/browseable/DoneBar/src/com.example.android.donebar/MainActivity.java index c51996c4c..735ac54ef 100644 --- a/samples/browseable/DoneBar/src/com.example.android.donebar/MainActivity.java +++ b/samples/browseable/DoneBar/src/com.example.android.donebar/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.donebar; import android.app.Activity; diff --git a/samples/browseable/DrawableTinting/_index.jd b/samples/browseable/DrawableTinting/_index.jd index 1b011146c..3536d6149 100644 --- a/samples/browseable/DrawableTinting/_index.jd +++ b/samples/browseable/DrawableTinting/_index.jd @@ -1,3 +1,4 @@ + page.tags="DrawableTinting" sample.group=UI @jd:body diff --git a/samples/browseable/DrawableTinting/res/values-v21/base-colors.xml b/samples/browseable/DrawableTinting/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/DrawableTinting/res/values-v21/base-colors.xml +++ b/samples/browseable/DrawableTinting/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/DrawableTinting/res/values-v21/base-template-styles.xml b/samples/browseable/DrawableTinting/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/DrawableTinting/res/values-v21/base-template-styles.xml +++ b/samples/browseable/DrawableTinting/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/DrawableTinting/res/values/base-strings.xml b/samples/browseable/DrawableTinting/res/values/base-strings.xml index 1b3516a01..b0db70800 100644 --- a/samples/browseable/DrawableTinting/res/values/base-strings.xml +++ b/samples/browseable/DrawableTinting/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">DrawableTinting</string> <string name="intro_message"> diff --git a/samples/browseable/DrawableTinting/src/com.example.android.drawabletinting/MainActivity.java b/samples/browseable/DrawableTinting/src/com.example.android.drawabletinting/MainActivity.java index d00bc379d..deff331c2 100644 --- a/samples/browseable/DrawableTinting/src/com.example.android.drawabletinting/MainActivity.java +++ b/samples/browseable/DrawableTinting/src/com.example.android.drawabletinting/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.drawabletinting; import android.os.Bundle; diff --git a/samples/browseable/ElevationBasic/_index.jd b/samples/browseable/ElevationBasic/_index.jd index cf473d431..979dc7fc5 100644 --- a/samples/browseable/ElevationBasic/_index.jd +++ b/samples/browseable/ElevationBasic/_index.jd @@ -1,3 +1,4 @@ + page.tags="ElevationBasic" sample.group=UI @jd:body diff --git a/samples/browseable/ElevationBasic/res/values-v21/base-colors.xml b/samples/browseable/ElevationBasic/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/ElevationBasic/res/values-v21/base-colors.xml +++ b/samples/browseable/ElevationBasic/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/ElevationBasic/res/values-v21/base-template-styles.xml b/samples/browseable/ElevationBasic/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/ElevationBasic/res/values-v21/base-template-styles.xml +++ b/samples/browseable/ElevationBasic/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/ElevationBasic/res/values/base-strings.xml b/samples/browseable/ElevationBasic/res/values/base-strings.xml index 9ae484352..a690552c4 100644 --- a/samples/browseable/ElevationBasic/res/values/base-strings.xml +++ b/samples/browseable/ElevationBasic/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">ElevationBasic</string> <string name="intro_message"> diff --git a/samples/browseable/ElevationBasic/src/com.example.android.elevationbasic/MainActivity.java b/samples/browseable/ElevationBasic/src/com.example.android.elevationbasic/MainActivity.java index f4285d2e0..a7926f93f 100644 --- a/samples/browseable/ElevationBasic/src/com.example.android.elevationbasic/MainActivity.java +++ b/samples/browseable/ElevationBasic/src/com.example.android.elevationbasic/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.elevationbasic; import android.os.Bundle; diff --git a/samples/browseable/ElevationDrag/_index.jd b/samples/browseable/ElevationDrag/_index.jd index f484613fd..ffa96b756 100644 --- a/samples/browseable/ElevationDrag/_index.jd +++ b/samples/browseable/ElevationDrag/_index.jd @@ -1,3 +1,4 @@ + page.tags="ElevationDrag" sample.group=UI @jd:body diff --git a/samples/browseable/ElevationDrag/res/values-v21/base-colors.xml b/samples/browseable/ElevationDrag/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/ElevationDrag/res/values-v21/base-colors.xml +++ b/samples/browseable/ElevationDrag/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/ElevationDrag/res/values-v21/base-template-styles.xml b/samples/browseable/ElevationDrag/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/ElevationDrag/res/values-v21/base-template-styles.xml +++ b/samples/browseable/ElevationDrag/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/ElevationDrag/res/values/base-strings.xml b/samples/browseable/ElevationDrag/res/values/base-strings.xml index 133e1b3e8..29a37aeb6 100644 --- a/samples/browseable/ElevationDrag/res/values/base-strings.xml +++ b/samples/browseable/ElevationDrag/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">ElevationDrag</string> <string name="intro_message"> diff --git a/samples/browseable/ElevationDrag/src/com.example.android.elevationdrag/MainActivity.java b/samples/browseable/ElevationDrag/src/com.example.android.elevationdrag/MainActivity.java index 98579bf02..ace45bf02 100644 --- a/samples/browseable/ElevationDrag/src/com.example.android.elevationdrag/MainActivity.java +++ b/samples/browseable/ElevationDrag/src/com.example.android.elevationdrag/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.elevationdrag; import android.os.Bundle; diff --git a/samples/browseable/ElizaChat/_index.jd b/samples/browseable/ElizaChat/_index.jd index a88371c8a..14a7cac77 100644 --- a/samples/browseable/ElizaChat/_index.jd +++ b/samples/browseable/ElizaChat/_index.jd @@ -1,3 +1,4 @@ + page.tags="ElizaChat" sample.group=Wearable @jd:body diff --git a/samples/browseable/ElizaChat/res/values-v21/base-colors.xml b/samples/browseable/ElizaChat/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/ElizaChat/res/values-v21/base-colors.xml +++ b/samples/browseable/ElizaChat/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/ElizaChat/res/values-v21/base-template-styles.xml b/samples/browseable/ElizaChat/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/ElizaChat/res/values-v21/base-template-styles.xml +++ b/samples/browseable/ElizaChat/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/ElizaChat/res/values/base-strings.xml b/samples/browseable/ElizaChat/res/values/base-strings.xml index be29a5be2..66da202da 100644 --- a/samples/browseable/ElizaChat/res/values/base-strings.xml +++ b/samples/browseable/ElizaChat/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">ElizaChat</string> <string name="intro_message"> diff --git a/samples/browseable/FindMyPhone/Application/res/values-v21/base-colors.xml b/samples/browseable/FindMyPhone/Application/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/FindMyPhone/Application/res/values-v21/base-colors.xml +++ b/samples/browseable/FindMyPhone/Application/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/FindMyPhone/Application/res/values-v21/base-template-styles.xml b/samples/browseable/FindMyPhone/Application/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/FindMyPhone/Application/res/values-v21/base-template-styles.xml +++ b/samples/browseable/FindMyPhone/Application/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/FindMyPhone/Application/res/values/base-strings.xml b/samples/browseable/FindMyPhone/Application/res/values/base-strings.xml index e2e3722b4..e63b72ef8 100644 --- a/samples/browseable/FindMyPhone/Application/res/values/base-strings.xml +++ b/samples/browseable/FindMyPhone/Application/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">FindMyPhone</string> <string name="intro_message"> diff --git a/samples/browseable/FindMyPhone/_index.jd b/samples/browseable/FindMyPhone/_index.jd index ed504c9a1..293a55c7c 100644 --- a/samples/browseable/FindMyPhone/_index.jd +++ b/samples/browseable/FindMyPhone/_index.jd @@ -1,3 +1,4 @@ + page.tags="FindMyPhone" sample.group=Wearable @jd:body diff --git a/samples/browseable/Flashlight/_index.jd b/samples/browseable/Flashlight/_index.jd index d691b73a5..1858b3ec4 100644 --- a/samples/browseable/Flashlight/_index.jd +++ b/samples/browseable/Flashlight/_index.jd @@ -1,3 +1,4 @@ + page.tags="Flashlight" sample.group=Wearable @jd:body diff --git a/samples/browseable/FloatingActionButtonBasic/_index.jd b/samples/browseable/FloatingActionButtonBasic/_index.jd index 48a11c274..edb323a58 100644 --- a/samples/browseable/FloatingActionButtonBasic/_index.jd +++ b/samples/browseable/FloatingActionButtonBasic/_index.jd @@ -1,3 +1,4 @@ + page.tags="FloatingActionButtonBasic" sample.group=UI @jd:body diff --git a/samples/browseable/FloatingActionButtonBasic/res/values-v21/base-colors.xml b/samples/browseable/FloatingActionButtonBasic/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/FloatingActionButtonBasic/res/values-v21/base-colors.xml +++ b/samples/browseable/FloatingActionButtonBasic/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/FloatingActionButtonBasic/res/values-v21/base-template-styles.xml b/samples/browseable/FloatingActionButtonBasic/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/FloatingActionButtonBasic/res/values-v21/base-template-styles.xml +++ b/samples/browseable/FloatingActionButtonBasic/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/FloatingActionButtonBasic/res/values/base-strings.xml b/samples/browseable/FloatingActionButtonBasic/res/values/base-strings.xml index 2eea10e69..fea5b74a7 100644 --- a/samples/browseable/FloatingActionButtonBasic/res/values/base-strings.xml +++ b/samples/browseable/FloatingActionButtonBasic/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">FloatingActionButtonBasic</string> <string name="intro_message"> diff --git a/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/MainActivity.java b/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/MainActivity.java index b88fc7a9b..8cd9fd77c 100644 --- a/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/MainActivity.java +++ b/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.floatingactionbuttonbasic; import android.os.Bundle; diff --git a/samples/browseable/Geofencing/Application/res/values-v21/base-colors.xml b/samples/browseable/Geofencing/Application/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/Geofencing/Application/res/values-v21/base-colors.xml +++ b/samples/browseable/Geofencing/Application/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/Geofencing/Application/res/values-v21/base-template-styles.xml b/samples/browseable/Geofencing/Application/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/Geofencing/Application/res/values-v21/base-template-styles.xml +++ b/samples/browseable/Geofencing/Application/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/Geofencing/Application/res/values/base-strings.xml b/samples/browseable/Geofencing/Application/res/values/base-strings.xml index 5a6693146..7f7abadae 100644 --- a/samples/browseable/Geofencing/Application/res/values/base-strings.xml +++ b/samples/browseable/Geofencing/Application/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">Geofencing</string> <string name="intro_message"> diff --git a/samples/browseable/Geofencing/_index.jd b/samples/browseable/Geofencing/_index.jd index 497a5b11f..e6c9835c2 100644 --- a/samples/browseable/Geofencing/_index.jd +++ b/samples/browseable/Geofencing/_index.jd @@ -1,3 +1,4 @@ + page.tags="Geofencing" sample.group=Wearable @jd:body diff --git a/samples/browseable/GridViewPager/_index.jd b/samples/browseable/GridViewPager/_index.jd index 0abe7549e..95f54d330 100644 --- a/samples/browseable/GridViewPager/_index.jd +++ b/samples/browseable/GridViewPager/_index.jd @@ -1,3 +1,4 @@ + page.tags="GridViewPager" sample.group=Wearable @jd:body diff --git a/samples/browseable/HdrViewfinder/_index.jd b/samples/browseable/HdrViewfinder/_index.jd index 3348a3f45..482eb8610 100644 --- a/samples/browseable/HdrViewfinder/_index.jd +++ b/samples/browseable/HdrViewfinder/_index.jd @@ -1,3 +1,4 @@ + page.tags="HdrViewfinder" sample.group=Media @jd:body diff --git a/samples/browseable/HdrViewfinder/res/values-v21/base-colors.xml b/samples/browseable/HdrViewfinder/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/HdrViewfinder/res/values-v21/base-colors.xml +++ b/samples/browseable/HdrViewfinder/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/HdrViewfinder/res/values-v21/base-template-styles.xml b/samples/browseable/HdrViewfinder/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/HdrViewfinder/res/values-v21/base-template-styles.xml +++ b/samples/browseable/HdrViewfinder/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/HdrViewfinder/res/values/base-strings.xml b/samples/browseable/HdrViewfinder/res/values/base-strings.xml index 64c518cb9..effcf645e 100644 --- a/samples/browseable/HdrViewfinder/res/values/base-strings.xml +++ b/samples/browseable/HdrViewfinder/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">HdrViewfinder</string> <string name="intro_message"> diff --git a/samples/browseable/HorizontalPaging/_index.jd b/samples/browseable/HorizontalPaging/_index.jd index 4e4ba00a2..6acb149fa 100644 --- a/samples/browseable/HorizontalPaging/_index.jd +++ b/samples/browseable/HorizontalPaging/_index.jd @@ -1,3 +1,4 @@ + page.tags="HorizontalPaging" sample.group=UI @jd:body diff --git a/samples/browseable/HorizontalPaging/res/values-v21/base-colors.xml b/samples/browseable/HorizontalPaging/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/HorizontalPaging/res/values-v21/base-colors.xml +++ b/samples/browseable/HorizontalPaging/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/HorizontalPaging/res/values-v21/base-template-styles.xml b/samples/browseable/HorizontalPaging/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/HorizontalPaging/res/values-v21/base-template-styles.xml +++ b/samples/browseable/HorizontalPaging/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/HorizontalPaging/res/values/base-strings.xml b/samples/browseable/HorizontalPaging/res/values/base-strings.xml index 3f5d5a9cb..eb02d466f 100644 --- a/samples/browseable/HorizontalPaging/res/values/base-strings.xml +++ b/samples/browseable/HorizontalPaging/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">HorizontalPaging</string> <string name="intro_message"> diff --git a/samples/browseable/ImmersiveMode/_index.jd b/samples/browseable/ImmersiveMode/_index.jd index 38c7fbdd0..2c560aa92 100644 --- a/samples/browseable/ImmersiveMode/_index.jd +++ b/samples/browseable/ImmersiveMode/_index.jd @@ -1,3 +1,4 @@ + page.tags="ImmersiveMode" sample.group=UI @jd:body diff --git a/samples/browseable/ImmersiveMode/res/values-v21/base-colors.xml b/samples/browseable/ImmersiveMode/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/ImmersiveMode/res/values-v21/base-colors.xml +++ b/samples/browseable/ImmersiveMode/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/ImmersiveMode/res/values-v21/base-template-styles.xml b/samples/browseable/ImmersiveMode/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/ImmersiveMode/res/values-v21/base-template-styles.xml +++ b/samples/browseable/ImmersiveMode/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/ImmersiveMode/res/values/base-strings.xml b/samples/browseable/ImmersiveMode/res/values/base-strings.xml index a247c6bfc..3021d4cac 100644 --- a/samples/browseable/ImmersiveMode/res/values/base-strings.xml +++ b/samples/browseable/ImmersiveMode/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">ImmersiveMode</string> <string name="intro_message"> diff --git a/samples/browseable/ImmersiveMode/res/values/strings.xml b/samples/browseable/ImmersiveMode/res/values/strings.xml index 65ee47d33..ad7e48542 100644 --- a/samples/browseable/ImmersiveMode/res/values/strings.xml +++ b/samples/browseable/ImmersiveMode/res/values/strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="sample_action">Toggle immersive mode!</string> </resources> diff --git a/samples/browseable/ImmersiveMode/src/com.example.android.immersivemode/MainActivity.java b/samples/browseable/ImmersiveMode/src/com.example.android.immersivemode/MainActivity.java index 645e92f8a..e94149faa 100644 --- a/samples/browseable/ImmersiveMode/src/com.example.android.immersivemode/MainActivity.java +++ b/samples/browseable/ImmersiveMode/src/com.example.android.immersivemode/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.immersivemode; import android.graphics.Color; diff --git a/samples/browseable/Interpolator/_index.jd b/samples/browseable/Interpolator/_index.jd index 30aa7a8ea..16ead22da 100644 --- a/samples/browseable/Interpolator/_index.jd +++ b/samples/browseable/Interpolator/_index.jd @@ -1,3 +1,4 @@ + page.tags="Interpolator" sample.group=UI @jd:body diff --git a/samples/browseable/Interpolator/res/values-v21/base-colors.xml b/samples/browseable/Interpolator/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/Interpolator/res/values-v21/base-colors.xml +++ b/samples/browseable/Interpolator/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/Interpolator/res/values-v21/base-template-styles.xml b/samples/browseable/Interpolator/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/Interpolator/res/values-v21/base-template-styles.xml +++ b/samples/browseable/Interpolator/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/Interpolator/res/values/base-strings.xml b/samples/browseable/Interpolator/res/values/base-strings.xml index 499766780..a22c0dc45 100644 --- a/samples/browseable/Interpolator/res/values/base-strings.xml +++ b/samples/browseable/Interpolator/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">Interpolator</string> <string name="intro_message"> diff --git a/samples/browseable/Interpolator/src/com.example.android.interpolator/MainActivity.java b/samples/browseable/Interpolator/src/com.example.android.interpolator/MainActivity.java index f71fd053a..925aec773 100644 --- a/samples/browseable/Interpolator/src/com.example.android.interpolator/MainActivity.java +++ b/samples/browseable/Interpolator/src/com.example.android.interpolator/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.interpolator; import android.os.Bundle; diff --git a/samples/browseable/JobScheduler/_index.jd b/samples/browseable/JobScheduler/_index.jd index 7f438ea51..658127f3f 100644 --- a/samples/browseable/JobScheduler/_index.jd +++ b/samples/browseable/JobScheduler/_index.jd @@ -1,3 +1,4 @@ + page.tags="JobScheduler" sample.group=Background @jd:body diff --git a/samples/browseable/JobScheduler/res/values-v21/base-colors.xml b/samples/browseable/JobScheduler/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/JobScheduler/res/values-v21/base-colors.xml +++ b/samples/browseable/JobScheduler/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/JobScheduler/res/values-v21/base-template-styles.xml b/samples/browseable/JobScheduler/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/JobScheduler/res/values-v21/base-template-styles.xml +++ b/samples/browseable/JobScheduler/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/JobScheduler/res/values/base-strings.xml b/samples/browseable/JobScheduler/res/values/base-strings.xml index 90ee18ab8..cd8634406 100644 --- a/samples/browseable/JobScheduler/res/values/base-strings.xml +++ b/samples/browseable/JobScheduler/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">JobScheduler</string> <string name="intro_message"> diff --git a/samples/browseable/JumpingJack/_index.jd b/samples/browseable/JumpingJack/_index.jd index d742e9ef5..3b550508f 100644 --- a/samples/browseable/JumpingJack/_index.jd +++ b/samples/browseable/JumpingJack/_index.jd @@ -1,3 +1,4 @@ + page.tags="JumpingJack" sample.group=Wearable @jd:body diff --git a/samples/browseable/LNotifications/_index.jd b/samples/browseable/LNotifications/_index.jd index d156267db..06bb60936 100644 --- a/samples/browseable/LNotifications/_index.jd +++ b/samples/browseable/LNotifications/_index.jd @@ -1,3 +1,4 @@ + page.tags="LNotifications Sample" sample.group=Notification @jd:body diff --git a/samples/browseable/LNotifications/res/values-v21/base-colors.xml b/samples/browseable/LNotifications/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/LNotifications/res/values-v21/base-colors.xml +++ b/samples/browseable/LNotifications/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/LNotifications/res/values-v21/base-template-styles.xml b/samples/browseable/LNotifications/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/LNotifications/res/values-v21/base-template-styles.xml +++ b/samples/browseable/LNotifications/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/LNotifications/res/values/base-strings.xml b/samples/browseable/LNotifications/res/values/base-strings.xml index 417452d97..aec51eb15 100644 --- a/samples/browseable/LNotifications/res/values/base-strings.xml +++ b/samples/browseable/LNotifications/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">LNotifications Sample</string> <string name="intro_message"> diff --git a/samples/browseable/MediaBrowserService/_index.jd b/samples/browseable/MediaBrowserService/_index.jd index f7454ecee..6e2af25ac 100644 --- a/samples/browseable/MediaBrowserService/_index.jd +++ b/samples/browseable/MediaBrowserService/_index.jd @@ -1,3 +1,4 @@ + page.tags="MediaBrowserService" sample.group=Media @jd:body diff --git a/samples/browseable/MediaEffects/_index.jd b/samples/browseable/MediaEffects/_index.jd index 76448c36d..b43a483fe 100644 --- a/samples/browseable/MediaEffects/_index.jd +++ b/samples/browseable/MediaEffects/_index.jd @@ -1,3 +1,4 @@ + page.tags="MediaEffects" sample.group=Media @jd:body diff --git a/samples/browseable/MediaEffects/res/values-v21/base-colors.xml b/samples/browseable/MediaEffects/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/MediaEffects/res/values-v21/base-colors.xml +++ b/samples/browseable/MediaEffects/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/MediaEffects/res/values-v21/base-template-styles.xml b/samples/browseable/MediaEffects/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/MediaEffects/res/values-v21/base-template-styles.xml +++ b/samples/browseable/MediaEffects/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/MediaEffects/res/values/base-strings.xml b/samples/browseable/MediaEffects/res/values/base-strings.xml index 1acde2131..05f445c08 100644 --- a/samples/browseable/MediaEffects/res/values/base-strings.xml +++ b/samples/browseable/MediaEffects/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">MediaEffects</string> <string name="intro_message"> diff --git a/samples/browseable/MediaEffects/src/com.example.android.mediaeffects/MainActivity.java b/samples/browseable/MediaEffects/src/com.example.android.mediaeffects/MainActivity.java index be6224310..57e2b50d2 100644 --- a/samples/browseable/MediaEffects/src/com.example.android.mediaeffects/MainActivity.java +++ b/samples/browseable/MediaEffects/src/com.example.android.mediaeffects/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.mediaeffects; import android.os.Bundle; diff --git a/samples/browseable/MediaRecorder/_index.jd b/samples/browseable/MediaRecorder/_index.jd index 54b37c8f1..f1ab58787 100644 --- a/samples/browseable/MediaRecorder/_index.jd +++ b/samples/browseable/MediaRecorder/_index.jd @@ -1,3 +1,4 @@ + page.tags="MediaRecorder" sample.group=Media @jd:body diff --git a/samples/browseable/MediaRecorder/res/values-v21/base-colors.xml b/samples/browseable/MediaRecorder/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/MediaRecorder/res/values-v21/base-colors.xml +++ b/samples/browseable/MediaRecorder/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/MediaRecorder/res/values-v21/base-template-styles.xml b/samples/browseable/MediaRecorder/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/MediaRecorder/res/values-v21/base-template-styles.xml +++ b/samples/browseable/MediaRecorder/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/MediaRecorder/res/values/base-strings.xml b/samples/browseable/MediaRecorder/res/values/base-strings.xml index 91a0b44ca..7a500d064 100644 --- a/samples/browseable/MediaRecorder/res/values/base-strings.xml +++ b/samples/browseable/MediaRecorder/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">MediaRecorder</string> <string name="intro_message"> diff --git a/samples/browseable/MediaRouter/_index.jd b/samples/browseable/MediaRouter/_index.jd index 66ac11357..30679d839 100644 --- a/samples/browseable/MediaRouter/_index.jd +++ b/samples/browseable/MediaRouter/_index.jd @@ -1,3 +1,4 @@ + page.tags="MediaRouter" sample.group=Media @jd:body diff --git a/samples/browseable/MediaRouter/res/values-v21/base-colors.xml b/samples/browseable/MediaRouter/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/MediaRouter/res/values-v21/base-colors.xml +++ b/samples/browseable/MediaRouter/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/MediaRouter/res/values-v21/base-template-styles.xml b/samples/browseable/MediaRouter/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/MediaRouter/res/values-v21/base-template-styles.xml +++ b/samples/browseable/MediaRouter/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/MediaRouter/res/values/base-strings.xml b/samples/browseable/MediaRouter/res/values/base-strings.xml index 667c735f3..129562da8 100644 --- a/samples/browseable/MediaRouter/res/values/base-strings.xml +++ b/samples/browseable/MediaRouter/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">MediaRouter</string> <string name="intro_message"> diff --git a/samples/browseable/MessagingService/_index.jd b/samples/browseable/MessagingService/_index.jd index ceaba3440..ce82da804 100644 --- a/samples/browseable/MessagingService/_index.jd +++ b/samples/browseable/MessagingService/_index.jd @@ -1,3 +1,4 @@ + page.tags="MessagingService" sample.group=Notification @jd:body diff --git a/samples/browseable/NavigationDrawer/_index.jd b/samples/browseable/NavigationDrawer/_index.jd index 7238cf1d0..904ac925f 100644 --- a/samples/browseable/NavigationDrawer/_index.jd +++ b/samples/browseable/NavigationDrawer/_index.jd @@ -1,3 +1,4 @@ + page.tags="Navigation Drawer" sample.group=UI @jd:body diff --git a/samples/browseable/NavigationDrawer/res/values-v21/base-colors.xml b/samples/browseable/NavigationDrawer/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/NavigationDrawer/res/values-v21/base-colors.xml +++ b/samples/browseable/NavigationDrawer/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/NavigationDrawer/res/values-v21/base-template-styles.xml b/samples/browseable/NavigationDrawer/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/NavigationDrawer/res/values-v21/base-template-styles.xml +++ b/samples/browseable/NavigationDrawer/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/NavigationDrawer/res/values/activitycards-strings.xml b/samples/browseable/NavigationDrawer/res/values/activitycards-strings.xml index 885a1ecb8..3803f186b 100644 --- a/samples/browseable/NavigationDrawer/res/values/activitycards-strings.xml +++ b/samples/browseable/NavigationDrawer/res/values/activitycards-strings.xml @@ -15,6 +15,7 @@ limitations under the License. --> + <resources> <string name="navigationdraweractivity_title">Navigation Drawer Example</string> <string name="navigationdraweractivity_description">This example illustrates a common usage of the DrawerLayout widget in the Android diff --git a/samples/browseable/NavigationDrawer/res/values/base-strings.xml b/samples/browseable/NavigationDrawer/res/values/base-strings.xml index 62e842624..b5905d29d 100644 --- a/samples/browseable/NavigationDrawer/res/values/base-strings.xml +++ b/samples/browseable/NavigationDrawer/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">Navigation Drawer</string> <string name="intro_message"> diff --git a/samples/browseable/NavigationDrawer/src/com.example.android.navigationdrawer/MainActivity.java b/samples/browseable/NavigationDrawer/src/com.example.android.navigationdrawer/MainActivity.java index 665edf37f..834d4f288 100644 --- a/samples/browseable/NavigationDrawer/src/com.example.android.navigationdrawer/MainActivity.java +++ b/samples/browseable/NavigationDrawer/src/com.example.android.navigationdrawer/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.navigationdrawer; import android.app.Activity; diff --git a/samples/browseable/NetworkConnect/_index.jd b/samples/browseable/NetworkConnect/_index.jd index 7d67dd3dd..7be3ce205 100644 --- a/samples/browseable/NetworkConnect/_index.jd +++ b/samples/browseable/NetworkConnect/_index.jd @@ -1,3 +1,4 @@ + page.tags="NetworkConnect" sample.group=Connectivity @jd:body diff --git a/samples/browseable/NetworkConnect/res/values-v21/base-colors.xml b/samples/browseable/NetworkConnect/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/NetworkConnect/res/values-v21/base-colors.xml +++ b/samples/browseable/NetworkConnect/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/NetworkConnect/res/values-v21/base-template-styles.xml b/samples/browseable/NetworkConnect/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/NetworkConnect/res/values-v21/base-template-styles.xml +++ b/samples/browseable/NetworkConnect/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/NetworkConnect/res/values/base-strings.xml b/samples/browseable/NetworkConnect/res/values/base-strings.xml index 75b3a8cb0..ae4485e0e 100644 --- a/samples/browseable/NetworkConnect/res/values/base-strings.xml +++ b/samples/browseable/NetworkConnect/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">NetworkConnect</string> <string name="intro_message"> diff --git a/samples/browseable/NfcProvisioning/_index.jd b/samples/browseable/NfcProvisioning/_index.jd index fa427578f..373851880 100644 --- a/samples/browseable/NfcProvisioning/_index.jd +++ b/samples/browseable/NfcProvisioning/_index.jd @@ -1,3 +1,4 @@ + page.tags="NfcProvisioning" sample.group=Admin @jd:body diff --git a/samples/browseable/NfcProvisioning/res/values-v21/base-colors.xml b/samples/browseable/NfcProvisioning/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/NfcProvisioning/res/values-v21/base-colors.xml +++ b/samples/browseable/NfcProvisioning/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/NfcProvisioning/res/values-v21/base-template-styles.xml b/samples/browseable/NfcProvisioning/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/NfcProvisioning/res/values-v21/base-template-styles.xml +++ b/samples/browseable/NfcProvisioning/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/NfcProvisioning/res/values/base-strings.xml b/samples/browseable/NfcProvisioning/res/values/base-strings.xml index 0114f3ebd..33a8bfb81 100644 --- a/samples/browseable/NfcProvisioning/res/values/base-strings.xml +++ b/samples/browseable/NfcProvisioning/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">NfcProvisioning</string> <string name="intro_message"> diff --git a/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/MainActivity.java b/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/MainActivity.java index 768e1c8da..2d78ac825 100644 --- a/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/MainActivity.java +++ b/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.nfcprovisioning; import android.os.Bundle; diff --git a/samples/browseable/Notifications/Application/res/values-v21/base-colors.xml b/samples/browseable/Notifications/Application/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/Notifications/Application/res/values-v21/base-colors.xml +++ b/samples/browseable/Notifications/Application/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/Notifications/Application/res/values-v21/base-template-styles.xml b/samples/browseable/Notifications/Application/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/Notifications/Application/res/values-v21/base-template-styles.xml +++ b/samples/browseable/Notifications/Application/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/Notifications/Application/res/values/base-strings.xml b/samples/browseable/Notifications/Application/res/values/base-strings.xml index 55d83b021..9ab282f7e 100644 --- a/samples/browseable/Notifications/Application/res/values/base-strings.xml +++ b/samples/browseable/Notifications/Application/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">Wearable Notifications</string> <string name="intro_message"> diff --git a/samples/browseable/Notifications/_index.jd b/samples/browseable/Notifications/_index.jd index ba2823317..e2bfa36b3 100644 --- a/samples/browseable/Notifications/_index.jd +++ b/samples/browseable/Notifications/_index.jd @@ -1,3 +1,4 @@ + page.tags="Wearable Notifications" sample.group=Wearable @jd:body diff --git a/samples/browseable/PdfRendererBasic/_index.jd b/samples/browseable/PdfRendererBasic/_index.jd index 59c5a5309..728dcb1bc 100644 --- a/samples/browseable/PdfRendererBasic/_index.jd +++ b/samples/browseable/PdfRendererBasic/_index.jd @@ -1,3 +1,4 @@ + page.tags="PdfRendererBasic" sample.group=UI @jd:body diff --git a/samples/browseable/PdfRendererBasic/res/values-v21/base-colors.xml b/samples/browseable/PdfRendererBasic/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/PdfRendererBasic/res/values-v21/base-colors.xml +++ b/samples/browseable/PdfRendererBasic/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/PdfRendererBasic/res/values-v21/base-template-styles.xml b/samples/browseable/PdfRendererBasic/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/PdfRendererBasic/res/values-v21/base-template-styles.xml +++ b/samples/browseable/PdfRendererBasic/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/PdfRendererBasic/res/values/base-strings.xml b/samples/browseable/PdfRendererBasic/res/values/base-strings.xml index d97b3c6a8..51b7dd222 100644 --- a/samples/browseable/PdfRendererBasic/res/values/base-strings.xml +++ b/samples/browseable/PdfRendererBasic/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">PdfRendererBasic</string> <string name="intro_message"> diff --git a/samples/browseable/PermissionRequest/_index.jd b/samples/browseable/PermissionRequest/_index.jd index d0f678579..a10dec1c8 100644 --- a/samples/browseable/PermissionRequest/_index.jd +++ b/samples/browseable/PermissionRequest/_index.jd @@ -1,3 +1,4 @@ + page.tags="PermissionRequest" sample.group=Content @jd:body diff --git a/samples/browseable/PermissionRequest/res/values-v21/base-colors.xml b/samples/browseable/PermissionRequest/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/PermissionRequest/res/values-v21/base-colors.xml +++ b/samples/browseable/PermissionRequest/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/PermissionRequest/res/values-v21/base-template-styles.xml b/samples/browseable/PermissionRequest/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/PermissionRequest/res/values-v21/base-template-styles.xml +++ b/samples/browseable/PermissionRequest/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/PermissionRequest/res/values/base-strings.xml b/samples/browseable/PermissionRequest/res/values/base-strings.xml index c66a246ae..6a7a5f67b 100644 --- a/samples/browseable/PermissionRequest/res/values/base-strings.xml +++ b/samples/browseable/PermissionRequest/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">PermissionRequest</string> <string name="intro_message"> diff --git a/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/MainActivity.java b/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/MainActivity.java index a11849fc4..8bdd42d63 100644 --- a/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/MainActivity.java +++ b/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.permissionrequest; import android.os.Bundle; diff --git a/samples/browseable/Quiz/Application/res/values-v21/base-colors.xml b/samples/browseable/Quiz/Application/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/Quiz/Application/res/values-v21/base-colors.xml +++ b/samples/browseable/Quiz/Application/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/Quiz/Application/res/values-v21/base-template-styles.xml b/samples/browseable/Quiz/Application/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/Quiz/Application/res/values-v21/base-template-styles.xml +++ b/samples/browseable/Quiz/Application/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/Quiz/Application/res/values/base-strings.xml b/samples/browseable/Quiz/Application/res/values/base-strings.xml index 527d03896..156bb925d 100644 --- a/samples/browseable/Quiz/Application/res/values/base-strings.xml +++ b/samples/browseable/Quiz/Application/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">Quiz</string> <string name="intro_message"> diff --git a/samples/browseable/Quiz/_index.jd b/samples/browseable/Quiz/_index.jd index 3c1a1daa1..06c152b93 100644 --- a/samples/browseable/Quiz/_index.jd +++ b/samples/browseable/Quiz/_index.jd @@ -1,3 +1,4 @@ + page.tags="Quiz" sample.group=Wearable @jd:body diff --git a/samples/browseable/RecipeAssistant/Application/res/values-v21/base-colors.xml b/samples/browseable/RecipeAssistant/Application/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/RecipeAssistant/Application/res/values-v21/base-colors.xml +++ b/samples/browseable/RecipeAssistant/Application/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/RecipeAssistant/Application/res/values-v21/base-template-styles.xml b/samples/browseable/RecipeAssistant/Application/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/RecipeAssistant/Application/res/values-v21/base-template-styles.xml +++ b/samples/browseable/RecipeAssistant/Application/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/RecipeAssistant/Application/res/values/base-strings.xml b/samples/browseable/RecipeAssistant/Application/res/values/base-strings.xml index e536fbd5e..6caf8129b 100644 --- a/samples/browseable/RecipeAssistant/Application/res/values/base-strings.xml +++ b/samples/browseable/RecipeAssistant/Application/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">RecipeAssistant</string> <string name="intro_message"> diff --git a/samples/browseable/RecipeAssistant/_index.jd b/samples/browseable/RecipeAssistant/_index.jd index 0860bce87..0d2f7da20 100644 --- a/samples/browseable/RecipeAssistant/_index.jd +++ b/samples/browseable/RecipeAssistant/_index.jd @@ -1,3 +1,4 @@ + page.tags="RecipeAssistant" sample.group=Wearable @jd:body diff --git a/samples/browseable/RecyclerView/_index.jd b/samples/browseable/RecyclerView/_index.jd index 31b0facbf..18005f121 100644 --- a/samples/browseable/RecyclerView/_index.jd +++ b/samples/browseable/RecyclerView/_index.jd @@ -1,3 +1,4 @@ + page.tags="RecyclerView" sample.group=UI @jd:body diff --git a/samples/browseable/RecyclerView/res/values-v21/base-colors.xml b/samples/browseable/RecyclerView/res/values-v21/base-colors.xml index 16853b126..58f08a3a8 100644 --- a/samples/browseable/RecyclerView/res/values-v21/base-colors.xml +++ b/samples/browseable/RecyclerView/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <color name="colorPrimary">#00BCD4</color> diff --git a/samples/browseable/RecyclerView/res/values-v21/base-template-styles.xml b/samples/browseable/RecyclerView/res/values-v21/base-template-styles.xml index c2b4c8ea7..0995e4d29 100644 --- a/samples/browseable/RecyclerView/res/values-v21/base-template-styles.xml +++ b/samples/browseable/RecyclerView/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/RecyclerView/res/values/base-strings.xml b/samples/browseable/RecyclerView/res/values/base-strings.xml index 7580f122a..3ccf66073 100644 --- a/samples/browseable/RecyclerView/res/values/base-strings.xml +++ b/samples/browseable/RecyclerView/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">RecyclerView</string> <string name="intro_message"> diff --git a/samples/browseable/RecyclerView/src/com.example.android.recyclerview/MainActivity.java b/samples/browseable/RecyclerView/src/com.example.android.recyclerview/MainActivity.java index 75560679d..e428e39ea 100644 --- a/samples/browseable/RecyclerView/src/com.example.android.recyclerview/MainActivity.java +++ b/samples/browseable/RecyclerView/src/com.example.android.recyclerview/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.recyclerview; import android.os.Bundle; diff --git a/samples/browseable/RenderScriptIntrinsic/_index.jd b/samples/browseable/RenderScriptIntrinsic/_index.jd index f5d5e4e06..3684d241a 100644 --- a/samples/browseable/RenderScriptIntrinsic/_index.jd +++ b/samples/browseable/RenderScriptIntrinsic/_index.jd @@ -1,3 +1,4 @@ + page.tags="RenderScriptIntrinsic" sample.group=RenderScript @jd:body diff --git a/samples/browseable/RenderScriptIntrinsic/res/values-v21/base-colors.xml b/samples/browseable/RenderScriptIntrinsic/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/RenderScriptIntrinsic/res/values-v21/base-colors.xml +++ b/samples/browseable/RenderScriptIntrinsic/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/RenderScriptIntrinsic/res/values-v21/base-template-styles.xml b/samples/browseable/RenderScriptIntrinsic/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/RenderScriptIntrinsic/res/values-v21/base-template-styles.xml +++ b/samples/browseable/RenderScriptIntrinsic/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/RenderScriptIntrinsic/res/values/base-strings.xml b/samples/browseable/RenderScriptIntrinsic/res/values/base-strings.xml index e32a25973..eefbf6cc0 100644 --- a/samples/browseable/RenderScriptIntrinsic/res/values/base-strings.xml +++ b/samples/browseable/RenderScriptIntrinsic/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">RenderScriptIntrinsic</string> <string name="intro_message"> diff --git a/samples/browseable/RepeatingAlarm/_index.jd b/samples/browseable/RepeatingAlarm/_index.jd index 1735034c8..60ae8e377 100644 --- a/samples/browseable/RepeatingAlarm/_index.jd +++ b/samples/browseable/RepeatingAlarm/_index.jd @@ -1,3 +1,4 @@ + page.tags="RepeatingAlarm" sample.group=Background @jd:body diff --git a/samples/browseable/RepeatingAlarm/res/values-v21/base-colors.xml b/samples/browseable/RepeatingAlarm/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/RepeatingAlarm/res/values-v21/base-colors.xml +++ b/samples/browseable/RepeatingAlarm/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/RepeatingAlarm/res/values-v21/base-template-styles.xml b/samples/browseable/RepeatingAlarm/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/RepeatingAlarm/res/values-v21/base-template-styles.xml +++ b/samples/browseable/RepeatingAlarm/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/RepeatingAlarm/res/values/base-strings.xml b/samples/browseable/RepeatingAlarm/res/values/base-strings.xml index e6170d2bc..5aa04c638 100644 --- a/samples/browseable/RepeatingAlarm/res/values/base-strings.xml +++ b/samples/browseable/RepeatingAlarm/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">RepeatingAlarm</string> <string name="intro_message"> diff --git a/samples/browseable/RepeatingAlarm/res/values/strings.xml b/samples/browseable/RepeatingAlarm/res/values/strings.xml index 59a8ff229..6aabc67ff 100644 --- a/samples/browseable/RepeatingAlarm/res/values/strings.xml +++ b/samples/browseable/RepeatingAlarm/res/values/strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="sample_action">Set Alarm</string> </resources> diff --git a/samples/browseable/RepeatingAlarm/src/com.example.android.repeatingalarm/MainActivity.java b/samples/browseable/RepeatingAlarm/src/com.example.android.repeatingalarm/MainActivity.java index b7527d526..2f4a53949 100644 --- a/samples/browseable/RepeatingAlarm/src/com.example.android.repeatingalarm/MainActivity.java +++ b/samples/browseable/RepeatingAlarm/src/com.example.android.repeatingalarm/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.repeatingalarm; import android.graphics.Color; diff --git a/samples/browseable/RevealEffectBasic/_index.jd b/samples/browseable/RevealEffectBasic/_index.jd index c48c617d8..f1e926847 100644 --- a/samples/browseable/RevealEffectBasic/_index.jd +++ b/samples/browseable/RevealEffectBasic/_index.jd @@ -1,3 +1,4 @@ + page.tags="RevealEffectBasic" sample.group=UI @jd:body diff --git a/samples/browseable/RevealEffectBasic/res/values-v21/base-colors.xml b/samples/browseable/RevealEffectBasic/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/RevealEffectBasic/res/values-v21/base-colors.xml +++ b/samples/browseable/RevealEffectBasic/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/RevealEffectBasic/res/values-v21/base-template-styles.xml b/samples/browseable/RevealEffectBasic/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/RevealEffectBasic/res/values-v21/base-template-styles.xml +++ b/samples/browseable/RevealEffectBasic/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/RevealEffectBasic/res/values/base-strings.xml b/samples/browseable/RevealEffectBasic/res/values/base-strings.xml index b4aa183d7..11b98398f 100644 --- a/samples/browseable/RevealEffectBasic/res/values/base-strings.xml +++ b/samples/browseable/RevealEffectBasic/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">RevealEffectBasic</string> <string name="intro_message"> diff --git a/samples/browseable/RevealEffectBasic/src/com.example.android.revealeffectbasic/MainActivity.java b/samples/browseable/RevealEffectBasic/src/com.example.android.revealeffectbasic/MainActivity.java index e9b27d9cf..6d7188e61 100644 --- a/samples/browseable/RevealEffectBasic/src/com.example.android.revealeffectbasic/MainActivity.java +++ b/samples/browseable/RevealEffectBasic/src/com.example.android.revealeffectbasic/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.revealeffectbasic; import android.os.Bundle; diff --git a/samples/browseable/ScreenCapture/_index.jd b/samples/browseable/ScreenCapture/_index.jd index ee22e4b53..2b14ede52 100644 --- a/samples/browseable/ScreenCapture/_index.jd +++ b/samples/browseable/ScreenCapture/_index.jd @@ -1,3 +1,4 @@ + page.tags="ScreenCapture" sample.group=Media @jd:body diff --git a/samples/browseable/ScreenCapture/res/values-v21/base-colors.xml b/samples/browseable/ScreenCapture/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/ScreenCapture/res/values-v21/base-colors.xml +++ b/samples/browseable/ScreenCapture/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/ScreenCapture/res/values-v21/base-template-styles.xml b/samples/browseable/ScreenCapture/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/ScreenCapture/res/values-v21/base-template-styles.xml +++ b/samples/browseable/ScreenCapture/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/ScreenCapture/res/values/base-strings.xml b/samples/browseable/ScreenCapture/res/values/base-strings.xml index 79880f0b9..3118f3ec1 100644 --- a/samples/browseable/ScreenCapture/res/values/base-strings.xml +++ b/samples/browseable/ScreenCapture/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">ScreenCapture</string> <string name="intro_message"> diff --git a/samples/browseable/ScreenCapture/src/com.example.android.screencapture/MainActivity.java b/samples/browseable/ScreenCapture/src/com.example.android.screencapture/MainActivity.java index 67ae9e89e..d26e78ffd 100644 --- a/samples/browseable/ScreenCapture/src/com.example.android.screencapture/MainActivity.java +++ b/samples/browseable/ScreenCapture/src/com.example.android.screencapture/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.screencapture; import android.os.Bundle; diff --git a/samples/browseable/SkeletonWearableApp/_index.jd b/samples/browseable/SkeletonWearableApp/_index.jd index f3ab4256f..8ec4d4a6f 100644 --- a/samples/browseable/SkeletonWearableApp/_index.jd +++ b/samples/browseable/SkeletonWearableApp/_index.jd @@ -1,3 +1,4 @@ + page.tags="SkeletonWearableApp" sample.group=Wearable @jd:body diff --git a/samples/browseable/SlidingTabsBasic/_index.jd b/samples/browseable/SlidingTabsBasic/_index.jd index ec30b9f9f..bbe9233c2 100644 --- a/samples/browseable/SlidingTabsBasic/_index.jd +++ b/samples/browseable/SlidingTabsBasic/_index.jd @@ -1,3 +1,4 @@ + page.tags="SlidingTabsBasic" sample.group=UI @jd:body diff --git a/samples/browseable/SlidingTabsBasic/res/values-v21/base-colors.xml b/samples/browseable/SlidingTabsBasic/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/SlidingTabsBasic/res/values-v21/base-colors.xml +++ b/samples/browseable/SlidingTabsBasic/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/SlidingTabsBasic/res/values-v21/base-template-styles.xml b/samples/browseable/SlidingTabsBasic/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/SlidingTabsBasic/res/values-v21/base-template-styles.xml +++ b/samples/browseable/SlidingTabsBasic/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/SlidingTabsBasic/res/values/base-strings.xml b/samples/browseable/SlidingTabsBasic/res/values/base-strings.xml index ea90429e6..55eb4cebd 100644 --- a/samples/browseable/SlidingTabsBasic/res/values/base-strings.xml +++ b/samples/browseable/SlidingTabsBasic/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">SlidingTabsBasic</string> <string name="intro_message"> diff --git a/samples/browseable/SlidingTabsBasic/src/com.example.android.slidingtabsbasic/MainActivity.java b/samples/browseable/SlidingTabsBasic/src/com.example.android.slidingtabsbasic/MainActivity.java index d7d2ff50f..2bdc1e52c 100644 --- a/samples/browseable/SlidingTabsBasic/src/com.example.android.slidingtabsbasic/MainActivity.java +++ b/samples/browseable/SlidingTabsBasic/src/com.example.android.slidingtabsbasic/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.slidingtabsbasic; import android.os.Bundle; diff --git a/samples/browseable/SlidingTabsColors/_index.jd b/samples/browseable/SlidingTabsColors/_index.jd index 5fc023eb3..08c8842bf 100644 --- a/samples/browseable/SlidingTabsColors/_index.jd +++ b/samples/browseable/SlidingTabsColors/_index.jd @@ -1,3 +1,4 @@ + page.tags="SlidingTabsColors" sample.group=UI @jd:body diff --git a/samples/browseable/SlidingTabsColors/res/values-v21/base-colors.xml b/samples/browseable/SlidingTabsColors/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/SlidingTabsColors/res/values-v21/base-colors.xml +++ b/samples/browseable/SlidingTabsColors/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/SlidingTabsColors/res/values-v21/base-template-styles.xml b/samples/browseable/SlidingTabsColors/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/SlidingTabsColors/res/values-v21/base-template-styles.xml +++ b/samples/browseable/SlidingTabsColors/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/SlidingTabsColors/res/values/base-strings.xml b/samples/browseable/SlidingTabsColors/res/values/base-strings.xml index 66070a411..e77d26154 100644 --- a/samples/browseable/SlidingTabsColors/res/values/base-strings.xml +++ b/samples/browseable/SlidingTabsColors/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">SlidingTabsColors</string> <string name="intro_message"> diff --git a/samples/browseable/SlidingTabsColors/src/com.example.android.slidingtabscolors/MainActivity.java b/samples/browseable/SlidingTabsColors/src/com.example.android.slidingtabscolors/MainActivity.java index dc1205ba1..df55e0541 100644 --- a/samples/browseable/SlidingTabsColors/src/com.example.android.slidingtabscolors/MainActivity.java +++ b/samples/browseable/SlidingTabsColors/src/com.example.android.slidingtabscolors/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.slidingtabscolors; import android.os.Bundle; diff --git a/samples/browseable/SpeedTracker/Application/res/values-v21/base-colors.xml b/samples/browseable/SpeedTracker/Application/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/SpeedTracker/Application/res/values-v21/base-colors.xml +++ b/samples/browseable/SpeedTracker/Application/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/SpeedTracker/Application/res/values-v21/base-template-styles.xml b/samples/browseable/SpeedTracker/Application/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/SpeedTracker/Application/res/values-v21/base-template-styles.xml +++ b/samples/browseable/SpeedTracker/Application/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/SpeedTracker/Application/res/values/base-strings.xml b/samples/browseable/SpeedTracker/Application/res/values/base-strings.xml index 0d22a8789..61f103ceb 100644 --- a/samples/browseable/SpeedTracker/Application/res/values/base-strings.xml +++ b/samples/browseable/SpeedTracker/Application/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">Speed Tracker</string> <string name="intro_message"> diff --git a/samples/browseable/SpeedTracker/_index.jd b/samples/browseable/SpeedTracker/_index.jd index 298926f1f..e87095247 100644 --- a/samples/browseable/SpeedTracker/_index.jd +++ b/samples/browseable/SpeedTracker/_index.jd @@ -1,3 +1,4 @@ + page.tags="Speed Tracker" sample.group=Wearable @jd:body diff --git a/samples/browseable/StorageClient/_index.jd b/samples/browseable/StorageClient/_index.jd index d1444f5a5..06bf16c30 100644 --- a/samples/browseable/StorageClient/_index.jd +++ b/samples/browseable/StorageClient/_index.jd @@ -1,3 +1,4 @@ + page.tags="StorageClient" sample.group=Content @jd:body diff --git a/samples/browseable/StorageClient/res/values-v21/base-colors.xml b/samples/browseable/StorageClient/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/StorageClient/res/values-v21/base-colors.xml +++ b/samples/browseable/StorageClient/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/StorageClient/res/values-v21/base-template-styles.xml b/samples/browseable/StorageClient/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/StorageClient/res/values-v21/base-template-styles.xml +++ b/samples/browseable/StorageClient/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/StorageClient/res/values/base-strings.xml b/samples/browseable/StorageClient/res/values/base-strings.xml index 0e3659dd1..5b0ccbaea 100644 --- a/samples/browseable/StorageClient/res/values/base-strings.xml +++ b/samples/browseable/StorageClient/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">StorageClient</string> <string name="intro_message"> diff --git a/samples/browseable/StorageClient/res/values/strings.xml b/samples/browseable/StorageClient/res/values/strings.xml index c571bb586..1f29efcac 100644 --- a/samples/browseable/StorageClient/res/values/strings.xml +++ b/samples/browseable/StorageClient/res/values/strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="sample_action">Show Me The Image</string> </resources> diff --git a/samples/browseable/StorageClient/src/com.example.android.storageclient/MainActivity.java b/samples/browseable/StorageClient/src/com.example.android.storageclient/MainActivity.java index 2925d011c..be9c1607c 100644 --- a/samples/browseable/StorageClient/src/com.example.android.storageclient/MainActivity.java +++ b/samples/browseable/StorageClient/src/com.example.android.storageclient/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.storageclient; import android.graphics.Color; diff --git a/samples/browseable/StorageProvider/_index.jd b/samples/browseable/StorageProvider/_index.jd index 02e8c660d..600fc6174 100644 --- a/samples/browseable/StorageProvider/_index.jd +++ b/samples/browseable/StorageProvider/_index.jd @@ -1,3 +1,4 @@ + page.tags="MyCloud" sample.group=Content @jd:body diff --git a/samples/browseable/StorageProvider/res/values-v21/base-colors.xml b/samples/browseable/StorageProvider/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/StorageProvider/res/values-v21/base-colors.xml +++ b/samples/browseable/StorageProvider/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/StorageProvider/res/values-v21/base-template-styles.xml b/samples/browseable/StorageProvider/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/StorageProvider/res/values-v21/base-template-styles.xml +++ b/samples/browseable/StorageProvider/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/StorageProvider/res/values/base-strings.xml b/samples/browseable/StorageProvider/res/values/base-strings.xml index 3453e88e3..1712befd8 100644 --- a/samples/browseable/StorageProvider/res/values/base-strings.xml +++ b/samples/browseable/StorageProvider/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">MyCloud</string> <string name="intro_message"> diff --git a/samples/browseable/StorageProvider/res/values/strings.xml b/samples/browseable/StorageProvider/res/values/strings.xml index cde5fb53c..e72be8de0 100644 --- a/samples/browseable/StorageProvider/res/values/strings.xml +++ b/samples/browseable/StorageProvider/res/values/strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="sample_action">Log in</string> </resources> diff --git a/samples/browseable/StorageProvider/src/com.example.android.storageprovider/MainActivity.java b/samples/browseable/StorageProvider/src/com.example.android.storageprovider/MainActivity.java index e46a55a1e..4d41ff4be 100644 --- a/samples/browseable/StorageProvider/src/com.example.android.storageprovider/MainActivity.java +++ b/samples/browseable/StorageProvider/src/com.example.android.storageprovider/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.storageprovider; import android.graphics.Color; diff --git a/samples/browseable/SwipeRefreshLayoutBasic/_index.jd b/samples/browseable/SwipeRefreshLayoutBasic/_index.jd index ca15805fa..9d0602099 100644 --- a/samples/browseable/SwipeRefreshLayoutBasic/_index.jd +++ b/samples/browseable/SwipeRefreshLayoutBasic/_index.jd @@ -1,3 +1,4 @@ + page.tags="SwipeRefreshLayoutBasic" sample.group=UI @jd:body diff --git a/samples/browseable/SwipeRefreshLayoutBasic/res/values-v21/base-colors.xml b/samples/browseable/SwipeRefreshLayoutBasic/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/SwipeRefreshLayoutBasic/res/values-v21/base-colors.xml +++ b/samples/browseable/SwipeRefreshLayoutBasic/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/SwipeRefreshLayoutBasic/res/values-v21/base-template-styles.xml b/samples/browseable/SwipeRefreshLayoutBasic/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/SwipeRefreshLayoutBasic/res/values-v21/base-template-styles.xml +++ b/samples/browseable/SwipeRefreshLayoutBasic/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/SwipeRefreshLayoutBasic/res/values/base-strings.xml b/samples/browseable/SwipeRefreshLayoutBasic/res/values/base-strings.xml index a9f797f56..a9421d49f 100644 --- a/samples/browseable/SwipeRefreshLayoutBasic/res/values/base-strings.xml +++ b/samples/browseable/SwipeRefreshLayoutBasic/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">SwipeRefreshLayoutBasic</string> <string name="intro_message"> diff --git a/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.swiperefreshlayoutbasic/MainActivity.java b/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.swiperefreshlayoutbasic/MainActivity.java index 61e70fc5f..bf969e3d6 100644 --- a/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.swiperefreshlayoutbasic/MainActivity.java +++ b/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.swiperefreshlayoutbasic/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.swiperefreshlayoutbasic; import android.os.Bundle; diff --git a/samples/browseable/SwipeRefreshListFragment/_index.jd b/samples/browseable/SwipeRefreshListFragment/_index.jd index bbbedf738..c424ab43c 100644 --- a/samples/browseable/SwipeRefreshListFragment/_index.jd +++ b/samples/browseable/SwipeRefreshListFragment/_index.jd @@ -1,3 +1,4 @@ + page.tags="SwipeRefreshListFragment" sample.group=UI @jd:body diff --git a/samples/browseable/SwipeRefreshListFragment/res/values-v21/base-colors.xml b/samples/browseable/SwipeRefreshListFragment/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/SwipeRefreshListFragment/res/values-v21/base-colors.xml +++ b/samples/browseable/SwipeRefreshListFragment/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/SwipeRefreshListFragment/res/values-v21/base-template-styles.xml b/samples/browseable/SwipeRefreshListFragment/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/SwipeRefreshListFragment/res/values-v21/base-template-styles.xml +++ b/samples/browseable/SwipeRefreshListFragment/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/SwipeRefreshListFragment/res/values/base-strings.xml b/samples/browseable/SwipeRefreshListFragment/res/values/base-strings.xml index 4a327dd0f..13d46eb83 100644 --- a/samples/browseable/SwipeRefreshListFragment/res/values/base-strings.xml +++ b/samples/browseable/SwipeRefreshListFragment/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">SwipeRefreshListFragment</string> <string name="intro_message"> diff --git a/samples/browseable/SwipeRefreshListFragment/src/com.example.android.swiperefreshlistfragment/MainActivity.java b/samples/browseable/SwipeRefreshListFragment/src/com.example.android.swiperefreshlistfragment/MainActivity.java index ca3a5bf01..cbec157e4 100644 --- a/samples/browseable/SwipeRefreshListFragment/src/com.example.android.swiperefreshlistfragment/MainActivity.java +++ b/samples/browseable/SwipeRefreshListFragment/src/com.example.android.swiperefreshlistfragment/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.swiperefreshlistfragment; import android.os.Bundle; diff --git a/samples/browseable/SwipeRefreshMultipleViews/_index.jd b/samples/browseable/SwipeRefreshMultipleViews/_index.jd index 0cc246bb2..b65f72c0b 100644 --- a/samples/browseable/SwipeRefreshMultipleViews/_index.jd +++ b/samples/browseable/SwipeRefreshMultipleViews/_index.jd @@ -1,3 +1,4 @@ + page.tags="SwipeRefreshMultipleViews" sample.group=UI @jd:body diff --git a/samples/browseable/SwipeRefreshMultipleViews/res/values-v21/base-colors.xml b/samples/browseable/SwipeRefreshMultipleViews/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/SwipeRefreshMultipleViews/res/values-v21/base-colors.xml +++ b/samples/browseable/SwipeRefreshMultipleViews/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/SwipeRefreshMultipleViews/res/values-v21/base-template-styles.xml b/samples/browseable/SwipeRefreshMultipleViews/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/SwipeRefreshMultipleViews/res/values-v21/base-template-styles.xml +++ b/samples/browseable/SwipeRefreshMultipleViews/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/SwipeRefreshMultipleViews/res/values/base-strings.xml b/samples/browseable/SwipeRefreshMultipleViews/res/values/base-strings.xml index f7d434123..5d44bbe9a 100644 --- a/samples/browseable/SwipeRefreshMultipleViews/res/values/base-strings.xml +++ b/samples/browseable/SwipeRefreshMultipleViews/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">SwipeRefreshMultipleViews</string> <string name="intro_message"> diff --git a/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.swiperefreshmultipleviews/MainActivity.java b/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.swiperefreshmultipleviews/MainActivity.java index a8bbf4dda..7af999071 100644 --- a/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.swiperefreshmultipleviews/MainActivity.java +++ b/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.swiperefreshmultipleviews/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.swiperefreshmultipleviews; import android.os.Bundle; diff --git a/samples/browseable/SynchronizedNotifications/Application/res/values-v21/base-colors.xml b/samples/browseable/SynchronizedNotifications/Application/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/SynchronizedNotifications/Application/res/values-v21/base-colors.xml +++ b/samples/browseable/SynchronizedNotifications/Application/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/SynchronizedNotifications/Application/res/values-v21/base-template-styles.xml b/samples/browseable/SynchronizedNotifications/Application/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/SynchronizedNotifications/Application/res/values-v21/base-template-styles.xml +++ b/samples/browseable/SynchronizedNotifications/Application/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/SynchronizedNotifications/Application/res/values/base-strings.xml b/samples/browseable/SynchronizedNotifications/Application/res/values/base-strings.xml index 8b6d8fff5..d787b171e 100644 --- a/samples/browseable/SynchronizedNotifications/Application/res/values/base-strings.xml +++ b/samples/browseable/SynchronizedNotifications/Application/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">SynchronizedNotifications</string> <string name="intro_message"> diff --git a/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/MainActivity.java b/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/MainActivity.java index ad1b372ea..016f20ff5 100644 --- a/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/MainActivity.java +++ b/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/MainActivity.java @@ -14,6 +14,7 @@ * limitations under the License. */ + package com.example.android.wearable.synchronizednotifications; import android.graphics.Color; diff --git a/samples/browseable/SynchronizedNotifications/_index.jd b/samples/browseable/SynchronizedNotifications/_index.jd index fe882adce..d2e28d010 100644 --- a/samples/browseable/SynchronizedNotifications/_index.jd +++ b/samples/browseable/SynchronizedNotifications/_index.jd @@ -1,3 +1,4 @@ + page.tags="SynchronizedNotifications" sample.group=Wearable @jd:body diff --git a/samples/browseable/TextLinkify/_index.jd b/samples/browseable/TextLinkify/_index.jd index 5b4c000b8..efd8f9ea5 100644 --- a/samples/browseable/TextLinkify/_index.jd +++ b/samples/browseable/TextLinkify/_index.jd @@ -1,3 +1,4 @@ + page.tags="TextLinkify" sample.group=Views @jd:body diff --git a/samples/browseable/TextLinkify/res/values-v21/base-colors.xml b/samples/browseable/TextLinkify/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/TextLinkify/res/values-v21/base-colors.xml +++ b/samples/browseable/TextLinkify/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/TextLinkify/res/values-v21/base-template-styles.xml b/samples/browseable/TextLinkify/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/TextLinkify/res/values-v21/base-template-styles.xml +++ b/samples/browseable/TextLinkify/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/TextLinkify/res/values/base-strings.xml b/samples/browseable/TextLinkify/res/values/base-strings.xml index 831f4b2a2..c44ca0957 100644 --- a/samples/browseable/TextLinkify/res/values/base-strings.xml +++ b/samples/browseable/TextLinkify/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">TextLinkify</string> <string name="intro_message"> diff --git a/samples/browseable/TextSwitcher/_index.jd b/samples/browseable/TextSwitcher/_index.jd index ddcc042ed..fccca3a7c 100644 --- a/samples/browseable/TextSwitcher/_index.jd +++ b/samples/browseable/TextSwitcher/_index.jd @@ -1,3 +1,4 @@ + page.tags="TextSwitcher" sample.group=UI @jd:body diff --git a/samples/browseable/TextSwitcher/res/values-v21/base-colors.xml b/samples/browseable/TextSwitcher/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/TextSwitcher/res/values-v21/base-colors.xml +++ b/samples/browseable/TextSwitcher/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/TextSwitcher/res/values-v21/base-template-styles.xml b/samples/browseable/TextSwitcher/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/TextSwitcher/res/values-v21/base-template-styles.xml +++ b/samples/browseable/TextSwitcher/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/TextSwitcher/res/values/base-strings.xml b/samples/browseable/TextSwitcher/res/values/base-strings.xml index 223f06847..9e6ab5e47 100644 --- a/samples/browseable/TextSwitcher/res/values/base-strings.xml +++ b/samples/browseable/TextSwitcher/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">TextSwitcher</string> <string name="intro_message"> diff --git a/samples/browseable/Timer/_index.jd b/samples/browseable/Timer/_index.jd index 68941eff7..5b285e829 100644 --- a/samples/browseable/Timer/_index.jd +++ b/samples/browseable/Timer/_index.jd @@ -1,3 +1,4 @@ + page.tags="Timer" sample.group=Wearable @jd:body diff --git a/samples/browseable/WatchFace/Application/res/values-v21/base-colors.xml b/samples/browseable/WatchFace/Application/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/WatchFace/Application/res/values-v21/base-colors.xml +++ b/samples/browseable/WatchFace/Application/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/WatchFace/Application/res/values-v21/base-template-styles.xml b/samples/browseable/WatchFace/Application/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/WatchFace/Application/res/values-v21/base-template-styles.xml +++ b/samples/browseable/WatchFace/Application/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/WatchFace/Application/res/values/base-strings.xml b/samples/browseable/WatchFace/Application/res/values/base-strings.xml index 5108f618e..ef8f1d396 100644 --- a/samples/browseable/WatchFace/Application/res/values/base-strings.xml +++ b/samples/browseable/WatchFace/Application/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">WatchFace</string> <string name="intro_message"> diff --git a/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/AnalogWatchFaceService.java b/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/AnalogWatchFaceService.java index f0fb4f582..15c550f33 100644 --- a/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/AnalogWatchFaceService.java +++ b/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/AnalogWatchFaceService.java @@ -33,10 +33,10 @@ import android.os.Message; import android.support.wearable.watchface.CanvasWatchFaceService; import android.support.wearable.watchface.WatchFaceService; import android.support.wearable.watchface.WatchFaceStyle; -import android.text.format.Time; import android.util.Log; import android.view.SurfaceHolder; +import java.util.Calendar; import java.util.TimeZone; import java.util.concurrent.TimeUnit; @@ -64,12 +64,14 @@ public class AnalogWatchFaceService extends CanvasWatchFaceService { private class Engine extends CanvasWatchFaceService.Engine { static final int MSG_UPDATE_TIME = 0; + static final float TWO_PI = (float) Math.PI * 2f; + Paint mHourPaint; Paint mMinutePaint; Paint mSecondPaint; Paint mTickPaint; boolean mMute; - Time mTime; + Calendar mCalendar; /** Handler to update the time once a second in interactive mode. */ final Handler mUpdateTimeHandler = new Handler() { @@ -95,8 +97,8 @@ public class AnalogWatchFaceService extends CanvasWatchFaceService { final BroadcastReceiver mTimeZoneReceiver = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { - mTime.clear(intent.getStringExtra("time-zone")); - mTime.setToNow(); + mCalendar.setTimeZone(TimeZone.getDefault()); + invalidate(); } }; boolean mRegisteredTimeZoneReceiver = false; @@ -124,7 +126,7 @@ public class AnalogWatchFaceService extends CanvasWatchFaceService { .build()); Resources resources = AnalogWatchFaceService.this.getResources(); - Drawable backgroundDrawable = resources.getDrawable(R.drawable.bg); + Drawable backgroundDrawable = resources.getDrawable(R.drawable.bg, null /* theme */); mBackgroundBitmap = ((BitmapDrawable) backgroundDrawable).getBitmap(); mHourPaint = new Paint(); @@ -150,7 +152,7 @@ public class AnalogWatchFaceService extends CanvasWatchFaceService { mTickPaint.setStrokeWidth(2.f); mTickPaint.setAntiAlias(true); - mTime = new Time(); + mCalendar = Calendar.getInstance(); } @Override @@ -212,7 +214,7 @@ public class AnalogWatchFaceService extends CanvasWatchFaceService { @Override public void onDraw(Canvas canvas, Rect bounds) { - mTime.setToNow(); + mCalendar.setTimeInMillis(System.currentTimeMillis()); int width = bounds.width(); int height = bounds.height(); @@ -236,7 +238,7 @@ public class AnalogWatchFaceService extends CanvasWatchFaceService { float innerTickRadius = centerX - 10; float outerTickRadius = centerX; for (int tickIndex = 0; tickIndex < 12; tickIndex++) { - float tickRot = (float) (tickIndex * Math.PI * 2 / 12); + float tickRot = tickIndex * TWO_PI / 12; float innerX = (float) Math.sin(tickRot) * innerTickRadius; float innerY = (float) -Math.cos(tickRot) * innerTickRadius; float outerX = (float) Math.sin(tickRot) * outerTickRadius; @@ -245,10 +247,13 @@ public class AnalogWatchFaceService extends CanvasWatchFaceService { centerX + outerX, centerY + outerY, mTickPaint); } - float secRot = mTime.second / 30f * (float) Math.PI; - int minutes = mTime.minute; - float minRot = minutes / 30f * (float) Math.PI; - float hrRot = ((mTime.hour + (minutes / 60f)) / 6f ) * (float) Math.PI; + float seconds = + mCalendar.get(Calendar.SECOND) + mCalendar.get(Calendar.MILLISECOND) / 1000f; + float secRot = seconds / 60f * TWO_PI; + float minutes = mCalendar.get(Calendar.MINUTE) + seconds / 60f; + float minRot = minutes / 60f * TWO_PI; + float hours = mCalendar.get(Calendar.HOUR) + minutes / 60f; + float hrRot = hours / 12f * TWO_PI; float secLength = centerX - 20; float minLength = centerX - 40; @@ -280,8 +285,7 @@ public class AnalogWatchFaceService extends CanvasWatchFaceService { registerReceiver(); // Update time zone in case it changed while we weren't visible. - mTime.clear(TimeZone.getDefault().getID()); - mTime.setToNow(); + mCalendar.setTimeZone(TimeZone.getDefault()); } else { unregisterReceiver(); } diff --git a/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/DigitalWatchFaceService.java b/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/DigitalWatchFaceService.java index b8b1314b8..0bc420d01 100644 --- a/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/DigitalWatchFaceService.java +++ b/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/DigitalWatchFaceService.java @@ -31,7 +31,7 @@ import android.os.Message; import android.support.wearable.watchface.CanvasWatchFaceService; import android.support.wearable.watchface.WatchFaceService; import android.support.wearable.watchface.WatchFaceStyle; -import android.text.format.Time; +import android.text.format.DateFormat; import android.util.Log; import android.view.SurfaceHolder; import android.view.WindowInsets; @@ -46,6 +46,7 @@ import com.google.android.gms.wearable.DataMap; import com.google.android.gms.wearable.DataMapItem; import com.google.android.gms.wearable.Wearable; +import java.util.Calendar; import java.util.TimeZone; import java.util.concurrent.TimeUnit; @@ -125,8 +126,8 @@ public class DigitalWatchFaceService extends CanvasWatchFaceService { final BroadcastReceiver mTimeZoneReceiver = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { - mTime.clear(intent.getStringExtra("time-zone")); - mTime.setToNow(); + mCalendar.setTimeZone(TimeZone.getDefault()); + invalidate(); } }; boolean mRegisteredTimeZoneReceiver = false; @@ -139,7 +140,7 @@ public class DigitalWatchFaceService extends CanvasWatchFaceService { Paint mColonPaint; float mColonWidth; boolean mMute; - Time mTime; + Calendar mCalendar; boolean mShouldDrawColons; float mXOffset; float mYOffset; @@ -185,7 +186,7 @@ public class DigitalWatchFaceService extends CanvasWatchFaceService { mAmPmPaint = createTextPaint(resources.getColor(R.color.digital_am_pm)); mColonPaint = createTextPaint(resources.getColor(R.color.digital_colons)); - mTime = new Time(); + mCalendar = Calendar.getInstance(); } @Override @@ -219,8 +220,7 @@ public class DigitalWatchFaceService extends CanvasWatchFaceService { registerReceiver(); // Update time zone in case it changed while we weren't visible. - mTime.clear(TimeZone.getDefault().getID()); - mTime.setToNow(); + mCalendar.setTimeZone(TimeZone.getDefault()); } else { unregisterReceiver(); @@ -403,18 +403,14 @@ public class DigitalWatchFaceService extends CanvasWatchFaceService { return String.format("%02d", hour); } - private int convertTo12Hour(int hour) { - int result = hour % 12; - return (result == 0) ? 12 : result; - } - - private String getAmPmString(int hour) { - return (hour < 12) ? mAmString : mPmString; + private String getAmPmString(int amPm) { + return amPm == Calendar.AM ? mAmString : mPmString; } @Override public void onDraw(Canvas canvas, Rect bounds) { - mTime.setToNow(); + mCalendar.setTimeInMillis(System.currentTimeMillis()); + boolean is24Hour = DateFormat.is24HourFormat(DigitalWatchFaceService.this); // Show colons for the first half of each second so the colons blink on when the time // updates. @@ -425,7 +421,19 @@ public class DigitalWatchFaceService extends CanvasWatchFaceService { // Draw the hours. float x = mXOffset; - String hourString = String.valueOf(convertTo12Hour(mTime.hour)); + String hourString; + if (is24Hour) { + hourString = formatTwoDigitNumber(mCalendar.get(Calendar.HOUR_OF_DAY)); + } else { + int hour = mCalendar.get(Calendar.HOUR); + if (hour == 0) { + hour = 12; + } + hourString = String.valueOf(hour); + if (hour < 10) { + x += mHourPaint.measureText("0"); + } + } canvas.drawText(hourString, x, mYOffset, mHourPaint); x += mHourPaint.measureText(hourString); @@ -437,22 +445,23 @@ public class DigitalWatchFaceService extends CanvasWatchFaceService { x += mColonWidth; // Draw the minutes. - String minuteString = formatTwoDigitNumber(mTime.minute); + String minuteString = formatTwoDigitNumber(mCalendar.get(Calendar.MINUTE)); canvas.drawText(minuteString, x, mYOffset, mMinutePaint); x += mMinutePaint.measureText(minuteString); - // In ambient and mute modes, draw AM/PM. Otherwise, draw a second blinking - // colon followed by the seconds. - if (isInAmbientMode() || mMute) { - x += mColonWidth; - canvas.drawText(getAmPmString(mTime.hour), x, mYOffset, mAmPmPaint); - } else { + // In unmuted interactive mode, draw a second blinking colon followed by the seconds. + // Otherwise, if we're in 12-hour mode, draw AM/PM + if (!isInAmbientMode() && !mMute) { if (mShouldDrawColons) { canvas.drawText(COLON_STRING, x, mYOffset, mColonPaint); } x += mColonWidth; - canvas.drawText(formatTwoDigitNumber(mTime.second), x, mYOffset, - mSecondPaint); + canvas.drawText(formatTwoDigitNumber( + mCalendar.get(Calendar.SECOND)), x, mYOffset, mSecondPaint); + } else if (!is24Hour) { + x += mColonWidth; + canvas.drawText(getAmPmString( + mCalendar.get(Calendar.AM_PM)), x, mYOffset, mAmPmPaint); } } diff --git a/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/SweepWatchFaceService.java b/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/SweepWatchFaceService.java index 44e9569f5..193f29a71 100644 --- a/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/SweepWatchFaceService.java +++ b/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/SweepWatchFaceService.java @@ -31,10 +31,10 @@ import android.os.Bundle; import android.support.wearable.watchface.CanvasWatchFaceService; import android.support.wearable.watchface.WatchFaceService; import android.support.wearable.watchface.WatchFaceStyle; -import android.text.format.Time; import android.util.Log; import android.view.SurfaceHolder; +import java.util.Calendar; import java.util.TimeZone; /** @@ -53,18 +53,20 @@ public class SweepWatchFaceService extends CanvasWatchFaceService { } private class Engine extends CanvasWatchFaceService.Engine { + static final float TWO_PI = (float) Math.PI * 2f; + Paint mHourPaint; Paint mMinutePaint; Paint mSecondPaint; Paint mTickPaint; boolean mMute; - Time mTime; + Calendar mCalendar; final BroadcastReceiver mTimeZoneReceiver = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { - mTime.clear(intent.getStringExtra("time-zone")); - mTime.setToNow(); + mCalendar.setTimeZone(TimeZone.getDefault()); + invalidate(); } }; boolean mRegisteredTimeZoneReceiver = false; @@ -92,7 +94,7 @@ public class SweepWatchFaceService extends CanvasWatchFaceService { .build()); Resources resources = SweepWatchFaceService.this.getResources(); - Drawable backgroundDrawable = resources.getDrawable(R.drawable.bg); + Drawable backgroundDrawable = resources.getDrawable(R.drawable.bg, null /* theme */); mBackgroundBitmap = ((BitmapDrawable) backgroundDrawable).getBitmap(); mHourPaint = new Paint(); @@ -118,7 +120,7 @@ public class SweepWatchFaceService extends CanvasWatchFaceService { mTickPaint.setStrokeWidth(2.f); mTickPaint.setAntiAlias(true); - mTime = new Time(); + mCalendar = Calendar.getInstance(); } @Override @@ -174,8 +176,7 @@ public class SweepWatchFaceService extends CanvasWatchFaceService { Log.v(TAG, "onDraw"); } long now = System.currentTimeMillis(); - mTime.set(now); - int milliseconds = (int) (now % 1000); + mCalendar.setTimeInMillis(now); int width = bounds.width(); int height = bounds.height(); @@ -208,11 +209,13 @@ public class SweepWatchFaceService extends CanvasWatchFaceService { centerX + outerX, centerY + outerY, mTickPaint); } - float seconds = mTime.second + milliseconds / 1000f; - float secRot = seconds / 30f * (float) Math.PI; - int minutes = mTime.minute; - float minRot = minutes / 30f * (float) Math.PI; - float hrRot = ((mTime.hour + (minutes / 60f)) / 6f ) * (float) Math.PI; + float seconds = + mCalendar.get(Calendar.SECOND) + mCalendar.get(Calendar.MILLISECOND) / 1000f; + float secRot = seconds / 60f * TWO_PI; + float minutes = mCalendar.get(Calendar.MINUTE) + seconds / 60f; + float minRot = minutes / 60f * TWO_PI; + float hours = mCalendar.get(Calendar.HOUR) + minutes / 60f; + float hrRot = hours / 12f * TWO_PI; float secLength = centerX - 20; float minLength = centerX - 40; @@ -246,8 +249,7 @@ public class SweepWatchFaceService extends CanvasWatchFaceService { registerReceiver(); // Update time zone in case it changed while we weren't visible. - mTime.clear(TimeZone.getDefault().getID()); - mTime.setToNow(); + mCalendar.setTimeZone(TimeZone.getDefault()); invalidate(); } else { diff --git a/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/TiltWatchFaceService.java b/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/TiltWatchFaceService.java index 6dd01b000..ffb0b6c29 100644 --- a/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/TiltWatchFaceService.java +++ b/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/TiltWatchFaceService.java @@ -24,11 +24,11 @@ import android.opengl.GLES20; import android.opengl.Matrix; import android.support.wearable.watchface.Gles2WatchFaceService; import android.support.wearable.watchface.WatchFaceStyle; -import android.text.format.Time; import android.util.Log; import android.view.Gravity; import android.view.SurfaceHolder; +import java.util.Calendar; import java.util.TimeZone; import java.util.concurrent.TimeUnit; @@ -44,6 +44,9 @@ public class TiltWatchFaceService extends Gles2WatchFaceService { /** Expected frame rate in interactive mode. */ private static final long FPS = 60; + /** Z distance from the camera to the watchface. */ + private static final float EYE_Z = 2.3f; + /** How long each frame is displayed at expected frame rate. */ private static final long FRAME_PERIOD_MS = TimeUnit.SECONDS.toMillis(1) / FPS; @@ -107,7 +110,7 @@ public class TiltWatchFaceService extends Gles2WatchFaceService { /** Triangle for the hour hand. */ private Gles2ColoredTriangleList mHourHandTriangle; - private Time mTime = new Time(); + private Calendar mCalendar = Calendar.getInstance(); /** Whether we've registered {@link #mTimeZoneReceiver}. */ private boolean mRegisteredTimeZoneReceiver; @@ -115,8 +118,8 @@ public class TiltWatchFaceService extends Gles2WatchFaceService { private final BroadcastReceiver mTimeZoneReceiver = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { - mTime.clear(intent.getStringExtra("time-zone")); - mTime.setToNow(); + mCalendar.setTimeZone(TimeZone.getDefault()); + invalidate(); } }; @@ -170,7 +173,7 @@ public class TiltWatchFaceService extends Gles2WatchFaceService { mMinuteHandTriangle = createHand( triangleProgram, 0.06f /* width */, - 0.8f /* height */, + 1f /* height */, new float[]{ 0.7f /* red */, 0.7f /* green */, @@ -181,7 +184,7 @@ public class TiltWatchFaceService extends Gles2WatchFaceService { mHourHandTriangle = createHand( triangleProgram, 0.1f /* width */, - 0.5f /* height */, + 0.6f /* height */, new float[]{ 0.9f /* red */, 0.9f /* green */, @@ -204,14 +207,14 @@ public class TiltWatchFaceService extends Gles2WatchFaceService { final float eyeY = (float) Math.sin(cameraAngle); Matrix.setLookAtM(mViewMatrices[i], 0, // dest index - eyeX, eyeY, -3, // eye + eyeX, eyeY, EYE_Z, // eye 0, 0, 0, // center 0, 1, 0); // up vector } Matrix.setLookAtM(mAmbientViewMatrix, 0, // dest index - 0, 0, -3, // eye + 0, 0, EYE_Z, // eye 0, 0, 0, // center 0, 1, 0); // up vector } @@ -378,8 +381,7 @@ public class TiltWatchFaceService extends Gles2WatchFaceService { registerReceiver(); // Update time zone in case it changed while we were detached. - mTime.clear(TimeZone.getDefault().getID()); - mTime.setToNow(); + mCalendar.setTimeZone(TimeZone.getDefault()); invalidate(); } else { @@ -436,26 +438,28 @@ public class TiltWatchFaceService extends Gles2WatchFaceService { GLES20.glClear(GLES20.GL_COLOR_BUFFER_BIT); // Compute angle indices for the three hands. - mTime.setToNow(); - final int secIndex = mTime.second * 360 / 60; - final int minIndex = mTime.minute * 360 / 60; - final int hoursIndex = (mTime.hour % 12) * 360 / 12 + mTime.minute * 360 / 60 / 12; + mCalendar.setTimeInMillis(System.currentTimeMillis()); + float seconds = + mCalendar.get(Calendar.SECOND) + mCalendar.get(Calendar.MILLISECOND) / 1000f; + float minutes = mCalendar.get(Calendar.MINUTE) + seconds / 60f; + float hours = mCalendar.get(Calendar.HOUR) + minutes / 60f; + final int secIndex = (int) (seconds / 60f * 360f); + final int minIndex = (int) (minutes / 60f * 360f); + final int hoursIndex = (int) (hours / 12f * 360f); // Draw triangles from back to front. Don't draw the second hand in ambient mode. - { - // Combine the model matrix with the projection and camera view. - Matrix.multiplyMM(mMvpMatrix, 0, vpMatrix, 0, mModelMatrices[hoursIndex], 0); - // Draw the triangle. - mHourHandTriangle.draw(mMvpMatrix); - } - { - // Combine the model matrix with the projection and camera view. - Matrix.multiplyMM(mMvpMatrix, 0, vpMatrix, 0, mModelMatrices[minIndex], 0); + // Combine the model matrix with the projection and camera view. + Matrix.multiplyMM(mMvpMatrix, 0, vpMatrix, 0, mModelMatrices[hoursIndex], 0); - // Draw the triangle. - mMinuteHandTriangle.draw(mMvpMatrix); - } + // Draw the triangle. + mHourHandTriangle.draw(mMvpMatrix); + + // Combine the model matrix with the projection and camera view. + Matrix.multiplyMM(mMvpMatrix, 0, vpMatrix, 0, mModelMatrices[minIndex], 0); + + // Draw the triangle. + mMinuteHandTriangle.draw(mMvpMatrix); if (!isInAmbientMode()) { // Combine the model matrix with the projection and camera view. Matrix.multiplyMM(mMvpMatrix, 0, vpMatrix, 0, mModelMatrices[secIndex], 0); @@ -463,11 +467,10 @@ public class TiltWatchFaceService extends Gles2WatchFaceService { // Draw the triangle. mSecondHandTriangle.draw(mMvpMatrix); } - { - // Draw the major and minor ticks. - mMajorTickTriangles.draw(vpMatrix); - mMinorTickTriangles.draw(vpMatrix); - } + + // Draw the major and minor ticks. + mMajorTickTriangles.draw(vpMatrix); + mMinorTickTriangles.draw(vpMatrix); // Draw every frame as long as we're visible and in interactive mode. if (isVisible() && !isInAmbientMode()) { diff --git a/samples/browseable/WatchFace/_index.jd b/samples/browseable/WatchFace/_index.jd index fcba857b8..8c803fa04 100644 --- a/samples/browseable/WatchFace/_index.jd +++ b/samples/browseable/WatchFace/_index.jd @@ -1,3 +1,4 @@ + page.tags="WatchFace" sample.group=Wearable @jd:body diff --git a/samples/browseable/WatchViewStub/_index.jd b/samples/browseable/WatchViewStub/_index.jd index 7341f9286..e518356b0 100644 --- a/samples/browseable/WatchViewStub/_index.jd +++ b/samples/browseable/WatchViewStub/_index.jd @@ -1,3 +1,4 @@ + page.tags="WatchViewStub" sample.group=Wearable @jd:body diff --git a/samples/browseable/XYZTouristAttractions/Application/res/values-v21/base-colors.xml b/samples/browseable/XYZTouristAttractions/Application/res/values-v21/base-colors.xml index 34c9cd138..8b6ec3f85 100644 --- a/samples/browseable/XYZTouristAttractions/Application/res/values-v21/base-colors.xml +++ b/samples/browseable/XYZTouristAttractions/Application/res/values-v21/base-colors.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> diff --git a/samples/browseable/XYZTouristAttractions/Application/res/values-v21/base-template-styles.xml b/samples/browseable/XYZTouristAttractions/Application/res/values-v21/base-template-styles.xml index 0b2948f7e..c778e4f98 100644 --- a/samples/browseable/XYZTouristAttractions/Application/res/values-v21/base-template-styles.xml +++ b/samples/browseable/XYZTouristAttractions/Application/res/values-v21/base-template-styles.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <!-- Activity themes --> diff --git a/samples/browseable/XYZTouristAttractions/Application/res/values/base-strings.xml b/samples/browseable/XYZTouristAttractions/Application/res/values/base-strings.xml index e551fe1f0..90b90ef35 100644 --- a/samples/browseable/XYZTouristAttractions/Application/res/values/base-strings.xml +++ b/samples/browseable/XYZTouristAttractions/Application/res/values/base-strings.xml @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> + <resources> <string name="app_name">XYZTouristAttractions</string> <string name="intro_message"> diff --git a/samples/browseable/XYZTouristAttractions/_index.jd b/samples/browseable/XYZTouristAttractions/_index.jd index a48e947b9..78bfc12a1 100644 --- a/samples/browseable/XYZTouristAttractions/_index.jd +++ b/samples/browseable/XYZTouristAttractions/_index.jd @@ -1,3 +1,4 @@ + page.tags="XYZTouristAttractions" sample.group=Wearable @jd:body |