Loading libs/WindowManager/Shell/res/layout/split_decor.xml +3 −2 Original line number Diff line number Diff line Loading @@ -20,9 +20,10 @@ android:layout_width="match_parent"> <ImageView android:id="@+id/split_resizing_icon" android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_height="@*android:dimen/starting_surface_icon_size" android:layout_width="@*android:dimen/starting_surface_icon_size" android:layout_gravity="center" android:scaleType="fitCenter" android:padding="0dp" android:visibility="gone" android:background="@null"/> Loading libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/DropZoneView.java +6 −3 Original line number Diff line number Diff line Loading @@ -28,6 +28,7 @@ import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import android.util.AttributeSet; import android.util.FloatProperty; import android.view.Gravity; import android.view.View; import android.view.ViewGroup; import android.widget.FrameLayout; Loading Loading @@ -110,10 +111,12 @@ public class DropZoneView extends FrameLayout { mColorDrawable = new ColorDrawable(); setBackgroundDrawable(mColorDrawable); final int iconSize = context.getResources().getDimensionPixelSize( com.android.internal.R.dimen.starting_surface_icon_size); mSplashScreenView = new ImageView(context); mSplashScreenView.setScaleType(ImageView.ScaleType.CENTER); addView(mSplashScreenView, new FrameLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)); mSplashScreenView.setScaleType(ImageView.ScaleType.FIT_CENTER); addView(mSplashScreenView, new FrameLayout.LayoutParams(iconSize, iconSize, Gravity.CENTER)); mSplashScreenView.setAlpha(0f); mMarginView = new MarginView(context); Loading Loading
libs/WindowManager/Shell/res/layout/split_decor.xml +3 −2 Original line number Diff line number Diff line Loading @@ -20,9 +20,10 @@ android:layout_width="match_parent"> <ImageView android:id="@+id/split_resizing_icon" android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_height="@*android:dimen/starting_surface_icon_size" android:layout_width="@*android:dimen/starting_surface_icon_size" android:layout_gravity="center" android:scaleType="fitCenter" android:padding="0dp" android:visibility="gone" android:background="@null"/> Loading
libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/DropZoneView.java +6 −3 Original line number Diff line number Diff line Loading @@ -28,6 +28,7 @@ import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import android.util.AttributeSet; import android.util.FloatProperty; import android.view.Gravity; import android.view.View; import android.view.ViewGroup; import android.widget.FrameLayout; Loading Loading @@ -110,10 +111,12 @@ public class DropZoneView extends FrameLayout { mColorDrawable = new ColorDrawable(); setBackgroundDrawable(mColorDrawable); final int iconSize = context.getResources().getDimensionPixelSize( com.android.internal.R.dimen.starting_surface_icon_size); mSplashScreenView = new ImageView(context); mSplashScreenView.setScaleType(ImageView.ScaleType.CENTER); addView(mSplashScreenView, new FrameLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT)); mSplashScreenView.setScaleType(ImageView.ScaleType.FIT_CENTER); addView(mSplashScreenView, new FrameLayout.LayoutParams(iconSize, iconSize, Gravity.CENTER)); mSplashScreenView.setAlpha(0f); mMarginView = new MarginView(context); Loading