Loading app/src/main/java/net/sourceforge/opencamera/ui/MainUI.java +1 −1 Original line number Diff line number Diff line Loading @@ -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); Loading app/src/main/res/layout/activity_main.xml +2 −2 Original line number Diff line number Diff line Loading @@ -163,7 +163,7 @@ android:background="@color/seekbar_background" /> <Button <View android:id="@+id/gui_anchor" android:layout_width="0dp" android:layout_height="0dp" Loading Loading @@ -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" Loading Loading
app/src/main/java/net/sourceforge/opencamera/ui/MainUI.java +1 −1 Original line number Diff line number Diff line Loading @@ -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); Loading
app/src/main/res/layout/activity_main.xml +2 −2 Original line number Diff line number Diff line Loading @@ -163,7 +163,7 @@ android:background="@color/seekbar_background" /> <Button <View android:id="@+id/gui_anchor" android:layout_width="0dp" android:layout_height="0dp" Loading Loading @@ -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" Loading