Beispiel #1
0
  public void getStatusheight() {

    L.i("MoveImageView2", "statusBarHeight=" + ScreenUtils.getStatusHeight(MainActivity.this) + "");
    L.i("MoveImageView2", "setScreenW=" + ScreenUtils.getScreenWidth(MainActivity.this) + "");
    L.i("MoveImageView2", "setStatusH=" + ScreenUtils.getScreenHeight(MainActivity.this) + "");
    L.i(
        "MoveImageView2",
        "getNavigationBarHeight=" + ScreenUtils.getNavigationBarHeight(MainActivity.this) + "");

    moveImageView2.setStatusH(ScreenUtils.getStatusHeight(MainActivity.this));

    moveImageView2.setScreenW(ScreenUtils.getScreenWidth(MainActivity.this));
    moveImageView2.setScreenH(ScreenUtils.getScreenHeight(MainActivity.this));
    moveImageView2.setavigation(ScreenUtils.getNavigationBarHeight(MainActivity.this));

    //        screenW = ScreenUtils.getScreenWidth(context);
    //        // 获取屏幕高度
    //        screenH = ScreenUtils.getScreenHeight(context);
  }
Beispiel #2
0
 @Override
 protected void onDestroy() {
   L.i(TAG, "onDestroy");
   super.onDestroy();
 }
Beispiel #3
0
 @Override
 protected void onStop() {
   L.i(TAG, "onStop");
   super.onStop();
 }
Beispiel #4
0
 @Override
 protected void onPause() {
   L.i(TAG, "onPause");
   super.onPause();
 }
Beispiel #5
0
 @Override
 protected void onResume() {
   L.i(TAG, "onResume");
   super.onResume();
 }
Beispiel #6
0
 @Override
 protected void onRestart() {
   L.i(TAG, "onRestart");
   super.onRestart();
 }