can any one respond pls

On Sat, Nov 26, 2011 at 12:30 AM, jaggu <[email protected]> wrote:
> Hi i have doubt matching both textview
>
> each of the textview need to match the same text so i am getting the
> data from the webservices :its coming down from the textview what i
> asked the previous question
>
> this type i required in my layout i was faceing some issues its coming
> down of the text because of iam reading that data from webservices .
>
>
> <?xml version="1.0" encoding="utf-8"?>
> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android";
>    android:layout_width="match_parent"
>    android:layout_height="match_parent"
>    android:orientation="vertical" >
>
>    <TextView
>        android:id="@+id/TextView01"
>        android:layout_width="wrap_content"
>        android:layout_height="wrap_content"
>        android:paddingLeft="20dp"
>        android:text="Preciption" />
>
>    <RelativeLayout        android:layout_width="207dp"
>        android:layout_height="wrap_content"
>        android:layout_gravity="center"
>        android:gravity="right"
>        android:paddingTop="20dp" >
>
>        <TextView
>            android:id="@+id/date"
>            android:layout_width="wrap_content"
>            android:layout_height="wrap_content"
>            android:text="date" />
>
>        <TextView
>            android:id="@+id/location"
>            android:layout_width="wrap_content"
>            android:layout_height="wrap_content"
>            android:layout_below="@+id/date"
>            android:text="location" />
>
>        <TextView
>            android:id="@+id/cloudstring"
>            android:layout_width="wrap_content"
>            android:layout_height="wrap_content"
>            android:layout_below="@+id/location"
>            android:text="partion" />
>
>
>        <ImageButton
>            android:id="@+id/next"
>            android:layout_width="wrap_content"
>            android:layout_height="wrap_content"
>            android:layout_alignTop="@+id/date"
>            android:layout_toRightOf="@+id/cloudstring"
>            android:padding="20dp"
>            android:paddingLeft="20dip"
>            android:scaleType="centerInside"
>            android:src="@drawable/arrowright" />
>
>    </RelativeLayout>
>
>    <RelativeLayout
>        android:layout_width="wrap_content"
>        android:layout_height="wrap_content"
>        android:paddingLeft="20dp"
>        android:paddingTop="20dp" >
>
>        <TextView
>            android:id="@+id/hi"
>            android:layout_width="wrap_content"
>            android:layout_height="wrap_content"
>            android:text="Hi Temp" />
>
>        <TextView
>            android:id="@+id/hitemp"
>            android:layout_width="wrap_content"
>            android:layout_height="wrap_content"
>            android:layout_below="@+id/hi"
>            android:text="Hi Temp"
>            android:textColor="#ff0000" />
>
>
>
>        <ImageView
>            android:id="@+id/cloudimage"
>            android:layout_width="wrap_content"
>            android:layout_height="wrap_content"
>            android:layout_alignTop="@+id/lo"
>            android:layout_toRightOf="@+id/hi"
>            android:paddingLeft="20dp"
>            android:src="@drawable/partlysunny" />
>
>        <TextView
>            android:id="@+id/lo"
>            android:layout_width="wrap_content"
>            android:layout_height="wrap_content"
>            android:layout_toRightOf="@+id/cloudimage"
>            android:paddingLeft="20dp"
>            android:text="Lo Temp" />
>
>        <TextView
>            android:id="@+id/lotemp"
>            android:layout_width="wrap_content"
>            android:layout_height="wrap_content"
>            android:layout_below="@+id/lo"
>            android:layout_toRightOf="@+id/cloudimage"
>            android:paddingLeft="20dp"
>            android:text="Lo Temp"
>            android:textColor="#0000ff" />
>    </RelativeLayout>
>
>    <RelativeLayout
>        android:layout_width="wrap_content"
>        android:layout_height="wrap_content"
>        android:layout_gravity="center"
>        android:paddingBottom="20dp" >
>    </RelativeLayout>
>
>    <TextView
>        android:id="@+id/Preciption"
>        android:layout_width="wrap_content"
>        android:layout_height="wrap_content"
>        android:paddingLeft="20dp"
>        android:text="Preciption" />
>
>
>    <TextView
>        android:id="@+id/RelHumidity"
>        android:layout_width="wrap_content"
>        android:layout_height="wrap_content"
>        android:paddingLeft="20dp"
>        android:text="RelHumidity:" />
>
>    <TextView
>        android:id="@+id/wind:"
>        android:layout_width="wrap_content"
>        android:layout_height="wrap_content"
>        android:paddingLeft="20dp"
>        android:text="wind:" />
>
>    <TextView
>        android:id="@+id/Gust:"
>        android:layout_width="wrap_content"
>        android:layout_height="wrap_content"
>        android:paddingLeft="20dp"
>        android:text="Gust:" />
>
>    <TextView
>        android:id="@+id/UvIndex:"
>        android:layout_width="wrap_content"
>        android:layout_height="wrap_content"
>        android:paddingLeft="20dp"
>        android:text="UvIndex:" />
>
>    <TextView
>        android:id="@+id/Sunrise:"
>        android:layout_width="wrap_content"
>        android:layout_height="wrap_content"
>        android:paddingLeft="20dp"
>        android:text="Sunrise:" />
>
>    <TextView
>        android:id="@+id/Sunset:"
>        android:layout_width="wrap_content"
>        android:layout_height="wrap_content"
>        android:paddingLeft="20dp"
>        android:text="Sunset:" />
>
>    <TextView
>        android:id="@+id/DayligshtHr:"
>        android:layout_width="wrap_content"
>        android:layout_height="wrap_content"
>        android:paddingLeft="20dp"
>        android:text="DayligshtHr:" />
>
>    <TextView
>        android:id="@+id/Moonrise:"
>        android:layout_width="wrap_content"
>        android:layout_height="wrap_content"
>        android:paddingLeft="20dp"
>        android:text="Moonrise:" />
>
>    <TextView
>        android:id="@+id/Moonset:"
>        android:layout_width="wrap_content"
>        android:layout_height="wrap_content"
>        android:paddingLeft="20dp"
>        android:text="Moonset:" />
>
>    <TextView
>        android:id="@+id/Moonllum"
>        android:layout_width="wrap_content"
>        android:layout_height="wrap_content"
>        android:paddingLeft="20dp"
>        android:text="Moonllum:" />
>
> </LinearLayout>
>
>
>
>
> On Sat, Nov 26, 2011 at 12:24 AM, TreKing <[email protected]> wrote:
>> On Fri, Nov 25, 2011 at 12:42 PM, jaggu <[email protected]> wrote:
>>>
>>> can you any one guide me how tdo this i have
>>> taken relelative layout please any one tell me how to do this
>>
>> How to do what?
>>
>> -------------------------------------------------------------------------------------------------
>> TreKing - Chicago transit tracking app for Android-powered devices
>>
>> --
>> 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
>

-- 
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