He's probably using dip units, and it wants him to use pixels or inches or 
something else.



On Monday, August 6, 2012 4:36:30 PM UTC-5, Kostya Vasilyev wrote:
>
> match_parent and fill_parent are handled by the resource compiler and are 
> the same at runtime (check ViewGroup.LayoutParams).
>
> Posting a portion of your layout file should help.
>
> -- K
>
> 2012/8/7 Justin Anderson <[email protected]>
>
>> Maybe it says something like fill_parent and it wants to see match_parent?
>>>
>> If that is the case then it would probably be the other way around... 
>> match_parent was added after fill_parent
>>
>>
>> Thanks,
>> Justin Anderson
>> MagouyaWare Developer
>> http://sites.google.com/site/magouyaware
>>
>>
>> On Mon, Aug 6, 2012 at 2:00 PM, bob <[email protected]> wrote:
>>
>>> Why not take a look at your XML file on line #24?
>>>
>>> Maybe it says something like fill_parent and it wants to see 
>>> match_parent?
>>>
>>>
>>>
>>> On Saturday, August 4, 2012 4:59:32 AM UTC-5, VIPIN wrote:
>>>>
>>>> Hello All,
>>>> I am new  in Android 
>>>> I have develop a app in android api level 8( version 2.2). And it is 
>>>> working fine. But when i run this program in Lower version , then it work 
>>>> fine with API level 6 & 7. But it gives error in API level 5. It shows 
>>>> error :
>>>>
>>>>  ERROR/AndroidRuntime(287): Uncaught handler: thread main exiting due 
>>>> to uncaught exception
>>>>
>>>>  ERROR/AndroidRuntime(287): java.lang.RuntimeException: Unable to start 
>>>> activity 
>>>> ComponentInfo{com.tech.gift/**com.tech.gift.**HomeLayoutActivity}: 
>>>> android.view.InflateException: Binary XML file line #24: Error inflating 
>>>> class android.widget.FrameLayout
>>>>  
>>>>
>>>> I have check all xml file as well as activity files. but there is not 
>>>> any problam.
>>>>
>>>> Plz suggest we what i do to rum my App on API level 5 of Android.
>>>>
>>>  -- 
>>> 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
>>
>
>

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