Skip to content

Commit bbcf3f6

Browse files
committed
HDPI improvements
1 parent 8ddabea commit bbcf3f6

4 files changed

+39
-37
lines changed
4.21 KB
Loading
4.21 KB
Loading

views/res/theme_default.xml

+37-37
Original file line numberDiff line numberDiff line change
@@ -308,15 +308,15 @@ OB fontSize="10pt"
308308

309309
<style id="EDIT_LINE"
310310
backgroundImageId="editbox_background"
311-
padding="4,4,4,4"
312-
margins="2,2,2,2"
311+
padding="3pt,3pt,3pt,3pt"
312+
margins="1pt,1pt,1pt,1pt"
313313
minWidth="40"
314314
/>
315315
<style id="EDIT_BOX"
316316
fontFace="Menlo,Consolas,DejaVuSansMono,Lucida Sans Typewriter,Courier New,Lucida Console"
317317
backgroundImageId="editbox_background"
318-
padding="2,2,2,2"
319-
margins="2,2,2,2"
318+
padding="2pt,2pt,2pt,2pt"
319+
margins="2pt,2pt,2pt,2pt"
320320
minWidth="100"
321321
minHeight="60"
322322
layoutWidth="FILL_PARENT"
@@ -327,43 +327,43 @@ OB fontSize="10pt"
327327
fontSize="9pt"
328328
fontFamily="MonoSpace"
329329
backgroundImageId="editbox_background"
330-
padding="2,2,2,2"
331-
margins="2,2,2,2"
330+
padding="2pt,2pt,2pt,2pt"
331+
margins="2pt,2pt,2pt,2pt"
332332
minWidth="100"
333333
minHeight="60"
334334
layoutWidth="FILL_PARENT"
335335
layoutHeight="FILL_PARENT"
336336
/>
337337
<style id="LIST_BOX"
338338
backgroundImageId="editbox_background"
339-
padding="2,2,2,2"
340-
margins="2,2,2,2"
339+
padding="2pt,2pt,2pt,2pt"
340+
margins="2pt,2pt,2pt,2pt"
341341
layoutWidth="FILL_PARENT"
342342
layoutHeight="FILL_PARENT"
343343
/>
344344
<style id="EDIT_BOX_NO_FRAME"
345345
fontFace="Menlo,Consolas,DejaVuSansMono,Lucida Sans Typewriter,Courier New,Lucida Console"
346346
backgroundColor="#FFFFFF"
347-
padding="2,2,2,2"
348-
margins="2,2,2,2"
347+
padding="2pt,2pt,2pt,2pt"
348+
margins="2pt,2pt,2pt,2pt"
349349
minWidth="100"
350350
minHeight="60"
351351
layoutWidth="FILL_PARENT"
352352
layoutHeight="FILL_PARENT"
353353
/>
354354
<style id="STRING_GRID"
355355
backgroundImageId="editbox_background"
356-
padding="2,2,2,2"
357-
margins="2,2,2,2"
356+
padding="2pt,2pt,2pt,2pt"
357+
margins="2pt,2pt,2pt,2pt"
358358
minWidth="100"
359359
minHeight="60"
360360
layoutWidth="FILL_PARENT"
361361
layoutHeight="FILL_PARENT"
362362
/>
363363
<style id="FILE_DIALOG_GRID"
364364
backgroundImageId="editbox_background"
365-
padding="2,2,2,2"
366-
margins="2,2,2,2"
365+
padding="2pt,2pt,2pt,2pt"
366+
margins="2pt,2pt,2pt,2pt"
367367
minWidth="100"
368368
minHeight="60"
369369
layoutWidth="FILL_PARENT"
@@ -373,20 +373,20 @@ OB fontSize="10pt"
373373
backgroundColor="#eceffa"
374374
layoutWidth="FILL_PARENT"
375375
layoutHeight="WRAP_CONTENT"
376-
padding="1,1,1,1"
376+
padding="1pt,1pt,1pt,1pt"
377377
layoutWeight="0"
378378
/>
379379
<style id="DOCK_HOST"
380380
backgroundColor="#eceffa"
381381
layoutWidth="FILL_PARENT"
382382
layoutHeight="FILL_PARENT"
383-
padding="2,2,2,2"
383+
padding="2pt,2pt,2pt,2pt"
384384
/>
385385
<style id="DOCK_HOST_BODY"
386386
layoutWidth="FILL_PARENT"
387387
layoutHeight="FILL_PARENT"
388388
padding="0,0,0,0"
389-
margins="3,3,3,3"
389+
margins="3pt,3pt,3pt,3pt"
390390
/>
391391
<style id="DOCK_WINDOW"
392392
backgroundImageId="dock_window_background"
@@ -399,20 +399,20 @@ OB fontSize="10pt"
399399
backgroundImageId="popup_window_background"
400400
layoutWidth="FILL_PARENT"
401401
layoutHeight="FILL_PARENT"
402-
padding="1,1,1,1"
403-
margins="4,4,4,4"
402+
padding="1pt,1pt,1pt,1pt"
403+
margins="4pt,4pt,4pt,4pt"
404404
/>
405405
<style id="DOCK_WINDOW_CAPTION"
406406
backgroundImageId="dock_window_caption_background"
407407
layoutWidth="FILL_PARENT"
408408
layoutHeight="WRAP_CONTENT"
409-
padding="1,1,1,1"
409+
padding="1pt,1pt,1pt,1pt"
410410
/>
411411
<style id="DOCK_WINDOW_CAPTION_LABEL"
412412
textColor="#000000"
413413
layoutWidth="FILL_PARENT"
414414
layoutHeight="WRAP_CONTENT"
415-
padding="3,3,3,3"
415+
padding="3pt,3pt,3pt,3pt"
416416
align="Left|VCenter"
417417
/>
418418
<style id="DOCK_WINDOW_BODY"
@@ -425,35 +425,35 @@ OB fontSize="10pt"
425425
backgroundImageId="toolbar_host_background"
426426
layoutWidth="FILL_PARENT"
427427
layoutHeight="WRAP_CONTENT"
428-
padding="1,1,1,1"
428+
padding="1pt,1pt,1pt,1pt"
429429
/>
430430
<style id="TOOLTIP"
431431
backgroundImageId="tooltip_background"
432432
layoutWidth="WRAP_CONTENT"
433433
layoutHeight="WRAP_CONTENT"
434-
margins="2,7,2,1"
435-
padding="3,3,3,3"
434+
margins="2pt,5pt,2pt,1pt"
435+
padding="2pt,2pt,2pt,2pt"
436436
textColor="#404040"
437437
/>
438438
<style id="TOOLBAR"
439439
backgroundImageId="toolbar_background"
440440
layoutWidth="WRAP_CONTENT"
441441
layoutHeight="WRAP_CONTENT"
442-
margins="2,1,2,1"
442+
margins="2pt,1pt,2pt,1pt"
443443
/>
444444
<style id="TOOLBAR_BUTTON"
445445
backgroundImageId="toolbar_button_background"
446446
align="Center"
447-
margins="1,1,1,1"
448-
padding="2,2,2,2"
447+
margins="1pt,1pt,1pt,1pt"
448+
padding="2pt,2pt,2pt,2pt"
449449
>
450450
<state state_enabled="false" alpha="160" backgroundImageId="toolbar_button_null"/>
451451
</style>
452452
<style id="TOOLBAR_CONTROL"
453453
backgroundImageId="toolbar_control_background"
454454
align="Center"
455-
margins="1,1,1,1"
456-
padding="2,2,2,2"
455+
margins="1pt,1pt,1pt,1pt"
456+
padding="2pt,2pt,2pt,2pt"
457457
>
458458
<state state_enabled="false" alpha="160" backgroundImageId="@null"/>
459459
</style>
@@ -491,20 +491,20 @@ OB fontSize="10pt"
491491
</style>
492492

