0
A
答えて
0
OK]をクリックして、
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:orientation="horizontal" >
<RadioButton
android:id="@+id/radio_pirates"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="male"
android:onClick="onRadioButtonClicked"/>>
<TextView
android:layout_width="100dp"
android:text="besides"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:text="@string/send" />
</LinearLayout>
+0
はい、しかし、そのテキストはボタンが表示されている行と同じ行に表示されますか?テキストの中には実際に長いものがあり、ボタンの上に1行上から始まります(質問を参照してください)。 RadioButtonと同じ行で開始するようにテキストを調整したい。 – Mir
関連する問題
- 1. テキストの配置
- 2. RadioGroup内のLineaLayoutにあるRadioButtonの配置方法
- 3. HTML5テキストの配置
- 4. Androidのテキスト付きのRadioButtonへのボーダー
- 5. のAndroid AlertDialogテキストの配置
- 6. テキストの上にテキストを配置
- 7. テキストの右側にあるAndroid RadioButtonオプション
- 8. テキストの配置が中心
- 9. テキストと画像の配置
- 10. テキストの配置方法は?
- 11. SimpleComboBox:テキストの配置GWT
- 12. CSS - テキストとアイコンの配置
- 13. HTML5 SVG - テキストの配置
- 14. ヒーローディビジョンの中央配置テキスト
- 15. libiconv.so:テキストの再配置
- 16. NSTextField内にテキストを配置
- 17. 要素とテキストCSS3配置
- 18. テキストをテキストエリアに配置
- 19. jQuery img relテキスト配置を別の領域に配置
- 20. テキストが正しい位置に配置されないテキスト
- 21. リストボックスでのテキストの配置の問題
- 22. カスタムダッシュボードのボタンのテキストの配置
- 23. javaの画像へのテキストの配置
- 24. WPF DataGridでのテキストの配置
- 25. 画像のテキストの配置は?
- 26. テキストの配置方法SAPUI5のオーバーイメージ?
- 27. PdfSharp:テキストの高さ/配置の問題
- 28. IText 7、PdfFormField内のテキストの配置?
- 29. PowerShellスクリプト、セル内のテキストの配置
- 30. UIAlertactionボタンのテキスト配置のバグ?
これを試してみてください私はあなたが私はアプリケーションにいるときのRadioButtonのテキストは、ボタン自体と同じ行になりたい – njzk2
を求めているものを得ることはありません。今は、テキストが実際には長いので、テキストは上記のようにラジオボタンの上に1行だけ開始します。これは理にかなっていますか? – Mir
例のXMLレイアウトを投稿してください。 –