私は仕事のために、このカスタムレイアウトにする必要があります:私は内部のEditTextとカスタムフレームを使用しましたが、今、私は大きなものを必要とするので、私は描画可能なを作成する必要が前に このカスタムイメージビュー/テキストビューの作成方法は?
を。
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<stroke android:width="1dp"
android:color="#EBEBE1" />
<padding android:left="5dp"
android:top="5dp"
android:right="5dp"
android:bottom="5dp"/>
</shape>
誰もこれを完了するために私を助けることができる: 問題は、私はドローアブルとよくないんだと私はこのレイアウトを作っているということでしょうか?カスタムのTextViewのため
おかげ
私はバックグラウンドで画像を使うのが最善の方法だと思います。もし私が間違っていれば私を訂正してください。 –
@MayurRaval私もこれと思いますが、問題は私が良い結果がなければとても多くのメモリを使用していることです – ste9206
私はmayurと同意します。背景に9パッチの画像を使用します –