commit 4429d6c843115c1f5af7d5fb9fca563ca592545e
Author: Leszek Koltunski <leszek@koltunski.pl>
Date:   Tue Jan 25 11:51:31 2022 +0100

    Downloading updates: dialog progress.

diff --git a/src/main/java/org/distorted/dialogs/RubikDialogUpdateView.java b/src/main/java/org/distorted/dialogs/RubikDialogUpdateView.java
index 3bfd2846..c62e442c 100644
--- a/src/main/java/org/distorted/dialogs/RubikDialogUpdateView.java
+++ b/src/main/java/org/distorted/dialogs/RubikDialogUpdateView.java
@@ -66,11 +66,6 @@ public class RubikDialogUpdateView
 
     TextView title = mView.findViewById(R.id.updates_pane_title);
     title.setText(info.mObjectLongName);
-    TextView version = mView.findViewById(R.id.updates_pane_version);
-    String strVersion = info.mUpdateObject
-                        ? "v. "+JsonWriter.VERSION_OBJECT_MAJOR+"."+info.mObjectMinorVersion
-                        : "v. "+JsonWriter.VERSION_EXTRAS_MAJOR+"."+info.mExtrasMinorVersion;
-    version.setText(strVersion);
     TextView description = mView.findViewById(R.id.updates_pane_description);
     description.setText(info.mDescription);
 
@@ -81,12 +76,10 @@ public class RubikDialogUpdateView
     mView.setLayoutParams(pView);
 
     title.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize);
-    version.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize);
     description.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize);
     button.setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize);
 
     title.setLayoutParams(pText);
-    version.setLayoutParams(pText);
     description.setLayoutParams(pText);
     button.setLayoutParams(pButt);
 
diff --git a/src/main/java/org/distorted/dialogs/RubikDialogUpdates.java b/src/main/java/org/distorted/dialogs/RubikDialogUpdates.java
index 51bc9344..b08aa287 100644
--- a/src/main/java/org/distorted/dialogs/RubikDialogUpdates.java
+++ b/src/main/java/org/distorted/dialogs/RubikDialogUpdates.java
@@ -85,7 +85,7 @@ public class RubikDialogUpdates extends AppCompatDialogFragment implements Rubik
     final float titleSize= w*RubikActivity.MENU_BIG_TEXT_SIZE;
     final float okSize   = w*RubikActivity.DIALOG_BUTTON_SIZE;
     mMargin              = (int)(w*RubikActivity.MEDIUM_MARGIN);
-    mSize                = (int)(h*0.19f);
+    mSize                = (int)(h*0.14f);
     mFontSize            = (int)(h*0.02f);
 
     TextView title = (TextView) inflater.inflate(R.layout.dialog_title, null);
@@ -173,15 +173,11 @@ public class RubikDialogUpdates extends AppCompatDialogFragment implements Rubik
       }
     else
       {
-      //mScroll.setVerticalScrollBarEnabled(false);
-      //mText.setText(act.getString(R.string.no_updates));
-
-      int imagH = (int)(mSize*0.52f);
-      int textH = (int)(mSize*0.20f);
-      int buttH = (int)(mSize*0.35f);
+      int imagH = (int)(mSize*1.00f);
+      int textH = (int)(mSize*0.23f);
+      int buttH = (int)(mSize*0.49f);
 
       LinearLayout.LayoutParams pI = new LinearLayout.LayoutParams( imagH,imagH );
-      pI.setMargins(mMargin/2, mMargin/2, mMargin/2, mMargin/2 );
       LinearLayout.LayoutParams pV = new LinearLayout.LayoutParams( LinearLayout.LayoutParams.MATCH_PARENT, mSize );
       pV.setMargins(mMargin, mMargin, mMargin, 0);
       LinearLayout.LayoutParams pT = new LinearLayout.LayoutParams( LinearLayout.LayoutParams.MATCH_PARENT, textH );
diff --git a/src/main/res/layout/dialog_updates_pane.xml b/src/main/res/layout/dialog_updates_pane.xml
index c4831375..083103c8 100644
--- a/src/main/res/layout/dialog_updates_pane.xml
+++ b/src/main/res/layout/dialog_updates_pane.xml
@@ -27,11 +27,6 @@
     		android:layout_width="match_parent"
     		android:layout_height="wrap_content"
     		android:textStyle="bold"/>
-   		<TextView
-    		android:id="@+id/updates_pane_version"
-    		android:gravity="center_vertical"
-    		android:layout_width="wrap_content"
-    		android:layout_height="wrap_content"/>
 
         <TextView
     		android:id="@+id/updates_pane_description"
