Give it a tag or an ID so you can find it in your code and change it
On Oct 19, 2013 2:32 PM, "12169" <[email protected]> wrote:

> Hi,
>
> but how i can change the text of TextView.
>
> On Friday, October 18, 2013 7:53:55 AM UTC-7, SIVAKUMAR.J wrote:
>>
>> U can acheive this by using include tag in xml layout
>> On Oct 18, 2013 7:23 PM, "12169" <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> I have below layout file and i want to use it inside of other layout
>>> files, instead of every time creating  it. and inside of  other layout
>>> files i want to change the text of  textview and also want to provide the
>>> id to TextView
>>>
>>>  <LinearLayout
>>>         android:layout_width="match_**parent"
>>>         android:layout_height="wrap_**content"
>>>         android:orientation="vertical"**>
>>>         <TextView
>>>             android:layout_width="wrap_**content"
>>>             android:layout_height="wrap_**content"
>>>             android:text="Ashish"/>
>>>         <TextView
>>>             android:layout_width="wrap_**content"
>>>             android:layout_height="wrap_**content"
>>>             android:text="Sharma"/>
>>>     </LinearLayout >
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to android-d...@**googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+**[email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/**group/android-developers?hl=en<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 unsubscribe from this group and stop receiving emails from it, send
>>> an email to android-developers+**[email protected].
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>  --
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to