commit 0873a75a84a00771bfdfcb74295cff58962e0a7d
Author: Leszek Koltunski <leszek@koltunski.pl>
Date:   Mon Nov 22 01:37:16 2021 +0100

    Add info pane: some progress2.

diff --git a/src/main/java/org/distorted/screens/RubikScreenPlay.java b/src/main/java/org/distorted/screens/RubikScreenPlay.java
index 736b1271..8f76bcaa 100644
--- a/src/main/java/org/distorted/screens/RubikScreenPlay.java
+++ b/src/main/java/org/distorted/screens/RubikScreenPlay.java
@@ -71,7 +71,7 @@ public class RubikScreenPlay extends RubikScreenBase
   private static final float LAST_BUTTON = 1.5f;
   private static final int[] mLocation = new int[2];
 
-  private TransparentImageButton mObjButton, mMenuButton, mSolveButton, mScrambleButton, mDetailsButton;
+  private TransparentImageButton mObjButton, mMenuButton, mSolveButton, mScrambleButton;
   private TransparentButton mPlayButton;
   private PopupWindow mObjectPopup, mMenuPopup, mPlayPopup;
   private ObjectType mObject = DEF_OBJECT;
@@ -258,8 +258,7 @@ public class RubikScreenPlay extends RubikScreenBase
     objectGrid.setRowCount(mRowCount);
 
     LinearLayout bottomLayout = view.findViewById(R.id.bottomLayout);
-    setupDetailsButton(act,layoutH);
-    bottomLayout.addView(mDetailsButton);
+    setupBottomLayout(act,bottomLayout,layoutH);
 
     ViewGroup.LayoutParams paramsB = bottomLayout.getLayoutParams();
     paramsB.height = layoutH;
@@ -406,20 +405,42 @@ public class RubikScreenPlay extends RubikScreenBase
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 
-  void setupDetailsButton(final RubikActivity act, int width)
+  void setupBottomLayout(final RubikActivity act, final LinearLayout layout, int width)
     {
-    int icon = RubikActivity.getDrawable(R.drawable.ui_small_cube_solve_new,R.drawable.ui_medium_cube_solve_new, R.drawable.ui_big_cube_solve_new, R.drawable.ui_huge_cube_solve_new);
-    LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(width,LinearLayout.LayoutParams.MATCH_PARENT);
-    mDetailsButton = new TransparentImageButton(act, icon, TransparentImageButton.GRAVITY_MIDDLE, params);
+    int icon1 = RubikActivity.getDrawable(R.drawable.ui_small_cube_solve_new,R.drawable.ui_medium_cube_solve_new, R.drawable.ui_big_cube_solve_new, R.drawable.ui_huge_cube_solve_new);
+    LinearLayout.LayoutParams params1 = new LinearLayout.LayoutParams(width,LinearLayout.LayoutParams.MATCH_PARENT,1.0f);
+    TransparentImageButton buttonTut = new TransparentImageButton(act, icon1, TransparentImageButton.GRAVITY_MIDDLE, params1);
+
+    int icon2 = RubikActivity.getDrawable(R.drawable.ui_small_cube_solve_new,R.drawable.ui_medium_cube_solve_new, R.drawable.ui_big_cube_solve_new, R.drawable.ui_huge_cube_solve_new);
+    LinearLayout.LayoutParams params2 = new LinearLayout.LayoutParams(width,LinearLayout.LayoutParams.MATCH_PARENT,1.0f);
+    TransparentImageButton buttonDet = new TransparentImageButton(act, icon2, TransparentImageButton.GRAVITY_MIDDLE, params2);
 
-    mDetailsButton.setOnClickListener( new View.OnClickListener()
+    buttonTut.setOnClickListener( new View.OnClickListener()
       {
       @Override
       public void onClick(View v)
         {
-        android.util.Log.e("D", "DETAILS CLICKED!!");
+        android.util.Log.e("D", "BUTTON TUT CLICKED!!");
         }
       });
+
+    buttonDet.setOnClickListener( new View.OnClickListener()
+      {
+      @Override
+      public void onClick(View v)
+        {
+        android.util.Log.e("D", "BUTTON DET CLICKED!!");
+        }
+      });
+
+    LinearLayout.LayoutParams paramsNul = new LinearLayout.LayoutParams(width,LinearLayout.LayoutParams.MATCH_PARENT,1.0f);
+    Button buttonNul = new Button(act);
+    buttonNul.setLayoutParams(paramsNul);
+    buttonNul.setVisibility(View.INVISIBLE);
+
+    layout.addView(buttonTut);
+    layout.addView(buttonNul);
+    layout.addView(buttonDet);
     }
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/src/main/res/layout/popup_object_scrollless.xml b/src/main/res/layout/popup_object_scrollless.xml
index e2afeb32..25aeb1c3 100644
--- a/src/main/res/layout/popup_object_scrollless.xml
+++ b/src/main/res/layout/popup_object_scrollless.xml
@@ -19,7 +19,6 @@
        android:layout_weight="1"
        android:paddingEnd="5dp"
        android:paddingStart="5dp"
-       android:gravity="end"
        android:orientation="horizontal">
 
    </LinearLayout>
diff --git a/src/main/res/layout/popup_object_withscroll.xml b/src/main/res/layout/popup_object_withscroll.xml
index 1525f2a3..063aca18 100644
--- a/src/main/res/layout/popup_object_withscroll.xml
+++ b/src/main/res/layout/popup_object_withscroll.xml
@@ -26,7 +26,6 @@
        android:layout_weight="1"
        android:paddingEnd="5dp"
        android:paddingStart="5dp"
-       android:gravity="end"
        android:orientation="horizontal">
 
    </LinearLayout>
