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

Commit e20e169b authored by Fabrice Di Meglio's avatar Fabrice Di Meglio
Browse files

More fixes for QuickLaunchSettings

- use DialogWhenLarge on tabletUI
- update layouts for following Material theme

Change-Id: If7aa153168eae9d2e72c50e4ae38bcd2fa6bb4bd
parent e3ff4d8e
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -1149,7 +1149,8 @@
        </activity>

        <activity android:name="Settings$QuickLaunchSettingsActivity"
                android:label="@string/quick_launch_title">
                android:label="@string/quick_launch_title"
                android:theme="@style/Theme.SubSettingsDialogWhenLarge">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <action android:name="android.settings.QUICK_LAUNCH_SETTINGS" />
@@ -1163,7 +1164,9 @@
                       android:value="true" />
        </activity>

        <activity android:name=".quicklaunch.BookmarkPicker" android:label="@string/quick_launch_title">
        <activity android:name=".quicklaunch.BookmarkPicker"
                  android:label="@string/quick_launch_title"
                  android:theme="@style/Theme.SubSettingsDialogWhenLarge">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.VOICE_LAUNCH" />
+2 −1
Original line number Diff line number Diff line
@@ -20,7 +20,8 @@
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:minHeight="?android:attr/listPreferredItemHeight"
    android:paddingStart="2dip"
    android:paddingStart="?android:attr/listPreferredItemPaddingStart"
    android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
    android:gravity="center_vertical">

    <ImageView android:id="@+id/icon"
+3 −5
Original line number Diff line number Diff line
@@ -16,10 +16,8 @@

<TextView xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/shortcut" 
    android:layout_width="40dip"
    android:layout_height="40dip"
    android:layout_marginEnd="4sp"
    android:layout_gravity="center_vertical"
    android:background="#555555"
    android:layout_width="48dip"
    android:layout_height="48dip"
    android:gravity="center"
    android:background="@*android:drawable/btn_default_material"
    android:textAppearance="?android:attr/textAppearanceLarge" />
+1 −1

File changed.

Contains only whitespace changes.