Revision 51baad0e
Added by Leszek Koltunski over 3 years ago
src/main/java/org/distorted/screens/RubikScreenPlay.java | ||
---|---|---|
139 | 139 |
|
140 | 140 |
mObjectPopup.showAsDropDown(view, margin, margin); |
141 | 141 |
mObjectPopup.update(view, mObjectSize*mColCount, mObjectSize*rowCount); |
142 |
mObjectPopup.setFocusable(true); |
|
143 |
mObjectPopup.update(); |
|
144 | 142 |
} |
145 | 143 |
} |
146 | 144 |
}); |
... | ... | |
173 | 171 |
|
174 | 172 |
mPlayPopup.showAsDropDown(view, margin, margin); |
175 | 173 |
mPlayPopup.update(view, mPlayLayoutWidth, Math.min(popupHeight,maxHeight)); |
176 |
mPlayPopup.setFocusable(true); |
|
177 |
mPlayPopup.update(); |
|
178 | 174 |
} |
179 | 175 |
} |
180 | 176 |
}); |
... | ... | |
200 | 196 |
|
201 | 197 |
mMenuPopup.showAsDropDown(view, (int)(-width/12), margin, Gravity.CENTER); |
202 | 198 |
mMenuPopup.update(view, mMenuLayoutWidth, mMenuLayoutHeight); |
203 |
mMenuPopup.setFocusable(true); |
|
204 | 199 |
} |
205 | 200 |
} |
206 | 201 |
}); |
Also available in: Unified diff
Simplify Play Screen popups.