初版定稿
This commit is contained in:
@@ -41,7 +41,7 @@ public class DropView extends LinearLayout {
|
||||
int sh = ScreenUtils.getScreenHeight();
|
||||
int sw = ScreenUtils.getScreenWidth();
|
||||
setBackgroundResource(R.drawable.bg_home_drop_view);
|
||||
int y = (int) (0.8f * sh) - getHeight();
|
||||
int y = (int) (0.5f * sh) - getHeight();
|
||||
int x = sw - getWidth();
|
||||
setTranslationX(x);
|
||||
setTranslationY(y);
|
||||
|
||||
Reference in New Issue
Block a user