493493
<style id="SETTINGS_TREE"
494-
margins="8,8,8,8"
494+
margins="5pt,5pt,5pt,5pt"
495495
backgroundColor="#FFFFFF"
496496
layoutWeight="3"
497497
/>
498498

499499
<style id="SETTINGS_PAGES"
500-
margins="0,8,8,8"
501-
padding="4,4,4,4"
500+
margins="0,8pt,8pt,8pt"
501+
padding="4pt,4pt,4pt,4pt"
502502
layoutWidth="FILL_PARENT"
503503
layoutWeight="5"
504504
/>
505505

506506
<style id="SETTINGS_PAGE_TITLE"
507-
margins="4,4,4,14"
507+
margins="4pt,4pt,4pt,10pt"
508508
fontSize="120%"
509509
layoutWeight="0"
510510
layoutWidth="FILL_PARENT"
@@ -513,8 +513,8 @@ OB fontSize="10pt"
513513
<style id="RESIZER_VERTICAL"
514514
layoutWidth="FILL_PARENT"
515515
layoutHeight="WRAP_CONTENT"
516-
minHeight="7"
517-
maxHeight="7"
516+
minHeight="7pt"
517+
maxHeight="7pt"
518518
backgroundColor="#E0E0E0">
519519
<state state_focused="true" backgroundColor="#40C0C000"/>
520520
<state state_pressed="true" backgroundColor="#4080C000"/>
@@ -524,8 +524,8 @@ OB fontSize="10pt"
524524
<style id="RESIZER_HORIZONTAL"
525525
layoutWidth="FILL_PARENT"
526526
layoutHeight="WRAP_CONTENT"
527-
minWidth="7"
528-
maxWidth="7"
527+
minWidth="7pt"
528+
maxWidth="7pt"
529529
backgroundColor="#E0E0E0">
530530
<state state_focused="true" backgroundColor="#40C0C000"/>
531531
<state state_pressed="true" backgroundColor="#4080C000"/>

views/standard_resources.list

+2
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ res/hdpi/hdpi_switch_on.png
133133
res/hdpi/hdpi_switch_on_disabled.png
134134
res/hdpi/hdpi_scrollbar_indicator_horizontal.png
135135
res/hdpi/hdpi_scrollbar_indicator_vertical.png
136+
res/hdpi/hdpi_find_case_sensitive.png
137+
res/hdpi/hdpi_find_whole_words.png
136138
res/mdpi/applications-internet.png
137139
res/mdpi/arrow_right_down_black.png
138140
res/mdpi/arrow_right_down_black_dark.png

0 commit comments

Comments
 (0)