And what is your doubt?

Thanks

On Mon, Nov 28, 2011 at 12:47 PM, jaggu <[email protected]> wrote:

> Hi i want add 5 button in my screen one by one in buttton 1
>
> button2
>
> button3
> rest of the text not required can any one tell about this layout
> problem can any one clear about this doubt
>
>
>
>
>
>
>
> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android";
>    android:layout_width="fill_parent"
>    android:layout_height="?android:attr/listPreferredItemHeight"
>    android:orientation="horizontal" >
>
>    <Button
>        android:id="@+id/Button01"
>        android:layout_width="60dp"
>        android:layout_height="match_parent"
>        android:layout_marginTop="8dp"
>        android:gravity="center_horizontal"
>        android:text="Hours 0-23" />
>
>    <LinearLayout
>        android:layout_width="wrap_content"
>        android:layout_height="49dp"
>        android:layout_marginLeft="4dp"
>        android:gravity="center_vertical"
>        android:orientation="vertical" >
>
>        <TextView
>            android:id="@+id/day"
>            android:layout_width="wrap_content"
>            android:layout_height="wrap_content"
>            android:ellipsize="end"
>            android:includeFontPadding="false"
>            android:singleLine="true"
>            android:text="Fri" />
>
>        <TextView
>            android:id="@+id/dates"
>            android:layout_width="wrap_content"
>            android:layout_height="match_parent"
>            android:includeFontPadding="false"
>            android:maxLines="2"
>            android:paddingTop="2dip"
>            android:text="25 Nov" />
>        <TextView
>            android:id="@+id/day"
>            android:layout_width="wrap_content"
>            android:layout_height="match_parent"
>            android:includeFontPadding="false"
>            android:maxLines="2"
>            android:paddingBottom="2dip"
>            android:text="wed" />
>
>
>    </LinearLayout>
>
>    <ImageView
>        android:id="@+id/icon"
>        android:layout_width="46dp"
>        android:layout_height="wrap_content"
>        android:paddingLeft="20dp"
>        android:scaleType="centerInside"
>        android:src="@drawable/lightsnowsm" />
>
>    <LinearLayout
>        android:layout_width="wrap_content"
>        android:layout_height="fill_parent"
>        android:gravity="center_vertical"
>        android:orientation="vertical"
>        android:paddingLeft="20dp" >
>
>        <TextView
>            android:id="@+id/conditions"
>            android:layout_width="wrap_content"
>            android:layout_height="wrap_content"
>            android:ellipsize="none"
>            android:gravity="center_horizontal"
>            android:includeFontPadding="false"
>            android:singleLine="true"
>            android:text="Cloudy" />
>    </LinearLayout>
>
>    <LinearLayout
>        android:layout_width="wrap_content"
>        android:layout_height="fill_parent"
>        android:gravity="center_vertical"
>        android:orientation="vertical"
>        android:paddingLeft="20dp" >
>
>        <TextView
>            android:id="@+id/high"
>            android:layout_width="fill_parent"
>            android:layout_height="wrap_content"
>            android:ellipsize="none"
>            android:gravity="center_horizontal"
>            android:includeFontPadding="false"
>            android:singleLine="true"
>            android:text="55" />
>    </LinearLayout>
>
>    <ImageView
>        android:id="@+id/icon"
>        android:layout_width="match_parent"
>        android:layout_height="53dp"
>        android:layout_marginLeft="8dp"
>        android:scaleType="centerInside"
>        android:src="@drawable/arrowright" />
>
> </LinearLayout>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
Raghav Sood
http://www.androidactivist.org/ - Author
http://www.appaholics.in/ - Founder

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to