小编use*_*953的帖子

android工具栏显示半个内容

在此输入图像描述

我用CoordinatorLayout和CollapsingToolbarLayout,我不知道是什么造成这个错误,这是我的xml文件

活动的main.xml

<?xml version="1.0" encoding="utf-8"?>
Run Code Online (Sandbox Code Playgroud)

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations …
Run Code Online (Sandbox Code Playgroud)

android toolbar android-layout android-toolbar

4
推荐指数
2
解决办法
1600
查看次数