The keypad buttons are miss-aligned in landscape mode when running
in fullscreen, fixed layout to handle with landscape mode orientation.
Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
#define HEIGHT 1280
#define ACTION_WIDTH 240
-#define ACTION_HEIGHT 170
+#define ACTION_HEIGHT 80
#define CALL_HEIGHT 200
#define HEIGHT 640
#define ACTION_WIDTH 120
-#define ACTION_HEIGHT 85
+#define ACTION_HEIGHT 40
#define CALL_HEIGHT 100
description {
state: "default" 0.0;
color: 0 0 0 0;
- min: WIDTH 0;
+ min: WIDTH ACTION_HEIGHT;
max: WIDTH WIDTH; /* keep it tight centered */
rel1 {
relative: 0.0 1.0;
} \
text { \
text: label; \
- font: FONT_NORMAL; \
- size: SIZE_HUGE; \
+ font: FONT_NORMAL; \
+ size: SIZE_LARGE; \
align: 0.5 0.5; \
} \
} \
rel1 { \
to: "button."##id; \
relative: 0.0 0.5; \
- offset: 0 2; \
+ offset: 0 15; \
} \
rel2.to: "button."##id; \
text { \