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
11805ae0
Commit
11805ae0
authored
4 years ago
by
Kim Jinsung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
コメント追加
最大選択制限数変更 スマートフォン表示数変更 インターネット接続チェック共有化
parent
26d87fae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
19 deletions
+7
-19
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/DeviceImageListActivity.java
+3
-19
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/DeviceImageListActivityDialog.java
+4
-0
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/DeviceImageListActivity.java
View file @
11805ae0
...
@@ -10,6 +10,7 @@ import android.os.Bundle;
...
@@ -10,6 +10,7 @@ import android.os.Bundle;
import
android.provider.BaseColumns
;
import
android.provider.BaseColumns
;
import
android.provider.MediaStore
;
import
android.provider.MediaStore
;
import
android.view.View
;
import
android.view.View
;
import
android.view.Window
;
import
android.view.WindowManager
;
import
android.view.WindowManager
;
import
android.widget.AdapterView
;
import
android.widget.AdapterView
;
import
android.widget.Button
;
import
android.widget.Button
;
...
@@ -53,9 +54,9 @@ public class DeviceImageListActivity extends ABVUIActivity {
...
@@ -53,9 +54,9 @@ public class DeviceImageListActivity extends ABVUIActivity {
//タブレットの縦表示時、1行最大表示数
//タブレットの縦表示時、1行最大表示数
private
static
final
int
PHONE_COLUMNS_PORTRAIT
=
3
;
private
static
final
int
PHONE_COLUMNS_PORTRAIT
=
3
;
//タブレットの横表示時、1行最大表示数
//タブレットの横表示時、1行最大表示数
private
static
final
int
PHONE_COLUMNS_LANDSCAPE
=
4
;
private
static
final
int
PHONE_COLUMNS_LANDSCAPE
=
5
;
//画像選択最大数
//画像選択最大数
private
static
final
int
IMAGE_SELECT_MAX_COUNT
=
5
;
private
static
final
int
IMAGE_SELECT_MAX_COUNT
=
20
;
//タブレット表示の画面サイズ調整スケール
//タブレット表示の画面サイズ調整スケール
public
static
final
double
WINDOW_RESIZE_SCALE
=
0.9
;
public
static
final
double
WINDOW_RESIZE_SCALE
=
0.9
;
//連続タップ防止用のボタン活性化するタイム
//連続タップ防止用のボタン活性化するタイム
...
@@ -387,21 +388,4 @@ public class DeviceImageListActivity extends ABVUIActivity {
...
@@ -387,21 +388,4 @@ public class DeviceImageListActivity extends ABVUIActivity {
}
}
});
});
}
}
/**
* ネットワークチェックして非接続時にダイアログ表示
* @return true:接続、false:非接続
*/
private
boolean
checkNetworkConnected
()
{
if
(!
ABVEnvironment
.
getInstance
().
networkAdapter
.
isNetworkConnected
())
{
handler
.
post
(
new
Runnable
()
{
@Override
public
void
run
()
{
showSimpleAlertDialog
(
R
.
string
.
app_name
,
R
.
string
.
msg_network_offline
);
}
});
return
false
;
}
return
true
;
}
}
}
This diff is collapsed.
Click to expand it.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/DeviceImageListActivityDialog.java
View file @
11805ae0
package
jp
.
agentec
.
abook
.
abv
.
ui
.
viewer
.
activity
;
package
jp
.
agentec
.
abook
.
abv
.
ui
.
viewer
.
activity
;
/**
* シーン画像選択画面(タブレット専用)
* 全画面表示ではないダイアログ表示のため、Manifest設定用クラス
*/
public
class
DeviceImageListActivityDialog
extends
DeviceImageListActivity
{
public
class
DeviceImageListActivityDialog
extends
DeviceImageListActivity
{
}
}
This diff is collapsed.
Click to expand it.
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