Comments (1)
<style name="QMUI.RoundButton" parent="@style/Button.Compat">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<!--<item name="android:padding">0dp</item>--><!-- 不用 android:padding,而用各个方向分别指定 padding,方便子类覆盖 -->
<item name="android:paddingLeft">0dp</item>
<item name="android:paddingRight">0dp</item>
<item name="android:paddingTop">0dp</item>
<item name="android:paddingBottom">0dp</item>
<item name="android:minWidth">0dp</item>
<item name="android:minHeight">0dp</item>
<item name="android:singleLine">true</item>
<item name="android:gravity">center</item>
<item name="android:ellipsize">end</item>
<item name="qmui_isRadiusAdjustBounds">true</item>
<item name="qmui_backgroundColor">?attr/qmui_skin_support_round_btn_bg_color</item>
<item name="qmui_borderWidth">?attr/qmui_round_btn_border_width</item>
<item name="qmui_borderColor">?attr/qmui_skin_support_round_btn_border_color</item>
<item name="android:textColor">?attr/qmui_skin_support_round_btn_text_color</item>
</style>
经反复尝试,将该style里的paddingL/R删去即可正常使用start/end
from qmui_android.
Related Issues (20)
- 边框和圆角一起用时,背景和边框的圆角不一致导致背景溢出
- 求更新文档 HOT 1
- 吐槽一下:你们真的好偏爱IOS HOT 1
- 轻问2.0.0view都支持rtl了吗
- 编译不过
- git'' finished with non-zero exit value 128 HOT 1
- 可见第一个item侧滑删除问题
- 官网都打不开了啊,请问你们都是怎么看文档的啊 HOT 3
- 配置好项目的时候,点运行就爆Could not resolve all files for configuration ':app:debugRuntimeClasspath'. HOT 1
- 深色模式,跟随系统时键盘会切换深色;APP内手动选择,键盘无法切换。试了微信读书也无法正常切换键盘深色模式。
- # 吐槽
- 鸿蒙3.0.0适配问题
- 分支介绍 HOT 1
- Bottom sheet 内 跳转页面隐藏弹窗 黑色蒙层还在 回调dialog state为2
- qmui_ptr_auto_refresh not found.
- (part sticky header + viewpager) 接口请求数据如何刷新RecyclerView
- 还有在维护吗? 官网打不开 HOT 8
- 关于运行qmuidemo的注意事项 HOT 2
- 快速滑动页面崩溃No virtual method formatted HOT 1
- > ```
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qmui_android.