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

Commit 68318412 authored by Mark Harman's avatar Mark Harman
Browse files

Switch from using Button/ImageButton to View/ImageView, so don't need any click action.

parent ddef4639
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -407,7 +407,7 @@ public class MainUI {
            // reset:
            top_icon = null;

            // we use a dummy button, so that the GUI buttons keep their positioning even if the Settings button is hidden (visibility set to View.GONE)
            // we use a dummy view, so that the GUI buttons keep their positioning even if the Settings button is hidden (visibility set to View.GONE)
            View view = main_activity.findViewById(R.id.gui_anchor);
            RelativeLayout.LayoutParams layoutParams = (RelativeLayout.LayoutParams)view.getLayoutParams();
            layoutParams.addRule(iconpanel_align_parent_left, 0);
+2 −2
Original line number Diff line number Diff line
@@ -163,7 +163,7 @@
        android:background="@color/seekbar_background"
        />

    <Button
    <View
        android:id="@+id/gui_anchor"
        android:layout_width="0dp"
        android:layout_height="0dp"
@@ -427,7 +427,7 @@
        android:visibility="gone"
        />

    <ImageButton
    <ImageView
        android:id="@+id/kraken_icon"
        android:layout_width="@dimen/onscreen_button_size"
        android:layout_height="@dimen/onscreen_button_size"