Revision 7b191fe5
Added by Leszek Koltunski almost 2 years ago
src/main/java/org/distorted/dialogs/RubikDialogWhatsNew.java | ||
---|---|---|
92 | 92 |
text.setVisibility(View.GONE); |
93 | 93 |
|
94 | 94 |
LinearLayout.LayoutParams pV = new LinearLayout.LayoutParams( LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT ); |
95 |
pV.setMargins(margin, margin, margin, 0);
|
|
95 |
pV.setMargins(margin, margin, margin, margin);
|
|
96 | 96 |
LinearLayout.LayoutParams pL = new LinearLayout.LayoutParams( LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT ); |
97 | 97 |
pL.setMargins(margin, margin, margin, margin); |
98 | 98 |
LinearLayout.LayoutParams pT = new LinearLayout.LayoutParams( LinearLayout.LayoutParams.MATCH_PARENT, titleH ); |
99 | 99 |
LinearLayout.LayoutParams pM = new LinearLayout.LayoutParams( LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT ); |
100 |
pV.setMargins(margin, margin, margin, margin);
|
|
100 |
pM.setMargins(0,2*margin,0,0);
|
|
101 | 101 |
|
102 | 102 |
parseArgument(mArgument); |
103 | 103 |
RubikActivity ract = (RubikActivity) getContext(); |
src/main/res/layout/dialog_whatsnew_pane.xml | ||
---|---|---|
9 | 9 |
|
10 | 10 |
<TextView |
11 | 11 |
android:id="@+id/whatsnew_pane_title" |
12 |
android:gravity="top|start"
|
|
12 |
android:gravity="top|center_horizontal"
|
|
13 | 13 |
android:layout_width="match_parent" |
14 | 14 |
android:layout_height="wrap_content" |
15 | 15 |
android:singleLine="true" |
Also available in: Unified diff
'What's new' UI.