android - About extending LinearLayout -


i need create view extends linearlayout contain standard android widget. i've created class mylinearlayout extends linearlayout class; now, how can use element in xml layout file? can't working , haven't been able find info , i'm bit confused... o.o

assuming

package com.example;  public class mylinearlayout extends linearlayout... 

in xml can use

<com.example.mylinearlayout    android:id="@+id/mylayout"    [rest of attributes go here] > [other stuff here] </com.example.mylinearlayout> 

Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -