Note that there are some explanatory texts on larger screens.

plurals
  1. POProblem with View on change of device orientation
    primarykey
    data
    text
    <p>When I go to landscape mode, the bottom two buttons for my activity are not visible.The screen should have automatically converted into scrollable.Do I have to add something to my xml or manifest file?</p> <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" &gt; &lt;TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/hello" /&gt; &lt;TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Text in Hindi-&gt;" /&gt; &lt;TextView style="@style/PassageStyle" android:id="@+id/hindi" android:textSize="30sp" android:gravity="center" /&gt; &lt;TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Corresponding Text in English-&gt;" /&gt; &lt;TextView style="@style/PassageStyle" android:id="@+id/english" android:textSize="30dip" android:gravity="center" /&gt; &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent"&gt; &lt;Button android:id="@+id/listen_Button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="60dip" android:text="@string/listen" /&gt; &lt;Button android:id="@+id/slow_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Slow" android:layout_marginLeft="30dip" android:layout_toRightOf="@id/listen_Button" android:layout_alignTop="@id/listen_Button" /&gt; &lt;Button android:id="@+id/voice" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/voice" android:layout_alignLeft="@id/listen_Button" android:layout_below="@id/listen_Button" /&gt; &lt;Button android:id="@+id/next_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Next" android:layout_below="@id/slow_button" android:layout_alignLeft="@id/slow_button" /&gt; &lt;/RelativeLayout&gt; &lt;/LinearLayout&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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