In a quest to understand CSipSimple opensource app, I checked it out and compiled it successfully. However -> in the file SipHome.java of package com.csipsimple.ui, inside the onCreate() method:
setContentView(R.layout.sip_home);
The question is : where can I find sip_home.xml file ? I only found two files :
1 - sip_home_one_pane.xml 2 - sip_home_dual_pane.xml
No sip_home.xml : what is going on ? how does the application decide how to load R.layout.sip_home ?
You can find this in layout.xml in res/values folder. It is defined a layout reference to @layout/sip_home_one_pane.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.