[Settings] Dialog does not show full msg and title in landscape mode
Add scroll bar and fix the text's style Bug: 278831022 Test: manual local test Change-Id: Ic0ad0c097099181f92535dba247d0c646904b7c7
This commit is contained in:
@@ -13,9 +13,16 @@
|
|||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<LinearLayout
|
<ScrollView
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fadeScrollbars="false"
|
||||||
|
android:scrollbarStyle="outsideOverlay"
|
||||||
|
android:fillViewport="true">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:paddingTop="@dimen/admin_details_dialog_padding"
|
android:paddingTop="@dimen/admin_details_dialog_padding"
|
||||||
android:paddingStart="@dimen/admin_details_dialog_padding"
|
android:paddingStart="@dimen/admin_details_dialog_padding"
|
||||||
@@ -39,18 +46,15 @@
|
|||||||
android:contentDescription="@null"/>
|
android:contentDescription="@null"/>
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/dialog_title"
|
android:id="@+id/dialog_title"
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="16dp"
|
|
||||||
android:gravity="center_horizontal"
|
|
||||||
android:textAppearance="@style/TextAppearance.AdminDialogTitle"
|
|
||||||
android:textAlignment="textStart"/>
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<ScrollView
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:fadeScrollbars="false">
|
android:layout_marginTop="16dp"
|
||||||
|
android:gravity="center"
|
||||||
|
android:textSize="20sp"
|
||||||
|
android:textColor="?android:attr/textColorPrimary"
|
||||||
|
android:fontFamily="@*android:string/config_headlineFontFamilyMedium"/>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@@ -60,10 +64,11 @@
|
|||||||
android:id="@+id/dialog_msg"
|
android:id="@+id/dialog_msg"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:textSize="16sp"
|
||||||
android:maxLength="200"
|
android:maxLength="200"
|
||||||
android:autoLink="email|phone|web"
|
android:autoLink="email|phone|web"
|
||||||
android:textColor="?android:attr/textColorSecondary"
|
android:textColor="?android:attr/textColorSecondary"
|
||||||
android:textAlignment="textStart"/>
|
android:textAlignment="textStart"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</ScrollView>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</ScrollView>
|
||||||
|
Reference in New Issue
Block a user