一.新建一个layout5.xml,同样换为constriant模式. 二.拖动两个Button到预览界面,第一个按钮名字改为DISPLAY WEBPAGE,第二个按钮名字改为MAKE A CALL.第一个按钮连接上左右.width改为match.第二个按钮连接左右,上方连第一个按钮的下方.width改为match,与第一个按钮的距离改为16.切换到text模式,在第一个按钮下添加android:onClick="openWebpage";第二个按钮下添加android:onClick…
Receiving an Implicit Intent To advertise which implicit intents your app can receive, declare one or more intent filters for each of your app components with an <intent-filter> element in your manifest file. Each intent filter specifies the type of…
Forcing an app chooser When there is more than one app that responds to your implicit intent, the user can select which app to use and make that app the default choice for the action. This is nice when performing an action for which the user probably…