Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You may try something like this</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout 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" android:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" tools:context=".MainActivity" android:background="#232043" android:orientation="vertical" &gt; &lt;LinearLayout android:id="@+id/headerlayout" android:layout_width="fill_parent" android:layout_height="wrap_content" android:weightSum="8" android:orientation="horizontal" &gt; //Your Header Images and Icons Here //You may use weights to fill them the screen &lt;ImageView android:id="@+id/header" android:layout_width="0dp" android:layout_height="60dp" android:layout_weight="3" android:background="#1b0534" tools:ignore="ContentDescription" /&gt; &lt;ImageView android:id="@+id/helpi" android:layout_width="0dp" android:layout_height="40dp" android:layout_weight="1" android:layout_marginLeft="10dp" android:layout_marginTop="10dp" android:src="@drawable/helpi" tools:ignore="ContentDescription" /&gt; &lt;ImageView android:id="@+id/abouti" android:layout_width="0dp" android:layout_height="40dp" android:layout_weight="1" android:layout_marginRight="10dp" android:layout_marginTop="10dp" android:src="@drawable/abouti" tools:ignore="ContentDescription" /&gt; &lt;ImageView android:id="@+id/logoi" android:layout_width="0dp" android:layout_height="45dp" android:layout_weight="3" android:layout_marginTop="10dp" android:src="@drawable/lhead" tools:ignore="ContentDescription" /&gt; &lt;/LinearLayout&gt; &lt;EditText android:id="@+id/editText1" android:layout_width="match_parent" android:layout_height="45dp" android:layout_marginTop="60dp" android:background="#3c2b86" android:drawableLeft="@android:drawable/ic_menu_search" android:ems="10" android:gravity="right" android:paddingBottom="10dp" android:paddingLeft="10dp" android:paddingRight="15dp" android:paddingTop="10dp" android:singleLine="true" android:textStyle="bold" tools:ignore="HardcodedText,ExtraText,TextFields" &gt; &lt;requestFocus /&gt; &lt;/EditText&gt; &lt;ListView android:id="@android:id/list" android:layout_width="match_parent" android:layout_height="match_parent" android:divider="#100826" android:dividerHeight="0.5dp" android:listSelector="#1b0534" android:scrollbars="none" &gt; &lt;/ListView&gt; &lt;/LinearLayout&gt; </code></pre>
    singulars
    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.
    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