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

Commit 1bc87e72 authored by Abhisek Devkota's avatar Abhisek Devkota
Browse files

Better expose 'QS Tiles and layout' function

Reorganizing & customizing the QS tiles is one of our features, but it
is buried 4 clicks deep in Settings menus. This is not ideal.

Create a new icon on the main QS panel view to quickly launch into
the configuration page.

Screenshots: http://imgur.com/a/H3iN7

This respects all the existing flip animations and quick pulldown. Does not
interfere with the clear-all button either.

PS2: Rebase
PS3: Change intent
PS4: Add missing boolean
PS5: Whitespace & Use different icon
PS6: Address comments and add additional drawable densities
PS7: Fix reference to old drawable
PS9: Swap back to + icon
PS10: Typo

Change-Id: Ia715767ba2a7cfdd44b0fafa082877def6867440
parent 7adae0bb
Loading
Loading
Loading
Loading
+667 B
Loading image diff...
+596 B
Loading image diff...
+761 B
Loading image diff...
+1.18 KiB
Loading image diff...
+22 −6
Original line number Diff line number Diff line
@@ -76,6 +76,11 @@
        android:padding="2dp"
        />

    <FrameLayout android:id="@+id/action_button_holder"
        android:layout_width="50dp"
        android:layout_height="50dp"
        android:layout_marginStart="12dp"
        >
        <ImageView android:id="@+id/clear_all_button"
            android:layout_width="50dp"
            android:layout_height="50dp"
@@ -85,6 +90,17 @@
            android:contentDescription="@string/accessibility_clear_all"
            />

        <ImageView android:id="@+id/add_tile_button"
            android:layout_width="50dp"
            android:layout_height="50dp"
            android:scaleType="center"
            android:src="@drawable/ic_menu_add"
            android:background="@drawable/ic_notify_button_bg"
            android:visibility="gone"
            android:contentDescription="@string/accessibility_desc_add_quick_settings"
            />
    </FrameLayout>

    <FrameLayout android:id="@+id/settings_button_holder"
        android:layout_width="50dp"
        android:layout_height="50dp"
Loading