APP_Activity_Dialog

old/API_Demo 2010. 3. 15. 20:21
[DialogActivity.java]

requestWindowFeature(Window.FEATURE_LEFT_ICON);

setContentView(R.layout.dialog_activity);
       
getWindow().setFeatureDrawableResource(Window.FEATURE_LEFT_ICON,  android.R.drawable.ic_dialog_alert);


[Manifest.xml]

<activity android:name=".app.DialogActivity"
             android:label="@string/activity_dialog"
             android:theme="@android:style/Theme.Dialog">


'old > API_Demo' 카테고리의 다른 글

APP_Activity_Hello World  (0) 2010.03.15
APP_Activity_Forwarding  (0) 2010.03.15
APP_Activity_Custom Title  (0) 2010.03.15
APP_Activiy_Custom Dialog  (0) 2010.03.15
APP_Activiy_Animation [Fade in, Zoom in]  (0) 2010.02.22
Posted by jazzlife
,