in the layput file there is just a main.xml with the default setting as a
textview. Because in my code I am manually giving the values to be entered
and I am using a toast .maketext to display it.

this is my android. xml file

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android";
      package="com.Dbtest"
      android:versionCode="1"
      android:versionName="1.0">
    <uses-sdk android:minSdkVersion="8" />

    <application android:icon="@drawable/icon"
android:label="@string/app_name">
        <activity android:name=".Dbtest"
                  android:label="@string/app_name">

            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    <activity android:name=".DBAdapter"
                  android:label="@string/app_name"></activity>
    </application>
</manifest>

On Mon, May 16, 2011 at 4:56 PM, Paul Turchenko <[email protected]>wrote:

> Mention full package name in your XML file.
> Like:
> <com.mypackage.views.ResettableChronometer
> android:layout_width="fill_parent"
> android:layout_height="fill_parent"/>
>
> On May 15, 1:59 am, Brian Carmicle <[email protected]> wrote:
> > Right now, I'm trying to extend Chronometer (1) with a class called
> > ResettableChronometer. When I try to use it, however, my app crashes
> > because it couldn't "inflate" ResettableChronometer from the XML
> > layout file I was using for that Activity. I've found some general
> > documentation on Views (2), which references LayoutInflater, but I'm
> > having trouble understanding how this all works (I'm new to Android).
> > Is there some sort of tutorial or walkthough that can help me
> > understand how to do this?
> >
> > (1)
> http://developer.android.com/reference/android/widget/Chronometer.html
> > (2)http://developer.android.com/reference/android/view/View.html
> > (3)
> http://developer.android.com/reference/android/view/LayoutInflater.html
>
> --
> 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 are What You Think You are...."
                                By Budha

Karmani ave adhikars te
ma phalesu kadachana
ma karmaphal hetur bhoo
ma sangostu akramani
                                   From Gita

http://sproutinggeek.blogspot.com/

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