我无法在 Android Studio 布局编辑器中拖放小部件,我选择了空白 activity 但工作区中没有应用程序背景(框架)
I cannot drag drop widgets in Android Studio Layout Editor, I have selected blank activity but there is no app background (frame) in workspace
我已经安装了所有 sdk 并且安装正确,但我已经尝试了多次,但我无法调整可以插入工具、小部件、按钮等的应用程序框架(无法在工作区上添加任何内容)
我的Android工作室window图片:https://drive.google.com/file/d/0B8AWJ5JO_e0xVV9KVEE0TUpMYWc/view?usp=drivesdk
看起来您已经摆脱了组件树。
尝试转到“文本”选项卡并粘贴
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
</LinearLayout>
或您需要的任何根布局...
Select 设备,sdk 和主题,像这样
图片: https://drive.google.com/open?id=0B7VdJKtF9NwGNVFKeE5zZ2pxVHM
我已经安装了所有 sdk 并且安装正确,但我已经尝试了多次,但我无法调整可以插入工具、小部件、按钮等的应用程序框架(无法在工作区上添加任何内容)
我的Android工作室window图片:https://drive.google.com/file/d/0B8AWJ5JO_e0xVV9KVEE0TUpMYWc/view?usp=drivesdk
看起来您已经摆脱了组件树。
尝试转到“文本”选项卡并粘贴
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
</LinearLayout>
或您需要的任何根布局...
Select 设备,sdk 和主题,像这样 图片: https://drive.google.com/open?id=0B7VdJKtF9NwGNVFKeE5zZ2pxVHM