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
@MathieuB
Before chastising others, at least make sure you know what you are talking
about. When using the include tag you are only able to change the layout
attributes... you are not able to change any other attributes. The
solution did not work.
From *Re-using Layouts with include /*:
You can
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
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
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,
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
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
7 matches
Mail list logo