Build Android app based on Android Source instead of official sdk -
i modify existing source of android sdk, instance, in linearlayout , put print message or adding paddings constant
so there way can create new android app, , have depends on sdk source instead of choosing sdk in projection creation.
thanks
you can extend linearlayout, or extend viewgroup class (which standard layouts extend). in layout xml can declare custom view:
<com.example.mylayout adnroid:layout_width="..." ... > </com.example.mylayout>
my problem inflater ignored children under custom layout. maybe did wrong, , luckier :) in worst scenario may have separate layout xml children , add programmatically after inflating.
embedding own layout android system not practice mere reason in case have supply modified android system users of app :)
Comments
Post a Comment