Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
AndroidアプリケーションTftを開発しています。
この URL からカバーフローの例をダウンロードしました: Android Coverflow Widget
そのリストのすべての画像の下にテキストを配置したい。これどうやってするの?
また、coverflow ウィジェットでも同じ問題に直面していました。
いくつかの調査の後、方法を使用する解決策を思い付きましたcanvas.drawText()。
canvas.drawText()
canvas.drawText(String, origin-x, origin-y, paint)反射画像を描画するメソッドを追加します。
canvas.drawText(String, origin-x, origin-y, paint)
例えば:canvas.drawText("helloo", 10, 10, new Paint())
canvas.drawText("helloo", 10, 10, new Paint())