title: Dialog box buttons not visible on smaller screens and resolutions?
body: <p>I'm trying to show a tutorial when user runs the app for the first time, by using dialog boxes. However, the &quot;back&quot; and &quot;next&quot; buttons aren't visible on smaller screens and/or resolutions, so the user can't proceed with the tutorial.
  I tried making the dialog box a ScrollView but it didn't help, buttons are still invisible. What's the best way to resolve this? Thanks in advance!
  EDIT: here's an example of the first dialog shown to user:</p>
  <pre><code>AlertDialog.Builder w1 = new AlertDialog.Builder(this);
      LayoutInflater w1Inflater = LayoutInflater.from(this);
      View w1Layout = w1Inflater.inflate(R.layout.dialog, null);
      ImageView image1 = (ImageView) w1Layout.findViewById(R.id.my_image);
      image1.setImageResource(R.drawable.ic_launcher);
      w1.setView(w1Layout);
      w1.setTitle(&quot;Welcome&quot;);
      w1.setMessage(Html.fromHtml(&quot;Before you start using the app, get familiar with the User Interface!&quot;));
      w1.setCancelable(false);
      w1.setPositiveButton(&quot;Next&quot;, new DialogInterface.OnClickListener() {
          public void onClick(DialogInterface dialog, int which) {
              switch3();
              num = 3;
              ((ViewGroup)w1Layout.getParent()).removeView(w1Layout);
          }
      });
  </code></pre>
  <p>And here's the dialog.xml:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;ScrollView
      xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;match_parent&quot;
      android:orientation=&quot;vertical&quot;&gt;
  &lt;LinearLayout
      xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;match_parent&quot;
      android:orientation=&quot;vertical&quot;&gt;
  
      &lt;ImageView
          android:layout_height=&quot;wrap_content&quot;
          android:layout_width=&quot;wrap_content&quot;
          android:layout_gravity=&quot;center&quot;
          android:id=&quot;@+id/my_image&quot;/&gt;
  
  &lt;/LinearLayout&gt;
  &lt;/ScrollView&gt;
  </code></pre>