Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_android
abook_check
Commits
42f9b507
Commit
42f9b507
authored
Mar 18, 2019
by
Lee Jaebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ピンのサイズ調整
parent
4c6164ae
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
14 deletions
+8
-14
ABVJE_Res_Default_Android/res/values-large/dimens.xml
+2
-0
ABVJE_Res_Default_Android/res/values-normal/dimens.xml
+2
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/view/OperationTaskLayout.java
+4
-14
No files found.
ABVJE_Res_Default_Android/res/values-large/dimens.xml
View file @
42f9b507
...
...
@@ -15,4 +15,6 @@
<dimen
name=
"text_size_large"
>
22sp
</dimen>
<dimen
name=
"operation_scale_zoom_margin_dp"
>
25dp
</dimen>
<dimen
name=
"operation_pin_icon_width"
>
35dp
</dimen>
<dimen
name=
"operation_pin_icon_height"
>
60dp
</dimen>
</resources>
ABVJE_Res_Default_Android/res/values-normal/dimens.xml
View file @
42f9b507
...
...
@@ -15,4 +15,6 @@
<dimen
name=
"weather_text_large_size"
>
13sp
</dimen>
<dimen
name=
"operation_scale_zoom_margin_dp"
>
10dp
</dimen>
<dimen
name=
"operation_pin_icon_width"
>
18dp
</dimen>
<dimen
name=
"operation_pin_icon_height"
>
23dp
</dimen>
</resources>
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/view/OperationTaskLayout.java
View file @
42f9b507
...
...
@@ -50,13 +50,6 @@ public class OperationTaskLayout extends RelativeLayout {
private
static
final
int
ICON_WIDTH
=
32
;
private
static
final
int
ICON_HEIGHT
=
32
;
// 仮)ピンのイメージアイコンのサイズ
private
static
final
int
PIN_ICON_WIDTH
=
20
;
private
static
final
int
PIN_ICON_HEIGHT
=
40
;
// 仮)終了のピンのイメージアイコンのサイズ
private
static
final
int
PIN_FINISHED_ICON_WIDTH
=
20
;
private
static
final
int
PIN_FINISHED_ICON_HEIGHT
=
40
;
private
static
final
int
CODE_WIDTH
=
46
;
private
static
final
int
CODE_HEIGHT
=
26
;
...
...
@@ -194,13 +187,10 @@ public class OperationTaskLayout extends RelativeLayout {
// ピンで表示
final
ActionOperationTaskPin
taskPin
=
new
ActionOperationTaskPin
(
mContext
,
dto
);
taskPin
.
taskKey
=
dto
.
taskKey
;
if
(
dto
.
isFinished
)
{
width
=
(
int
)
(
PIN_FINISHED_ICON_WIDTH
*
density
);
height
=
(
int
)
(
PIN_FINISHED_ICON_HEIGHT
*
density
);
}
else
{
width
=
(
int
)
(
PIN_ICON_WIDTH
*
density
);
height
=
(
int
)
(
PIN_ICON_HEIGHT
*
density
);
}
// ピンのイメージアイコンのサイズセット
width
=
(
int
)
mContext
.
getResources
().
getDimensionPixelSize
(
R
.
dimen
.
operation_pin_icon_width
);
height
=
(
int
)
mContext
.
getResources
().
getDimensionPixelSize
(
R
.
dimen
.
operation_pin_icon_height
);
params
=
new
RelativeLayout
.
LayoutParams
(
width
,
height
);
taskPin
.
setVisibility
(
View
.
INVISIBLE
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment