Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>To achieve that kind of Layout you better use Relative Layout which will be rendered properly amongst any devices.Something like this should be okay.</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;RelativeLayout android:id="@+id/relativeLayout1" android:layout_width="fill_parent" android:gravity="center" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android" android:background="#FFFFFF"&gt; &lt;ImageView android:layout_height="100px" android:id="@+id/deal_image" android:layout_width="120px" android:layout_alignParentTop="true" android:layout_alignParentLeft="true"&gt;&lt;/ImageView&gt; &lt;TextView android:id="@+id/deal_description" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_toRightOf="@+id/deal_image" android:layout_marginLeft="5dip" android:padding="2dp" android:textColor="#000000" /&gt; &lt;TextView android:id="@+id/deal_time" android:layout_height="wrap_content" android:layout_width="120px" android:padding="2dp" android:layout_below="@+id/deal_image" android:textColor="#FFFFFF" android:background="#13ADDF" android:textSize="12dip"&gt;&lt;/TextView&gt; &lt;TextView android:id="@+id/real_price" android:layout_height="wrap_content" android:layout_width="120px" android:padding="2dp" android:layout_below="@id/deal_time" android:textColor="#FFFFFF" android:background="#13ADDF" android:textSize="12dip"&gt;&lt;/TextView&gt; &lt;TextView android:id="@+id/deal_price" android:layout_height="wrap_content" android:layout_width="fill_parent" android:padding="2dp" android:background="#FFFFFF" android:layout_toRightOf="@id/real_price" android:layout_toLeftOf="@id/buy_button" android:textStyle="bold" android:textColor="#13ADDF" android:textSize="15dip" android:layout_below="@id/deal_description" android:gravity="center" android:layout_alignParentBottom="true" android:layout_alignBottom="@id/buy_button"&gt;&lt;/TextView&gt; &lt;/RelativeLayout&gt; </code></pre> <p>You can edit this and can achieve the structure that you want to display pretty much easily.</p>
    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. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      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