Merge "[Settings] Dialog does not show full msg and title in landscape mode" into udc-dev

This commit is contained in:
TreeHugger Robot
2023-04-21 04:28:19 +00:00
committed by Android (Google) Code Review

View File

@@ -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>