您的位置:首页 > 移动开发 > Android开发

Multiple annotations found at this line: - Consider adding android:paddingEnd="10dp" to better supp

2016-05-25 18:45 633 查看
错误提示:

Multiple annotations found at this line:
- Consider adding Android:paddingEnd="10dp"
to better support right-to-left layouts
- When you define paddingRight you should probably also define paddingLeft for right-to-left 
symmetry

错误地点:

android:paddingLeft="15dp" 或者 android:paddingRight="15dp"

修改方案:

在这个xml的父布局中添加

[html] view
plain copy

 





xmlns:tools="http://schemas.android.com/tools"  

        

tools:ignore="RtlSymmetry"  

截图:

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息