Friday, November 15, 2013

[android-developers] Re: android how to use one view in multiple layouts files.

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
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 android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate