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
b445f65f
Commit
b445f65f
authored
Jun 03, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
コードレビュー対応
parent
4d0f3efb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationRelatedContentActivity.java
+16
-16
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationRelatedContentActivity.java
View file @
b445f65f
...
...
@@ -558,23 +558,23 @@ public class OperationRelatedContentActivity extends ABVUIActivity {
}
public
void
showWaitOwnerSelect
()
{
if
(
mWaitOwnerTextView
==
null
)
{
Display
display
=
getWindowManager
().
getDefaultDisplay
();
DisplayMetrics
outMetrics
=
new
DisplayMetrics
();
display
.
getMetrics
(
outMetrics
);
LinearLayout
container
=
(
LinearLayout
)
findViewById
(
R
.
id
.
related_content_third_linear
);
mWaitOwnerTextView
=
new
TextView
(
this
);
mWaitOwnerTextView
.
setText
(
getString
(
R
.
string
.
msg_wait_for_host
));
mWaitOwnerTextView
.
setGravity
(
Gravity
.
CENTER
);
mWaitOwnerTextView
.
setTextAlignment
(
View
.
TEXT_ALIGNMENT_CENTER
);
LinearLayout
mainLayout
=
(
LinearLayout
)
findViewById
(
R
.
id
.
related_content_main_linear
);
mWaitOwnerTextView
.
setHeight
((
int
)
(
outMetrics
.
heightPixels
/
2
));
mWaitOwnerTextView
.
setTextSize
(
20
);
mWaitOwnerTextView
.
setTextColor
(
Color
.
BLACK
);
container
.
addView
(
mWaitOwnerTextView
);
if
(
mWaitOwnerTextView
!=
null
)
{
mWaitOwnerTextView
.
setVisibility
(
View
.
VISIBLE
);
return
;
}
Display
display
=
getWindowManager
().
getDefaultDisplay
();
DisplayMetrics
outMetrics
=
new
DisplayMetrics
();
display
.
getMetrics
(
outMetrics
);
LinearLayout
container
=
(
LinearLayout
)
findViewById
(
R
.
id
.
related_content_third_linear
);
mWaitOwnerTextView
=
new
TextView
(
this
);
mWaitOwnerTextView
.
setText
(
getString
(
R
.
string
.
msg_wait_for_host
));
mWaitOwnerTextView
.
setGravity
(
Gravity
.
CENTER
);
mWaitOwnerTextView
.
setTextAlignment
(
View
.
TEXT_ALIGNMENT_CENTER
);
LinearLayout
mainLayout
=
(
LinearLayout
)
findViewById
(
R
.
id
.
related_content_main_linear
);
mWaitOwnerTextView
.
setHeight
((
int
)
(
outMetrics
.
heightPixels
/
2
));
mWaitOwnerTextView
.
setTextSize
(
20
);
mWaitOwnerTextView
.
setTextColor
(
Color
.
BLACK
);
container
.
addView
(
mWaitOwnerTextView
);
mWaitOwnerTextView
.
setVisibility
(
View
.
VISIBLE
);
}
...
...
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