From a374bcd44dc6e8519be4909a4c58bd06baf23828 Mon Sep 17 00:00:00 2001 From: Trevor Johns Date: Thu, 11 Aug 2016 15:54:50 -0700 Subject: [PATCH] docs: Update prebuilts for nyc-dev samples Synced to commits: - //developers/samples/android fc1c2eac13aa87531f030f8c65d7e27c301135af - //developers/build 18730e97939c9545a26e52d135a99045c86abeaf Change-Id: I88952b8f86921739af9fed6b87d39a72af835748 --- .../browseable/BasicManagedProfile/_index.jd | 2 +- .../res/values/base-strings.xml | 2 +- .../browseable/CardView/AndroidManifest.xml | 3 - .../res/layout/fragment_card_view.xml | 2 +- .../CardView/res/values/strings.xml | 1 - .../CustomChoiceList/res/layout/list_item.xml | 3 +- .../res/layout/sample_main.xml | 2 + .../ElevationDragFragment.java | 6 +- .../res/layout/activity_main.xml | 23 ++- .../FingerprintDialog/res/values/strings.xml | 4 + ...ngerprintAuthenticationDialogFragment.java | 6 +- .../MainActivity.java | 180 ++++++++++++------ .../WearDrawers/res/layout/activity_main.xml | 3 +- 13 files changed, 164 insertions(+), 73 deletions(-) diff --git a/samples/browseable/BasicManagedProfile/_index.jd b/samples/browseable/BasicManagedProfile/_index.jd index 1522a912c..fc6f899d4 100644 --- a/samples/browseable/BasicManagedProfile/_index.jd +++ b/samples/browseable/BasicManagedProfile/_index.jd @@ -9,6 +9,6 @@ sample.group=Admin enable or disable other apps and how to set restrictions to them. Intents can be configured to be forwarded between primary account and managed profile. Finally, you can wipe all the data associated with the profile. - Note that there can only be one managed profile on a device. + Note that there can only be one managed profile on a device.

diff --git a/samples/browseable/BasicManagedProfile/res/values/base-strings.xml b/samples/browseable/BasicManagedProfile/res/values/base-strings.xml index 97063bc3a..862a42903 100644 --- a/samples/browseable/BasicManagedProfile/res/values/base-strings.xml +++ b/samples/browseable/BasicManagedProfile/res/values/base-strings.xml @@ -25,7 +25,7 @@ enable or disable other apps and how to set restrictions to them. Intents can be configured to be forwarded between primary account and managed profile. Finally, you can wipe all the data associated with the profile. - Note that there can only be one managed profile on a device. + Note that there can only be one managed profile on a device. ]]> diff --git a/samples/browseable/CardView/AndroidManifest.xml b/samples/browseable/CardView/AndroidManifest.xml index 6c4a9d983..b90c56bca 100644 --- a/samples/browseable/CardView/AndroidManifest.xml +++ b/samples/browseable/CardView/AndroidManifest.xml @@ -19,9 +19,6 @@ android:versionCode="1" android:versionName="1.0" > - - - CardViewActivity This is a CardView widget. CardView widgets can have shadows and rounded corners. \n\nTo create a card with a shadow, use the android:elevation diff --git a/samples/browseable/CustomChoiceList/res/layout/list_item.xml b/samples/browseable/CustomChoiceList/res/layout/list_item.xml index 09a17edfe..81592a038 100644 --- a/samples/browseable/CustomChoiceList/res/layout/list_item.xml +++ b/samples/browseable/CustomChoiceList/res/layout/list_item.xml @@ -57,6 +57,7 @@ android:duplicateParentState="true" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginLeft="16dp" /> + android:layout_marginLeft="16dp" + android:layout_marginStart="16dp" /> diff --git a/samples/browseable/CustomChoiceList/res/layout/sample_main.xml b/samples/browseable/CustomChoiceList/res/layout/sample_main.xml index 17a69e411..ec3592bec 100755 --- a/samples/browseable/CustomChoiceList/res/layout/sample_main.xml +++ b/samples/browseable/CustomChoiceList/res/layout/sample_main.xml @@ -15,6 +15,8 @@ --> + android:id="@+id/purchase_button" /> + +