нету его. XML в смысле
И активити там нет.
Динамически из явы создаётся
Код создания окна если поможет
public void Window_style_rec (){
Typeface face = Typeface.createFromAsset(getAssets(), "lcd.ttf");
wm = (WindowManager) getSystemService(WINDOW_SERVICE);
ll = new LinearLayout(this);
msgstr = new TextView(this);
img = new ImageView(this);
LinearLayout.LayoutParams llParameters = new LinearLayout.LayoutParams(LinearLayout.LayoutParam s.WRAP_CONTENT,ViewGroup.LayoutParams.WRAP_CONTENT );
ll.setBackgroundColor(Color.argb(180, 0, 0, 0)); //255,0,0
ll.setOrientation(LinearLayout.HORIZONTAL);
ViewGroup.LayoutParams groupParameters = new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP _CONTENT,ViewGroup.LayoutParams.WRAP_CONTENT);
img.setLayoutParams(groupParameters);
msgstr.setTypeface(face);
msgstr.setTextSize(80);
msgstr.setTextColor(0xFFE6E9FD);
msgstr.setLayoutParams(groupParameters);
ll.setLayoutParams(llParameters);
ll.addView(img);
ll.addView(msgstr);
WindowManager.LayoutParams parameters = new WindowManager.LayoutParams(WindowManager.LayoutPar ams.WRAP_CONTENT,ViewGroup.LayoutParams.WRAP_CONTE NT,WindowManager.LayoutParams.TYPE_PHONE,WindowMan ager.LayoutParams.FLAG_NOT_FOCUSABLE, PixelFormat.TRANSLUCENT);
parameters.x = 0;
parameters.y = 0;
parameters.gravity = Gravity.CENTER | Gravity.CENTER;
wm.addView(ll, parameters);
}
|