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

Commit 3f83ba79 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "More fine tuning of dialog width"

parents 24a464a9 1a028bcb
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -17,6 +17,8 @@

<!-- Landscape dimensions for the permission grant dialog. -->
<resources>
    <!-- 37:20 == 65% width -->
    <dimen name="permissionGrantDialogWidth">37</dimen>
    <!-- Assuming the dimension of a sailfish, this yields 95% width in splitscreen and 65% in
         landscape -->
    <dimen name="permissionGrantDialogWeight">8.6</dimen>
    <dimen name="permissionGrantDialogWidth">334dp</dimen>
</resources>
+3 −2
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@

<!-- portrait dimensions for the permission grant dialog. -->
<resources>
    <!-- 380:20 == 95% width -->
    <dimen name="permissionGrantDialogWidth">380</dimen>
    <!-- This yields 95% width -->
    <dimen name="permissionGrantDialogWeight">380</dimen>
    <dimen name="permissionGrantDialogWidth">0dp</dimen>
</resources>
+2 −2
Original line number Diff line number Diff line
@@ -20,8 +20,8 @@
    <style name="PermissionGrantDialog">
        <item name="background">?attr/windowBackground</item>
        <item name="elevation">?attr/windowElevation</item>
        <item name="layout_weight">@dimen/permissionGrantDialogWidth</item>
        <item name="layout_width">320dp</item>
        <item name="layout_weight">@dimen/permissionGrantDialogWeight</item>
        <item name="layout_width">@dimen/permissionGrantDialogWidth</item>
    </style>

    <style name="PermissionGrantTitleIcon">