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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -