diff options
author | Ricardo Cervera <rcervera@google.com> | 2014-07-23 23:12:15 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-07-23 23:12:15 +0000 |
commit | 0f1e067a28c2ef50d4db53ad19e0902b052bd014 (patch) | |
tree | 10cfaee36fb32b8f0f15cd8f66a71f0fe25bc87a | |
parent | 39572996f25d4b4ce744d9d04080e33b687ab03b (diff) | |
parent | 472e234d807df490124263c1e28c66e1918787c9 (diff) | |
download | frameworks_base-0f1e067a28c2ef50d4db53ad19e0902b052bd014.zip frameworks_base-0f1e067a28c2ef50d4db53ad19e0902b052bd014.tar.gz frameworks_base-0f1e067a28c2ef50d4db53ad19e0902b052bd014.tar.bz2 |
am 472e234d: am 7af4e812: docs: Fixed RecyclerView example. Bug: 16483811
* commit '472e234d807df490124263c1e28c66e1918787c9':
docs: Fixed RecyclerView example. Bug: 16483811
-rw-r--r-- | docs/html/preview/material/ui-widgets.jd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/html/preview/material/ui-widgets.jd b/docs/html/preview/material/ui-widgets.jd index 2d29420..69b7d2d 100644 --- a/docs/html/preview/material/ui-widgets.jd +++ b/docs/html/preview/material/ui-widgets.jd @@ -132,7 +132,7 @@ public class MyAdapter extends RecyclerView.Adapter<MyAdapter.ViewHolder> { int viewType) { // create a new view View v = LayoutInflater.from(parent.getContext()) - .inflate(R.layout.my_text_view, parent); + .inflate(R.layout.my_text_view, parent, false); // set the view's size, margins, paddings and layout parameters ... ViewHolder vh = new ViewHolder(v); |