Unable to see completed view layout in Android Studio

前端 未结 15 1597
不思量自难忘°
不思量自难忘° 2020-12-12 14:37

I am creating a vertical LinearLayout that will be displayed in a vertical ScrollView. I can\'t find a way in Android Studio to see the portion of the LinearLayout that is

15条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-12 15:13

    I've just discovered how. You need to create a user defined device definition in Android AVD - I created one that was 480 x 4000 pixels. Exit and restart Android Studio and then you can select this device in the preview renderer and can see 4000 pixels worth of LinearLayout.

提交回复
热议问题