title: scrollTo() for horizontalScrollView not working
body: <p>I inflate another layout to appear below some view in my current layout.</p>
  
  <p>This is done like this:</p>
  
  <pre><code>       LayoutInflater vi = (LayoutInflater) getActivity().getApplicationContext()
              .getSystemService(Context.LAYOUT_INFLATER_SERVICE);
      View rootView = vi.inflate(R.layout.horizontal_scroll_view, null);
  
      horizontalScrollView = (HorizontalScrollView) rootView.findViewById(R.id.hsv_suggestions_scroll_view);
      LinearLayout suggestionsContainer = (LinearLayout) horizontalScrollView.findViewById(R.id.ll_suggestions_container);
  </code></pre>
  
  <p>and I can confirm that it appears in the right place since I add some Views in it after a while and they all appear.</p>
  
  <p>The layout I inflate is : </p>
  
  <pre><code>&lt;HorizontalScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/hsv_suggestions_scroll_view"
  android:scrollbars="none" android:layout_gravity="center_horizontal"
  android:paddingTop="16dp" android:fillViewport="true"
  android:layout_width="match_parent" android:layout_height="wrap_content"&gt;
  
      &lt;LinearLayout
        android:id="@+id/ll_suggestions_container"
        android:gravity="center_horizontal"    android:orientation="horizontal"
        android:layout_width="wrap_content" android:layout_height="wrap_content"&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p></p>
  
  <p>just a <code>HorizontalScrollView</code> with a <code>LinearLayout</code> as a child.
  The Views I add later are all of them <code>TextView</code>s. </p>
  
  <p>Now after a user action (write some text on an editText) I'm trying to scroll to that View and highlight it. Highlight works. What does not work is scroll.</p>
  
  <p>I have tried : </p>
  
  <pre><code> horizontalScrollView.postDelayed(new Runnable() {
     @Override
     public void run() {
  
     horizontalScrollView.smoothScrollTo(scrollTo, 0);
     }
  }, 300);
  </code></pre>
  
  <p>where variable <code>scrollTo</code> is what I get when I apply <code>getLeft()</code> to the View I wanna scroll to. I can confirm that it takes various values.</p>
  
  <p>Anyone can help me with that ? </p>