私は私のボタンにエフェクトを追加するために、この外部ライブラリを使用しています。私は次の操作を実行した場合:ボタンを追加しますか?</p> <p><a href="https://github.com/markushi/android-circlebutton" rel="nofollow">https://github.com/markushi/android-circlebutton</a></p> <p>をそして私は、私のボタンにテキストを追加したい:
<at.markushi.ui.CircleButton
android:layout_width="100dip"
android:layout_height="100dip"
app:cb_color="#99CC00"
app:cb_pressedRingWidth="30dip"
android:text = "hi"
android:layout_gravity="center"
/>
を "HI" は表示されません。ボタンにテキストを追加するにはどうすればよいですか?
おかげで、
Ruchir
このcircleButton:
その後、
init()
方法から、この行削除:をそして、この行を追加します。デザインガイドライン..フローティングボタンは表示されないテキストhttps://www.google.com/design/spec/components/buttons-floating-action-button.html#buttons-floating-action-button-floating-action-button –