diff --git a/app/src/main/java/net/sourceforge/opencamera/ui/MainUI.java b/app/src/main/java/net/sourceforge/opencamera/ui/MainUI.java index 1ab04702f270e9eacece03180110178b96520c53..d34ce58b0dfddbdee8b2a59d79fc96c564899a68 100644 --- a/app/src/main/java/net/sourceforge/opencamera/ui/MainUI.java +++ b/app/src/main/java/net/sourceforge/opencamera/ui/MainUI.java @@ -616,13 +616,13 @@ public class MainUI { layoutParams.addRule(above, 0); layoutParams.addRule(below, 0); layoutParams.addRule(left_of, 0); - layoutParams.addRule(right_of, R.id.popup); + layoutParams.addRule(right_of, R.id.top_bg); layoutParams.addRule(align_parent_top, RelativeLayout.TRUE); layoutParams.addRule(align_parent_bottom, RelativeLayout.TRUE); } else { - layoutParams.addRule(align_right, R.id.popup); + layoutParams.addRule(align_right, R.id.top_bg); layoutParams.addRule(above, 0); - layoutParams.addRule(below, R.id.popup); + layoutParams.addRule(below, R.id.top_bg); layoutParams.addRule(left_of, 0); layoutParams.addRule(right_of, 0); layoutParams.addRule(align_parent_top, 0); diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 036ab9b018ea4e1fa4f0c34761c47f56cefa168d..092274048dbdfa99cbd8e2342313cbad92b1ae72 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -595,8 +595,8 @@ android:id="@+id/popup_container" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_below="@+id/popup" - android:layout_alignRight="@+id/popup" + android:layout_below="@+id/top_bg" + android:layout_alignRight="@+id/top_bg" android:fadeScrollbars="false" />