Thanks for this source of codes.

On Jun 17, 4:01 pm, ABSOLUT <[email protected]> wrote:
> Hi,
> I'm trying to make a custom relativelayout but when I start the
> activity it fails:
>
> 06-17 09:57:23.253: ERROR/AndroidRuntime(526):
> java.lang.RuntimeException: Unable to start activity
> ComponentInfo{com.es/com.es.KkActivity}:
> android.view.InflateException: Binary XML file line #4: Error
> inflating class com.es.kk.TransparentPanel
> 06-17 09:57:23.253: ERROR/AndroidRuntime(526): Caused by:
> android.view.InflateException: Binary XML file line #4: Error
> inflating class com.es.kk.TransparentPanel
> 06-17 09:57:23.253: ERROR/AndroidRuntime(526): Caused by:
> java.lang.ClassNotFoundException: com.es.kk.TransparentPanel in loader
> dalvik.system.PathClassLoader[/data/app/com.es-2.apk]
> ......
>
> My layout is:
>
> <?xml version="1.0" encoding="utf-8"?>
>  <!-- Broadcast Receiver que hay que definir para la actualizacion del
> widget -->
> <!-- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/
> android" -->
> <com.es.kk.TransparentPanel xmlns:android="http://schemas.android.com/
> apk/res/android"
>             android:id="@+id/relativo"
>                 android:layout_width="wrap_content"
>         android:layout_height="wrap_content" >
>         <ImageView android:id="@+id/imagenWidget"
>                 android:src="@drawable/tv"
>                 android:layout_height="fill_parent"
>                 android:layout_alignParentLeft="true" 
> android:layout_width="42dip"/>
>         <ImageView android:id="@+id/barra"
>                 android:src="@drawable/vertical"
>                 android:layout_height="100dip"
>                 android:layout_toRightOf="@id/imagenWidget"
>                 android:layout_width="5dip"/>
>         <TextView android:id="@+id/textoWidget"
>                 android:layout_toRightOf="@id/barra" 
> android:layout_height="50dip"
> android:gravity="center" android:layout_width="50dip"
> android:inputType="textMultiLine" android:textSize="8sp">
>         </TextView>
>         <ImageView android:id="@+id/barrahor"
>                 android:src="@drawable/vvh"
>                 android:layout_toRightOf="@id/barra"
>                 android:layout_below="@+id/textoWidget" 
> android:layout_width="50dip"
> android:layout_height="wrap_content" android:adjustViewBounds="true"/>
>         <Button android:id="@+id/btnborrarCron"
>                 android:layout_below="@+id/barrahor" 
> android:layout_toRightOf="@id/
> barra" android:background="@drawable/custom_widget_button"
> android:layout_height="match_parent" android:drawableLeft="@drawable/
> borrado" android:layout_width="50dip"  android:textSize="8sp"
> android:layout_centerVertical="true" android:gravity="center_vertical"
> android:paddingLeft="10dip">
>         </Button>
>         <ImageView android:id="@+id/barra2"
>                 android:src="@drawable/vertical"
>                 android:layout_height="100dip"
>                 android:layout_toRightOf="@id/textoWidget"
>                 android:layout_width="5dip"/>
>         <Button android:id="@+id/textoWidgetCron"
>                 android:layout_toRightOf="@id/barra2" android:text="hola"
> android:background="@drawable/custom_widget_button"
> android:layout_height="fill_parent" android:gravity="center"
> android:paddingTop="2dip" android:layout_width="match_parent"
> android:textSize="8sp">
>         </Button>
> </com.es.kk.TransparentPanel>
>
> Could you help me please?
> Many thanks and sorry for my english!

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