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
75aefbdd
Commit
75aefbdd
authored
Sep 06, 2022
by
NGUYEN HOANG SON
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve footer of related content screen
parent
0c48fb25
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
89 additions
and
4 deletions
+89
-4
ABVJE_Res_Default_Android/res/drawable-xhdpi/dashboard_icon_off.png
+0
-0
ABVJE_Res_Default_Android/res/drawable-xhdpi/dashboard_icon_on.png
+0
-0
ABVJE_Res_Default_Android/res/drawable-xhdpi/operation_icon_off.png
+0
-0
ABVJE_Res_Default_Android/res/drawable-xhdpi/operation_icon_on.png
+0
-0
ABVJE_Res_Default_Android/res/drawable/btn_dashboard_home.xml
+8
-0
ABVJE_Res_Default_Android/res/drawable/btn_operation_list_home.xml
+8
-0
ABVJE_Res_Default_Android/res/values-ja/strings.xml
+2
-0
ABVJE_Res_Default_Android/res/values-ko/strings.xml
+2
-0
ABVJE_Res_Default_Android/res/values/strings.xml
+2
-0
ABVJE_UI_Android/res/layout-large/ac_operation_related_content.xml
+27
-2
ABVJE_UI_Android/res/layout-normal/ac_operation_related_content.xml
+28
-2
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationRelatedContentActivity.java
+12
-0
No files found.
ABVJE_Res_Default_Android/res/drawable-xhdpi/dashboard_icon_off.png
0 → 100644
View file @
75aefbdd
236 Bytes
ABVJE_Res_Default_Android/res/drawable-xhdpi/dashboard_icon_on.png
0 → 100644
View file @
75aefbdd
259 Bytes
ABVJE_Res_Default_Android/res/drawable-xhdpi/operation_icon_off.png
0 → 100644
View file @
75aefbdd
434 Bytes
ABVJE_Res_Default_Android/res/drawable-xhdpi/operation_icon_on.png
0 → 100644
View file @
75aefbdd
431 Bytes
ABVJE_Res_Default_Android/res/drawable/btn_dashboard_home.xml
0 → 100644
View file @
75aefbdd
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:state_enabled=
"false"
android:drawable=
"@drawable/dashboard_icon_off"
/>
<item
android:drawable=
"@drawable/dashboard_icon_off"
/>
</selector>
ABVJE_Res_Default_Android/res/drawable/btn_operation_list_home.xml
0 → 100644
View file @
75aefbdd
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:state_enabled=
"false"
android:drawable=
"@drawable/operation_icon_off"
/>
<item
android:drawable=
"@drawable/operation_icon_off"
/>
</selector>
ABVJE_Res_Default_Android/res/values-ja/strings.xml
View file @
75aefbdd
...
@@ -1505,6 +1505,8 @@
...
@@ -1505,6 +1505,8 @@
<string
name=
"msg_fail_collaboration_join_error"
>
協業に参加することができませんでした。
</string>
<string
name=
"msg_fail_collaboration_join_error"
>
協業に参加することができませんでした。
</string>
<string
name=
"msg_fail_collaboration_pip_change_host"
>
PIP状態ではホスト変更できません。PIPを解除してください。
</string>
<string
name=
"msg_fail_collaboration_pip_change_host"
>
PIP状態ではホスト変更できません。PIPを解除してください。
</string>
<string
name=
"btn_home"
>
ホーム
</string>
<string
name=
"btn_home"
>
ホーム
</string>
<string
name=
"btn_dashboard"
>
ダッシュボード
</string>
<string
name=
"btn_operations_list"
>
作業一覧
</string>
<string
name=
"btn_content"
>
関連資料
</string>
<string
name=
"btn_content"
>
関連資料
</string>
<string
name=
"btn_communication"
>
コミュニケーション
</string>
<string
name=
"btn_communication"
>
コミュニケーション
</string>
<string
name=
"btn_setting"
>
設定
</string>
<string
name=
"btn_setting"
>
設定
</string>
...
...
ABVJE_Res_Default_Android/res/values-ko/strings.xml
View file @
75aefbdd
...
@@ -1510,6 +1510,8 @@
...
@@ -1510,6 +1510,8 @@
<string
name=
"msg_fail_collaboration_join_error"
>
협업에 참여하실수 없습니다.
</string>
<string
name=
"msg_fail_collaboration_join_error"
>
협업에 참여하실수 없습니다.
</string>
<string
name=
"msg_fail_collaboration_pip_change_host"
>
PIP 상태에서는 호스트 변경이 불가능합니다. PIP 모드를 해제해 주세요.
</string>
<string
name=
"msg_fail_collaboration_pip_change_host"
>
PIP 상태에서는 호스트 변경이 불가능합니다. PIP 모드를 해제해 주세요.
</string>
<string
name=
"btn_home"
>
홈
</string>
<string
name=
"btn_home"
>
홈
</string>
<string
name=
"btn_dashboard"
>
대시보드
</string>
<string
name=
"btn_operations_list"
>
작업일람
</string>
<string
name=
"btn_content"
>
관련자료
</string>
<string
name=
"btn_content"
>
관련자료
</string>
<string
name=
"btn_communication"
>
커뮤니케이션
</string>
<string
name=
"btn_communication"
>
커뮤니케이션
</string>
<string
name=
"btn_setting"
>
설정
</string>
<string
name=
"btn_setting"
>
설정
</string>
...
...
ABVJE_Res_Default_Android/res/values/strings.xml
View file @
75aefbdd
...
@@ -1506,6 +1506,8 @@
...
@@ -1506,6 +1506,8 @@
<string
name=
"msg_fail_collaboration_join_error"
>
Could not connect to the collaboration.
</string>
<string
name=
"msg_fail_collaboration_join_error"
>
Could not connect to the collaboration.
</string>
<string
name=
"msg_fail_collaboration_pip_change_host"
>
Host change is not possible in PIP state. Please turn off picture-in-picture mode.
</string>
<string
name=
"msg_fail_collaboration_pip_change_host"
>
Host change is not possible in PIP state. Please turn off picture-in-picture mode.
</string>
<string
name=
"btn_home"
>
Home
</string>
<string
name=
"btn_home"
>
Home
</string>
<string
name=
"btn_dashboard"
>
Dashboard
</string>
<string
name=
"btn_operations_list"
>
Operations List
</string>
<string
name=
"btn_content"
>
Related Content
</string>
<string
name=
"btn_content"
>
Related Content
</string>
<string
name=
"btn_communication"
>
Communication
</string>
<string
name=
"btn_communication"
>
Communication
</string>
<string
name=
"btn_setting"
>
Setting
</string>
<string
name=
"btn_setting"
>
Setting
</string>
...
...
ABVJE_UI_Android/res/layout-large/ac_operation_related_content.xml
View file @
75aefbdd
...
@@ -108,18 +108,42 @@
...
@@ -108,18 +108,42 @@
android:gravity=
"center"
>
android:gravity=
"center"
>
<ImageButton
<ImageButton
android:id=
"@+id/btn_dashboard_home"
style=
"@style/ToolBarIcon"
android:layout_width=
"25dp"
android:layout_height=
"25dp"
android:scaleType=
"fitCenter"
android:src=
"@drawable/btn_dashboard_home"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:textSize=
"11sp"
android:text=
"@string/btn_dashboard"
android:gravity=
"center"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:orientation=
"vertical"
android:gravity=
"center"
>
<ImageButton
android:id=
"@+id/btn_operation_home"
android:id=
"@+id/btn_operation_home"
style=
"@style/ToolBarIcon"
style=
"@style/ToolBarIcon"
android:layout_width=
"25dp"
android:layout_width=
"25dp"
android:layout_height=
"25dp"
android:layout_height=
"25dp"
android:scaleType=
"fitCenter"
android:scaleType=
"fitCenter"
android:src=
"@drawable/btn_operation_home"
/>
android:src=
"@drawable/btn_operation_
list_
home"
/>
<TextView
<TextView
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:textSize=
"11sp"
android:textSize=
"11sp"
android:text=
"@string/btn_
home
"
android:text=
"@string/btn_
operations_list
"
android:gravity=
"center"
/>
android:gravity=
"center"
/>
</LinearLayout>
</LinearLayout>
...
@@ -151,6 +175,7 @@
...
@@ -151,6 +175,7 @@
<LinearLayout
<LinearLayout
android:id=
"@+id/communication_layout"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:layout_weight=
"1"
...
...
ABVJE_UI_Android/res/layout-normal/ac_operation_related_content.xml
View file @
75aefbdd
...
@@ -94,17 +94,42 @@
...
@@ -94,17 +94,42 @@
android:gravity=
"center"
>
android:gravity=
"center"
>
<ImageButton
<ImageButton
android:id=
"@+id/btn_dashboard_home"
android:layout_width=
"25dp"
android:layout_height=
"25dp"
android:background=
"@drawable/btn_dashboard_home"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:textSize=
"11sp"
android:text=
"@string/btn_dashboard"
android:gravity=
"center"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:layout_weight=
"1"
android:orientation=
"vertical"
android:gravity=
"center"
>
<ImageButton
android:id=
"@+id/btn_operation_home"
android:id=
"@+id/btn_operation_home"
android:layout_width=
"25dp"
android:layout_width=
"25dp"
android:layout_height=
"25dp"
android:layout_height=
"25dp"
android:background=
"@drawable/btn_operation_home"
android:background=
"@drawable/btn_operation_
list_
home"
/>
/>
<TextView
<TextView
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:textSize=
"11sp"
android:textSize=
"11sp"
android:text=
"@string/btn_
home
"
android:text=
"@string/btn_
operations_list
"
android:gravity=
"center"
/>
android:gravity=
"center"
/>
...
@@ -136,6 +161,7 @@
...
@@ -136,6 +161,7 @@
<LinearLayout
<LinearLayout
android:id=
"@+id/communication_layout"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:layout_gravity=
"center"
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationRelatedContentActivity.java
View file @
75aefbdd
...
@@ -58,6 +58,7 @@ public class OperationRelatedContentActivity extends ABVUIActivity {
...
@@ -58,6 +58,7 @@ public class OperationRelatedContentActivity extends ABVUIActivity {
private
OperationRelatedContentSectionAdapter
mOperationRelatedContentSectionAdapter
;
private
OperationRelatedContentSectionAdapter
mOperationRelatedContentSectionAdapter
;
private
ImageButton
mDashboardHomeButton
;
private
ImageButton
mOperationHomeButton
;
// ホームボタン
private
ImageButton
mOperationHomeButton
;
// ホームボタン
private
ImageButton
mOperationRelatedContentButton
;
//
private
ImageButton
mOperationRelatedContentButton
;
//
private
ImageButton
mQuickReportPrintButton
;
// 簡易帳票印刷ボタン
private
ImageButton
mQuickReportPrintButton
;
// 簡易帳票印刷ボタン
...
@@ -80,6 +81,7 @@ public class OperationRelatedContentActivity extends ABVUIActivity {
...
@@ -80,6 +81,7 @@ public class OperationRelatedContentActivity extends ABVUIActivity {
updateCollaborationInfo
();
updateCollaborationInfo
();
setContentView
(
R
.
layout
.
ac_operation_related_content
);
setContentView
(
R
.
layout
.
ac_operation_related_content
);
mDashboardHomeButton
=
(
ImageButton
)
findViewById
(
R
.
id
.
btn_dashboard_home
);
// ホームボタン(作業一覧へ遷移ボタン)
// ホームボタン(作業一覧へ遷移ボタン)
mOperationHomeButton
=
(
ImageButton
)
findViewById
(
R
.
id
.
btn_operation_home
);
mOperationHomeButton
=
(
ImageButton
)
findViewById
(
R
.
id
.
btn_operation_home
);
// 共通資料ボタン
// 共通資料ボタン
...
@@ -107,6 +109,7 @@ public class OperationRelatedContentActivity extends ABVUIActivity {
...
@@ -107,6 +109,7 @@ public class OperationRelatedContentActivity extends ABVUIActivity {
// 下辺のツールバー設定
// 下辺のツールバー設定
private
void
settingBottomToolbar
()
{
private
void
settingBottomToolbar
()
{
mDashboardHomeButton
.
setEnabled
(
true
);
// ホームボタン活性化
// ホームボタン活性化
mOperationHomeButton
.
setEnabled
(
true
);
mOperationHomeButton
.
setEnabled
(
true
);
// 共通資料ボタンの非活性化
// 共通資料ボタンの非活性化
...
@@ -120,6 +123,9 @@ public class OperationRelatedContentActivity extends ABVUIActivity {
...
@@ -120,6 +123,9 @@ public class OperationRelatedContentActivity extends ABVUIActivity {
showCommunicationMenuDialog
();
showCommunicationMenuDialog
();
}
}
});
});
if
(
findViewById
(
R
.
id
.
communication_layout
)
!=
null
)
{
findViewById
(
R
.
id
.
communication_layout
).
setVisibility
(
View
.
GONE
);
}
if
(
findViewById
(
R
.
id
.
print_layout
)
!=
null
)
{
if
(
findViewById
(
R
.
id
.
print_layout
)
!=
null
)
{
findViewById
(
R
.
id
.
print_layout
).
setVisibility
(
View
.
GONE
);
findViewById
(
R
.
id
.
print_layout
).
setVisibility
(
View
.
GONE
);
}
}
...
@@ -324,6 +330,12 @@ public class OperationRelatedContentActivity extends ABVUIActivity {
...
@@ -324,6 +330,12 @@ public class OperationRelatedContentActivity extends ABVUIActivity {
* ボタンイベント設定
* ボタンイベント設定
*/
*/
private
void
setOnButtonEvent
()
{
private
void
setOnButtonEvent
()
{
mDashboardHomeButton
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
backToHome
();
}
});
// 作業のホーム画面へ
// 作業のホーム画面へ
mOperationHomeButton
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
mOperationHomeButton
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
@Override
...
...
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