Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fefd718a authored by Ivan Chiang's avatar Ivan Chiang
Browse files

[PM] Support material AlertDialog (4/N)

- Update the insets of the buttons
- Add attributes for the different themes
- Update the font styles

Flag: android.content.pm.use_pia_v2
Test: manual
Bug: 274120822
Change-Id: I152447bf8b5d72993e99b4af5c5ac5b8abe3307f
parent 5e78c8d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,6 +36,6 @@
        android:id="@+id/app_label"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        style="@style/Widget.PackageInstaller.TextView.AppLabel"/>
        style="?attr/textAppearanceInstallerAppLabel"/>

</LinearLayout>
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@
            android:visibility="gone" />

        <TextView
            style="@style/Widget.PackageInstaller.TextView.CustomMessage"
            style="?attr/textAppearanceInstallerCustomMessage"
            android:id="@+id/custom_message"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@
            android:visibility="gone" />

        <TextView
            style="@style/Widget.PackageInstaller.TextView.CustomMessage"
            style="?attr/textAppearanceInstallerCustomMessage"
            android:id="@+id/custom_message"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
+2 −2
Original line number Diff line number Diff line
@@ -36,13 +36,13 @@
        android:layout_marginStart="@dimen/dialog_inter_element_vertical_margin">

        <TextView
            style="@style/Widget.PackageInstaller.TextView.KeepData.Heading"
            style="?attr/textAppearanceInstallerKeepDataHeading"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
            android:text="@string/message_uninstall_keep_data" />

        <TextView
            style="@style/Widget.PackageInstaller.TextView.KeepData.SubHeading"
            style="?attr/textAppearanceInstallerKeepDataSubHeading"
            android:id="@+id/keep_data_bytes"
            android:layout_height="wrap_content"
            android:layout_width="match_parent" />
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@
        <include layout="@layout/app_snippet_layout" />

        <TextView
            style="@style/Widget.PackageInstaller.TextView.CustomMessage"
            style="?attr/textAppearanceInstallerCustomMessage"
            android:id="@+id/custom_message"
            android:layout_height="wrap_content"
            android:layout_width="match_parent"
Loading