public LayoutParams getClingWindowLayoutParams() {
   LayoutParams lp = new LayoutParams(-1, -1, 2005, 16777480, -3);
   lp.privateFlags |= 16;
   lp.setTitle(TAG);
   lp.windowAnimations = 16974566;
   lp.gravity = 119;
   return lp;
 }
Пример #2
0
 private LayoutParams createPopupLayout(IBinder token) {
   LayoutParams p = new LayoutParams();
   p.gravity = 8388659;
   p.width = -1;
   p.height = -1;
   p.format = -3;
   p.flags = this.computeFlags(p.flags);
   p.type = 1000;
   p.token = token;
   p.softInputMode = 3;
   p.setTitle("DiscreteSeekBar Indicator:" + Integer.toHexString(this.hashCode()));
   return p;
 }