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 -

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

ssh client with paramiko (python) -