Extends the criteria width of split mode
Follow the ui spec, we extend criteria width from 600dp -> 720dp Test: Build apk and run on the device. Fix: 197716926 Change-Id: If963ebb1f51c71a1d225198a150e4cbc2f5ef35a
This commit is contained in:
@@ -28,7 +28,7 @@ import androidx.window.embedding.SplitController;
|
||||
public class ActivityEmbeddingUtils {
|
||||
public static final float SPLIT_RATIO = 0.5f;
|
||||
// The smallest value of current width of the window when the split should be used.
|
||||
private static final float MIN_CURRENT_SCREEN_SPLIT_WIDTH_DP = 600f;
|
||||
private static final float MIN_CURRENT_SCREEN_SPLIT_WIDTH_DP = 720f;
|
||||
// The smallest value of the smallest-width (sw) of the window in any rotation when
|
||||
// the split should be used.
|
||||
private static final float MIN_SMALLEST_SCREEN_SPLIT_WIDTH_DP = 600f;
|
||||
|
Reference in New Issue
Block a user