Merge "Javadoc improvements in SearchView per API review." into jb-dev

This commit is contained in:
Amith Yamasani
2012-05-07 11:33:16 -07:00
committed by Android (Google) Code Review

View File

@@ -576,6 +576,8 @@ public class SearchView extends LinearLayout implements CollapsibleActionView {
/**
* Returns the default iconified state of the search field.
* @return
*
* @attr ref android.R.styleable#SearchView_iconifiedByDefault
*/
public boolean isIconfiedByDefault() {
return mIconifiedByDefault;
@@ -696,6 +698,8 @@ public class SearchView extends LinearLayout implements CollapsibleActionView {
* Gets the specified maximum width in pixels, if set. Returns zero if
* no maximum width was specified.
* @return the maximum width of the view
*
* @attr ref android.R.styleable#SearchView_maxWidth
*/
public int getMaxWidth() {
return mMaxWidth;