2016-07-30 1 views
1

説明: AndroidでAutoCompleteTextViewコンポーネントの最後に「Powered by google」テキストを挿入します。AndroidでAutoCompleteTextViewの「Powered by Google」キャプションを設定するにはどうすればよいですか?

ここに私が欲しいものを特定するためのイメージはありますか?

enter image description here

私は正確に上記画像のようにします。してください、私はこれを解決するために手伝ってください。

答えて

0

あなたのテキストビュー

// inflate text view 
    TextView textView = (TextView) getLayoutInflater().inflate(R.layout.customtextview, null); 


// this is a custom layout that you to add at the text view and it should include text and image view as your requirement 
    LinearLayout layoutForText = (LinearLayout)findViewById(R.id.layout_for_text); 
layoutForText.addView(main); 
のためのカスタムレイアウトを作成します
関連する問題