Revision 58d6a40d
Added by Leszek Koltunski over 3 years ago
| src/main/java/org/distorted/dialogs/RubikDialogUpdates.java | ||
|---|---|---|
| 109 | 109 |
} |
| 110 | 110 |
}); |
| 111 | 111 |
|
| 112 |
int minH = (int)(0.35f*h);
|
|
| 112 |
int minH = (int)(0.25f*h);
|
|
| 113 | 113 |
View view = createView(act,inflater,okSize,minH); |
| 114 | 114 |
view.setMinimumHeight(minH); |
| 115 | 115 |
builder.setView(view); |
| src/main/res/layout/dialog_updates_pane.xml | ||
|---|---|---|
| 7 | 7 |
android:padding="8dp" |
| 8 | 8 |
android:orientation="horizontal"> |
| 9 | 9 |
|
| 10 |
<ImageView |
|
| 11 |
android:id="@+id/updates_pane_image" |
|
| 12 |
android:scaleType="fitXY" |
|
| 10 |
<LinearLayout |
|
| 13 | 11 |
android:layout_width="0dp" |
| 14 |
android:layout_height="match_parent" |
|
| 15 |
android:layout_weight="0.5"/> |
|
| 12 |
android:layout_height="match_parent" |
|
| 13 |
android:orientation="horizontal" |
|
| 14 |
android:layout_weight="0.5"> |
|
| 15 |
|
|
| 16 |
<ImageView |
|
| 17 |
android:id="@+id/updates_pane_image" |
|
| 18 |
android:scaleType="fitCenter" |
|
| 19 |
android:layout_width="match_parent" |
|
| 20 |
android:layout_height="match_parent"/> |
|
| 21 |
</LinearLayout> |
|
| 16 | 22 |
|
| 17 | 23 |
<LinearLayout |
| 18 | 24 |
android:layout_width="0dp" |
Also available in: Unified diff
Improve the Updates dialog.