I'm implementing a dialler screen and I want to make the keypad as a custom view (so that I can embed it directly in other UI if needed)
I've defined a layout xml file keypad.xml so I'm able to show the keypad at least in my dialler screen. I'm wondering if it's possible to programmatically make it as a KeypadView class (using keypad.xml layout) so that when I need the same layout again, I could embed it by calling
<com.example.KeypadView ..></com.example.KeypadView>
I've done some very simple custom TextView before.. this one is a bit more complex and I have no much idea yet...
No comments:
Post a Comment