Note that there are some explanatory texts on larger screens.

plurals
  1. POPairs of CheckBoxes and TextViews and a menu item on the very bottom
    text
    copied!<p>I'm pretty new in Android development. What I want to do is to place a few pair of TextView-CheckBox so that each of them will be in one separate line:</p> <pre><code>&lt;TextView&gt; ................ &lt;CheckBox&gt; &lt;TextView&gt; ................ &lt;CheckBox&gt; &lt;TextView&gt; ................ &lt;CheckBox&gt; </code></pre> <p><code>TextView</code> should be on the left side and <code>CheckBox</code> on the right side. And I also want to place "About" menu item at the very bottom. Therefore, it would look and <strong>this is what I want</strong>:</p> <pre><code>&lt;TextView&gt; ................ &lt;CheckBox&gt; &lt;TextView&gt; ................ &lt;CheckBox&gt; &lt;TextView&gt; ................ &lt;CheckBox&gt; &lt;About&gt; </code></pre> <p>What I have had so far was one pair CheckBox and TextView:</p> <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:layout_height="fill_parent" tools:context=".MainActivity"&gt; &lt;TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" /&gt; &lt;CheckBox android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" /&gt; &lt;/RelativeLayout&gt; </code></pre> <p>Obviously, when I tried to add one more pair of <code>CheckBox</code> and <code>TextView</code>, I failed -- they didn't appear. And, sadly, I don't know yet how to add a menu item to the place I want.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload