Commit 7f81681f by Kim Jinsung

スマートフォン全画面表示対応(ステータスバー非表示)

parent 69574aa4
......@@ -183,10 +183,13 @@
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
</activity>
<activity
android:name="jp.agentec.abook.abv.ui.viewer.activity.DeviceImageListActivity"
android:name="jp.agentec.abook.abv.ui.viewer.activity.DeviceImageListActivityDialog"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="DeviceImageListActivity"
android:theme="@style/Theme_Contentdetailview" />
<activity android:name="jp.agentec.abook.abv.ui.viewer.activity.DeviceImageListActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"/>
<activity android:name="jp.agentec.abook.abv.ui.home.activity.ABookSettingActivity" android:theme="@android:style/Theme.NoTitleBar"/>
<activity android:name="jp.agentec.abook.abv.ui.home.activity.ChangePasswordActivity" android:theme="@android:style/Theme.NoTitleBar.Fullscreen"/>
......
package jp.agentec.abook.abv.ui.viewer.activity;
public class DeviceImageListActivityDialog extends DeviceImageListActivity {
}
......@@ -95,6 +95,8 @@ public class ParentWebViewActivity extends ABVContentViewActivity {
addSceneButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
//インターネットチェック
if (checkNetworkConnected()) {
addSceneButton.setEnabled(false);
//パーミッションチェック
ABookPermissionHelper helper = new ABookPermissionHelper(context, Constant.ABookPermissionType.ReadExternalStorage, null);
......@@ -103,7 +105,12 @@ public class ParentWebViewActivity extends ABVContentViewActivity {
Logger.d("test");
Intent intent = new Intent();
intent.putExtra(ABookKeys.CONTENT_ID, contentId);
intent.setClassName(getPackageName(), DeviceImageListActivity.class.getName());
String className = DeviceImageListActivity.class.getName();
if (isNormalSize() == false) {
className += "Dialog";
}
intent.setClassName(getPackageName(), className);
startActivity(intent);
} else {
Logger.w(TAG, "ReadExternalStorage checkMultiPermissions false");
......@@ -116,6 +123,8 @@ public class ParentWebViewActivity extends ABVContentViewActivity {
}
}, 500);
}
}
});
createCheckToolbar();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment