Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d3e7a58 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Javadoc improvements in SearchView per API review.

Bug: 6442174

Added attr refs to 2 methods.

Change-Id: I9b5f93e8e921a7260fdc25c8134e655f09a1ffb7
parent ad759f95
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;