Project

General

Profile

« Previous | Next » 

Revision 74c9fa47

Added by Leszek Koltunski almost 2 years ago

Solvers dialog: improvements.

View differences:

src/main/java/org/distorted/dialogs/RubikDialogSolvers.java
81 81
    pV.setMargins(margin, margin, margin, 0);
82 82
    LinearLayout.LayoutParams pL = new LinearLayout.LayoutParams( LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT );
83 83
    pL.setMargins(margin, margin, margin, margin);
84
    LinearLayout.LayoutParams pT = new LinearLayout.LayoutParams( LinearLayout.LayoutParams.MATCH_PARENT, textH );
85
    LinearLayout.LayoutParams pB = new LinearLayout.LayoutParams( LinearLayout.LayoutParams.MATCH_PARENT, buttH );
84
    LinearLayout.LayoutParams pT = new LinearLayout.LayoutParams( LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT );
85
    pT.setMargins(0,0,0,2*margin);
86
    LinearLayout.LayoutParams pB = new LinearLayout.LayoutParams( LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT );
86 87
    pB.setMargins(0,2*margin,0,0);
87 88

  
88 89
    int num = ImplementedSolversList.NUM_OBJECTS;
src/main/res/layout/dialog_solvers_pane.xml
40 40
             android:id="@+id/solvers_pane_button"
41 41
             android:layout_width="match_parent"
42 42
             android:layout_height="wrap_content"
43
             android:layout_gravity="bottom"
43 44
             android:gravity="center"
44 45
             android:backgroundTint="@color/black"
45 46
             android:insetTop="0dp"
src/main/res/values-zh-rTW/strings.xml
97 97
    <string name="color_red">紅色的</string>
98 98
    <string name="color_orange">橙色的</string>
99 99

  
100
    <string name="solver_cube3_description">A near-perfect, instantaneous, two-phase 3x3x3 solver.\n作者: Herbert Kociemba.</string>
100
    <string name="solver_cube3_description">一個近乎完美的瞬時兩相 3x3x3 求解器。\n作者: Herbert Kociemba.</string>
101 101
    <string name="solver_pyra3_description">尚未實現。\n作者: Leszek Koltunski.</string>
102 102
    <string name="solver_ivy_description">尚未實現。\n作者: Leszek Koltunski.</string>
103 103
    <string name="solver_cu232_description">尚未實現。\n作者: Leszek Koltunski.</string>
src/main/res/values/strings.xml
123 123
    <string name="solver_cu232_title" translatable="false">2x2x3 Cuboid Solver</string>
124 124
    <string name="solver_diam2_title" translatable="false">Skewb Diamond Solver</string>
125 125

  
126
    <string name="solver_cube3_description">一個近乎完美的瞬時兩相 3x3x3 求解器。\nAuthor: Herbert Kociemba.</string>
126
    <string name="solver_cube3_description">A near-perfect, instantaneous, two-phase 3x3x3 solver.\nAuthor: Herbert Kociemba.</string>
127 127
    <string name="solver_pyra3_description">Not implemented yet.\nAuthor: Leszek Koltunski.</string>
128 128
    <string name="solver_ivy_description">Not implemented yet.\nAuthor: Leszek Koltunski.</string>
129 129
    <string name="solver_cu232_description">Not implemented yet.\nAuthor: Leszek Koltunski.</string>

Also available in: Unified diff