<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:gravity="center"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<ProgressBar android:id="@+android:id/progress_small"
style="?android:attr/progressBarStyleSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<TextView android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="15sp"
android:gravity="center"
android:text="LOREM IPSUM BAB BABALOREM IPSUM BAB BABALOREM"
/>
</LinearLayout>
Lorem の L とプログレス バーの間のギャップを削除するにはどうすればよいですか? テキストを中央揃えのみにしたい。
テキストビューの幅はラップコンテンツです。しかし、両側にギャップがあります。それを取り除く方法は?
どちらも私はそれを単一行にするつもりはありません。表示されている単語を見逃したくないので。
どちらも私はそれを左揃えにするつもりはありません