Revision 78843d15
Added by Leszek Koltunski about 1 month ago
src/main/res/layout/mainlayout.xml | ||
---|---|---|
56 | 56 |
android:textAppearance="?android:attr/textAppearanceLarge" |
57 | 57 |
android:gravity="center_vertical|start"/> |
58 | 58 |
|
59 |
<LinearLayout |
|
60 |
android:id="@+id/phaseBar" |
|
61 |
android:layout_above="@id/lowerBar" |
|
62 |
android:layout_width="match_parent" |
|
63 |
android:layout_height="70dp" |
|
64 |
android:orientation="horizontal" |
|
65 |
android:background="@android:color/transparent"> |
|
66 |
|
|
67 |
<ImageButton |
|
68 |
android:id="@+id/solverPhaseLeft" |
|
69 |
android:background="@drawable/ui_left" |
|
70 |
android:layout_width="0dp" |
|
71 |
android:layout_height="match_parent" |
|
72 |
android:layout_weight="1.0" |
|
73 |
android:gravity="center_vertical|center" |
|
74 |
android:onClick="PhaseLeft" |
|
75 |
android:layout_gravity="center_vertical"/> |
|
76 |
|
|
77 |
<TextView |
|
78 |
android:id="@+id/solverPhaseName" |
|
79 |
android:layout_width="0dp" |
|
80 |
android:layout_height="match_parent" |
|
81 |
android:layout_weight="5" |
|
82 |
android:gravity="center" |
|
83 |
android:textSize="20sp"/> |
|
84 |
|
|
85 |
<ImageButton |
|
86 |
android:id="@+id/solverPhaseRight" |
|
87 |
android:background="@drawable/ui_right" |
|
88 |
android:layout_width="0dp" |
|
89 |
android:layout_height="match_parent" |
|
90 |
android:layout_weight="1.0" |
|
91 |
android:gravity="center_vertical|center" |
|
92 |
android:onClick="PhaseRight" |
|
93 |
android:layout_gravity="center_vertical"/> |
|
94 |
|
|
95 |
</LinearLayout> |
|
96 |
|
|
59 | 97 |
<LinearLayout |
60 | 98 |
android:id="@+id/lowerBar" |
61 | 99 |
android:layout_alignParentBottom="true" |
62 | 100 |
android:layout_width="match_parent" |
63 |
android:layout_height="80dp"
|
|
101 |
android:layout_height="70dp"
|
|
64 | 102 |
android:orientation="horizontal" |
65 | 103 |
android:background="@android:color/transparent"> |
66 | 104 |
|
... | ... | |
74 | 112 |
android:onClick="Left" |
75 | 113 |
android:layout_gravity="center_vertical"/> |
76 | 114 |
|
77 |
<LinearLayout |
|
115 |
<TextView |
|
116 |
android:id="@+id/solverText" |
|
78 | 117 |
android:layout_width="0dp" |
79 | 118 |
android:layout_height="match_parent" |
80 |
android:layout_weight="5.0" |
|
81 |
android:orientation="vertical" |
|
82 |
android:background="@android:color/transparent"> |
|
83 |
|
|
84 |
<TextView |
|
85 |
android:id="@+id/solverPhaseName" |
|
86 |
android:layout_width="match_parent" |
|
87 |
android:layout_height="0dp" |
|
88 |
android:layout_weight="1" |
|
89 |
android:gravity="center" |
|
90 |
android:textSize="20sp"/> |
|
91 |
<TextView |
|
92 |
android:id="@+id/solverText" |
|
93 |
android:layout_width="match_parent" |
|
94 |
android:layout_height="0dp" |
|
95 |
android:layout_weight="2" |
|
96 |
android:gravity="center" |
|
97 |
android:textSize="30sp"/> |
|
98 |
|
|
99 |
</LinearLayout> |
|
119 |
android:layout_weight="5" |
|
120 |
android:gravity="center" |
|
121 |
android:textSize="20sp"/> |
|
100 | 122 |
|
101 | 123 |
<ImageButton |
102 | 124 |
android:id="@+id/solverRight" |
... | ... | |
107 | 129 |
android:gravity="center_vertical|center" |
108 | 130 |
android:onClick="Right" |
109 | 131 |
android:layout_gravity="center_vertical"/> |
132 |
|
|
110 | 133 |
</LinearLayout> |
111 | 134 |
|
112 | 135 |
</RelativeLayout> |
Also available in: Unified diff
Improve the Phased Solver App (show phases)