You can do it this way but you may have to set the text programatically...

However, a better way would be to create a style for your text view and
apply the style wherever you want a textview that looks the same.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Fri, Nov 15, 2013 at 12:01 PM, 12169 <[email protected]> wrote:

> Hi,
>
> After search i found include tag does not know about the view to which it
> is creating ,so it does not know about the properties of the child view to
> which it is creating.so the way you mention is not feasible ..
>
>
> On Friday, November 15, 2013 10:03:29 AM UTC-8, MathieuB wrote:
>>
>> Well, i'm not gonna come and do it for you. There's no reason it's not
>> working. If you are not willing to learn the basic first...i'm outta here
>>
>> Learn to read the error, the console, logcat, etc.
>>
>> On Friday, November 15, 2013 11:58:14 AM UTC-5, 12169 wrote:
>>>
>>> It is not working...
>>>
>>> On Friday, November 15, 2013 8:53:19 AM UTC-8, 12169 wrote:
>>>>
>>>> Hi ,
>>>>
>>>> android:text=”Your new text string”
>>>>
>>>> eclipse is not showing this option in ctrl+space
>>>>
>>>>
>>>> On Wednesday, November 13, 2013 7:51:47 AM UTC-8, MathieuB wrote:
>>>>>
>>>>> Let's say you named this layout, with your textview tv_layout. Use
>>>>> that in your other layout to include it. Note that you can override other
>>>>> value like layout_width, id, etc. :
>>>>>
>>>>> <include android:text=”Your new text string”
>>>>>
>>>>>          layout=”@layout/tv_layout”/>
>>>>>
>>>>>
>>>>>  --
> 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