Commit f15896cc by Kim Peace

Merge commit '2efdefbd' into communication/develop

# Conflicts:
#	ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/ActivityHandlingHelper.java
parents 848c850b 2efdefbd
...@@ -124,7 +124,7 @@ public class OperationDao extends AbstractDao { ...@@ -124,7 +124,7 @@ public class OperationDao extends AbstractDao {
* @return * @return
*/ */
public List<OperationDto> getAllOperation() { public List<OperationDto> getAllOperation() {
return rawQueryGetDtoList("select tp.*, rpc.content_id from t_operation AS tp left outer join r_operation_content AS rpc on tp.operation_id = rpc.operation_id ORDER BY operation_id DESC", null, OperationDto.class); return rawQueryGetDtoList("select tp.*, rpc.content_id from t_operation AS tp left outer join r_operation_content AS rpc on tp.operation_id = rpc.operation_id AND rpc.operation_content_flg = 1 ORDER BY operation_id DESC", null, OperationDto.class);
} }
public List<OperationDto> getLatestOperations() { public List<OperationDto> getLatestOperations() {
......
...@@ -237,7 +237,7 @@ ...@@ -237,7 +237,7 @@
<string name="L120">서버와의 통신에 실패하였습니다.</string> <string name="L120">서버와의 통신에 실패하였습니다.</string>
<string name="L121">다시 시작할 수 없습니다.</string> <string name="L121">다시 시작할 수 없습니다.</string>
<string name="L122">현재 이 기능은 Android 버전 앱에서 \n 대응하고 있지 않습니다.</string> <string name="L122">현재 이 기능은 Android 버전 앱에서 \n 대응하고 있지 않습니다.</string>
<string name="L123">표시가 제한된 컨츠 입니다.\n로그인 패스워드를 입력해 주세요.</string> <string name="L123">표시가 제한된 컨츠 입니다.\n로그인 패스워드를 입력해 주세요.</string>
<string name="L124">시스템에러가 발생하였습니다.앱을 리로드합니다.</string> <string name="L124">시스템에러가 발생하였습니다.앱을 리로드합니다.</string>
<string name="C_E_SYSTEM_0001">예기치 않은 오류가 발생하였습니다.</string> <string name="C_E_SYSTEM_0001">예기치 않은 오류가 발생하였습니다.</string>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<shape android:shape="rectangle"> <shape android:shape="rectangle">
<solid android:color="@android:color/white" /> <solid android:color="@android:color/white" />
<corners android:radius="1dp" /> <corners android:radius="1dp" />
<stroke android:width="1dp" android:color="@android:color/white" /> <stroke android:width="0.5dp" android:color="@android:color/black" />
<padding <padding
android:bottom="7dp" android:bottom="7dp"
android:left="7dp" android:left="7dp"
......
...@@ -11,9 +11,8 @@ ...@@ -11,9 +11,8 @@
android:orientation="horizontal"> android:orientation="horizontal">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="250dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="10"
android:orientation="vertical"> android:orientation="vertical">
<LinearLayout <LinearLayout
......
...@@ -127,5 +127,7 @@ ...@@ -127,5 +127,7 @@
<ListView <ListView
android:id="@+id/lv_push_message" android:id="@+id/lv_push_message"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content"
android:divider="@color/line"
android:dividerHeight="1px"/>
</LinearLayout> </LinearLayout>
\ No newline at end of file
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<Button <Button
android:id="@+id/btn_show_list_view" android:id="@+id/btn_show_list_view"
android:layout_width="wrap_content" android:layout_width="60dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@drawable/btn_show_list" /> android:background="@drawable/btn_show_list" />
......
...@@ -203,7 +203,7 @@ ...@@ -203,7 +203,7 @@
<ToggleButton <ToggleButton
android:id="@+id/tbtn_slide" android:id="@+id/tbtn_slide"
android:layout_width="wrap_content" android:layout_width="60dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:layout_below="@+id/RelativeLayout2" android:layout_below="@+id/RelativeLayout2"
...@@ -215,7 +215,7 @@ ...@@ -215,7 +215,7 @@
<ToggleButton <ToggleButton
android:id="@+id/tbtn_marking" android:id="@+id/tbtn_marking"
android:layout_width="wrap_content" android:layout_width="60dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:layout_below="@+id/tbtn_slide" android:layout_below="@+id/tbtn_slide"
......
...@@ -170,7 +170,8 @@ ...@@ -170,7 +170,8 @@
android:layout_height="30dp" android:layout_height="30dp"
android:layout_gravity="center" android:layout_gravity="center"
android:background="@drawable/operation_radius_frame" android:background="@drawable/operation_radius_frame"
android:text="@string/save" /> android:text="@string/save"
android:textColor="@android:color/white"/>
<Button <Button
android:id="@+id/pause_save" android:id="@+id/pause_save"
...@@ -179,7 +180,8 @@ ...@@ -179,7 +180,8 @@
android:layout_gravity="center" android:layout_gravity="center"
android:background="@drawable/operation_radius_frame" android:background="@drawable/operation_radius_frame"
android:text="@string/pause" android:text="@string/pause"
android:visibility="gone" /> android:visibility="gone"
android:textColor="@android:color/white"/>
<Button <Button
android:id="@+id/restart_save" android:id="@+id/restart_save"
...@@ -188,7 +190,8 @@ ...@@ -188,7 +190,8 @@
android:layout_gravity="center" android:layout_gravity="center"
android:background="@drawable/operation_radius_frame" android:background="@drawable/operation_radius_frame"
android:text="@string/restart" android:text="@string/restart"
android:visibility="gone" /> android:visibility="gone"
android:textColor="@android:color/white"/>
<Button <Button
android:id="@+id/open_content" android:id="@+id/open_content"
...@@ -197,7 +200,8 @@ ...@@ -197,7 +200,8 @@
android:layout_gravity="center" android:layout_gravity="center"
android:background="@drawable/operation_radius_frame" android:background="@drawable/operation_radius_frame"
android:text="@string/open" android:text="@string/open"
android:visibility="gone" /> android:visibility="gone"
android:textColor="@android:color/white"/>
<Button <Button
android:id="@+id/delete_content" android:id="@+id/delete_content"
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
android:text="@string/save" android:text="@string/save"
android:visibility="gone" /> android:visibility="gone" />
<Button <ImageButton
android:id="@+id/memo_delete" android:id="@+id/memo_delete"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
......
...@@ -38,6 +38,8 @@ ...@@ -38,6 +38,8 @@
<ListView <ListView
android:id="@+id/lv_operation_select" android:id="@+id/lv_operation_select"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content"
android:divider="@color/line"
android:dividerHeight="1px"/>
</LinearLayout> </LinearLayout>
\ No newline at end of file
...@@ -126,5 +126,7 @@ ...@@ -126,5 +126,7 @@
<ListView <ListView
android:id="@+id/lv_push_message" android:id="@+id/lv_push_message"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" /> android:layout_height="wrap_content"
android:divider="@color/line"
android:dividerHeight="1px"/>
</LinearLayout> </LinearLayout>
\ No newline at end of file
...@@ -234,7 +234,9 @@ ...@@ -234,7 +234,9 @@
android:id="@+id/listView" android:id="@+id/listView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="gone" /> android:visibility="gone"
android:divider="@color/line"
android:dividerHeight="1px"/>
</LinearLayout> </LinearLayout>
\ No newline at end of file
...@@ -1029,8 +1029,12 @@ public abstract class ABVAuthenticatedActivity extends ABVActivity implements Co ...@@ -1029,8 +1029,12 @@ public abstract class ABVAuthenticatedActivity extends ABVActivity implements Co
mPushMessageSendDialog.findViewById(R.id.back_btn).setOnClickListener(new View.OnClickListener() { mPushMessageSendDialog.findViewById(R.id.back_btn).setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
showOperationSelectDialog(); if (mFixPushMessageListView.getVisibility() == View.VISIBLE) { //定型文表示状態
mPushMessageSendDialog.dismiss(); showSendPushMessgeView(true);
} else { //送信画面表示状態
showOperationSelectDialog();
mPushMessageSendDialog.dismiss();
}
} }
}); });
...@@ -1086,8 +1090,6 @@ public abstract class ABVAuthenticatedActivity extends ABVActivity implements Co ...@@ -1086,8 +1090,6 @@ public abstract class ABVAuthenticatedActivity extends ABVActivity implements Co
private void showSendPushMessgeView(boolean sendPushMessageViewFlg) { private void showSendPushMessgeView(boolean sendPushMessageViewFlg) {
if (sendPushMessageViewFlg) { if (sendPushMessageViewFlg) {
mFixPushMessageListView.setVisibility(View.GONE); mFixPushMessageListView.setVisibility(View.GONE);
mPushMessageSendDialog.findViewById(R.id.back_btn).setVisibility(View.GONE);
mPushMessageSendDialog.findViewById(R.id.push_send_layout).setVisibility(View.VISIBLE); mPushMessageSendDialog.findViewById(R.id.push_send_layout).setVisibility(View.VISIBLE);
mPushMessageSendDialog.findViewById(R.id.close_btn).setVisibility(View.VISIBLE); mPushMessageSendDialog.findViewById(R.id.close_btn).setVisibility(View.VISIBLE);
EditText messageEditText = (EditText) mPushMessageSendDialog.findViewById(R.id.message); EditText messageEditText = (EditText) mPushMessageSendDialog.findViewById(R.id.message);
......
...@@ -31,7 +31,7 @@ public class ABVBatchSyncView extends ProgressDialog { ...@@ -31,7 +31,7 @@ public class ABVBatchSyncView extends ProgressDialog {
private boolean isDestroy = false; private boolean isDestroy = false;
public ABVBatchSyncView(Context context) { public ABVBatchSyncView(Context context) {
super(context); super(context, R.style.MyDialogTheme);
mOperationListActivity = (OperationListActivity)context; mOperationListActivity = (OperationListActivity)context;
init(); init();
isDestroy = false; isDestroy = false;
......
...@@ -398,9 +398,17 @@ public class ActivityHandlingHelper extends ABookHelper implements RemoteObserve ...@@ -398,9 +398,17 @@ public class ActivityHandlingHelper extends ABookHelper implements RemoteObserve
} }
} }
} }
if (!StringUtil.equalsAny(contentType,
ContentJSON.KEY_HTML_TYPE, ContentJSON.KEY_LINK_TYPE, ContentJSON.KEY_ENQUETE_TYPE, ContentJSON.KEY_EXAM_TYPE, if (!StringUtil.equalsAny(
ContentJSON.KEY_PANO_MOVIE_TYPE, ContentJSON.KEY_PANO_IMAGE_TYPE, ContentJSON.KEY_OBJECTVR_TYPE)) { contentType,
ContentJSON.KEY_HTML_TYPE,
ContentJSON.KEY_LINK_TYPE,
ContentJSON.KEY_ENQUETE_TYPE,
ContentJSON.KEY_EXAM_TYPE,
ContentJSON.KEY_PANO_MOVIE_TYPE,
ContentJSON.KEY_PANO_IMAGE_TYPE,
ContentJSON.KEY_OBJECTVR_TYPE)
) {
context.startActivity(intent); context.startActivity(intent);
} }
} }
......
...@@ -3,7 +3,11 @@ package jp.agentec.abook.abv.ui.home.view; ...@@ -3,7 +3,11 @@ package jp.agentec.abook.abv.ui.home.view;
import jp.agentec.abook.abv.launcher.android.R; import jp.agentec.abook.abv.launcher.android.R;
import android.content.Context; import android.content.Context;
import android.graphics.Color; import android.graphics.Color;
import android.view.Gravity;
import android.widget.Button; import android.widget.Button;
import android.widget.TextView;
/** /**
* パンくず履歴用のボタン * パンくず履歴用のボタン
...@@ -16,10 +20,12 @@ public class BreadCrumbButton extends Button { ...@@ -16,10 +20,12 @@ public class BreadCrumbButton extends Button {
super(context); super(context);
} }
public BreadCrumbButton(Context context, String name) { public BreadCrumbButton(Context context, String name) {
super(context); super(context, null, R.style.ButtonABookDark);
this.name = name; this.name = name;
setText(name); //画面表示調整のため、最後に空白を追加する。
setText(name + " ");
setTextColor(Color.BLACK); setTextColor(Color.BLACK);
setGravity(Gravity.CENTER_VERTICAL);
setBackgroundResource(R.drawable.btn_breadcrumbs); setBackgroundResource(R.drawable.btn_breadcrumbs);
setPadding(10, 0, 40, 0); setPadding(10, 0, 40, 0);
} }
......
...@@ -5386,7 +5386,7 @@ public class ContentViewActivity extends ABVContentViewActivity { ...@@ -5386,7 +5386,7 @@ public class ContentViewActivity extends ABVContentViewActivity {
zoomRelativeLayout.removeView(view); zoomRelativeLayout.removeView(view);
} }
} }
List<OperationTaskDto> tasks = mTaskHotspotJSON.getPageTasks(i); List<OperationTaskDto> tasks = mTaskHotspotJSON.getPageTasks(key);
operationTaskLayout.addAllOperationTaskIcon(zoomRelativeLayout, tasks); operationTaskLayout.addAllOperationTaskIcon(zoomRelativeLayout, tasks);
} }
} }
......
...@@ -18,6 +18,7 @@ import android.widget.AdapterView; ...@@ -18,6 +18,7 @@ import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener; import android.widget.AdapterView.OnItemClickListener;
import android.widget.Button; import android.widget.Button;
import android.widget.EditText; import android.widget.EditText;
import android.widget.ImageButton;
import android.widget.ImageView; import android.widget.ImageView;
import android.widget.RelativeLayout; import android.widget.RelativeLayout;
import android.widget.TextView; import android.widget.TextView;
...@@ -61,7 +62,7 @@ public class MemoManager { ...@@ -61,7 +62,7 @@ public class MemoManager {
memoDialog.setContentView(contentView); memoDialog.setContentView(contentView);
final EditText memoText = (EditText) contentView.findViewById(R.id.memoText); final EditText memoText = (EditText) contentView.findViewById(R.id.memoText);
final Button btnDelete = (Button) contentView.findViewById(R.id.memo_delete); final ImageButton btnDelete = (ImageButton) contentView.findViewById(R.id.memo_delete);
final Button btnSave = (Button) contentView.findViewById(R.id.memo_save); final Button btnSave = (Button) contentView.findViewById(R.id.memo_save);
final Button btnCancel = (Button) contentView.findViewById(R.id.memo_cancel); final Button btnCancel = (Button) contentView.findViewById(R.id.memo_cancel);
final ImageView abookmark = (ImageView) contentView.findViewById(R.id.abookmark); final ImageView abookmark = (ImageView) contentView.findViewById(R.id.abookmark);
......
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