私はヘブライ語でアプリケーションを作成しています(これはrtlです)。 ダイアログ・フラグメントのタイトルを設定すると、左側に表示されます。 は、私はそれが実行して右側に表示作ってみました:ダイアログのフラグメントタイトルを右から表示するように設定する
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState)
{
//set's up the title for this dialog fragment
getDialog().getWindow().setGravity(Gravity.RIGHT);
getDialog().setTitle(R.string.find_Address_text);
をそれがタイトルの位置には影響を与えません。 これをどのように達成できますか? TNX
私はこの方法を使用しました:http://stackoverflow.com/questions/14439538/how-can-i-change-the-color-of-alertdialog-title-and-the-color-of-the-line-/23278774#23278774 –