Commit 8cf69a6a by Kang Donghun

remove button and shortcut menu

parent 82126852
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="300dp"
android:layout_height="250dp"
android:minHeight="200dp"
android:background="@color/operation_bg"
android:orientation="vertical">
......@@ -47,62 +47,61 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="15dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:orientation="vertical"
android:focusable="false"
android:clickable="false">
<LinearLayout
android:id="@+id/ll_item_meeting"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:layout_marginTop="5dp"
android:layout_weight="3"
android:gravity="center"
android:orientation="horizontal"
android:background="@drawable/list_selector_holo_light"
android:focusable="true"
android:clickable="true"
android:visibility="visible">
<!-- <LinearLayout-->
<!-- android:id="@+id/ll_item_meeting"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_marginBottom="5dp"-->
<!-- android:layout_marginTop="5dp"-->
<!-- android:layout_weight="3"-->
<!-- android:gravity="center"-->
<!-- android:orientation="horizontal"-->
<!-- android:background="@drawable/list_selector_holo_light"-->
<!-- android:focusable="true"-->
<!-- android:clickable="true"-->
<!-- android:visibility="visible">-->
<ImageView
android:id="@+id/btn_operation_meeting"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginRight="15dp"
android:src="@drawable/ic_communication_meeting"
android:visibility="visible" />
<!-- <ImageView-->
<!-- android:id="@+id/btn_operation_meeting"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_weight="0"-->
<!-- android:layout_alignParentLeft="true"-->
<!-- android:layout_centerVertical="true"-->
<!-- android:layout_marginRight="15dp"-->
<!-- android:src="@drawable/ic_communication_meeting"-->
<!-- android:visibility="visible" />-->
<TextView
android:id="@+id/item3_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0.8"
android:paddingLeft="6dip"
android:text="@string/remote_support"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@color/text_select" />
<!-- <TextView-->
<!-- android:id="@+id/item3_text"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_weight="0.8"-->
<!-- android:paddingLeft="6dip"-->
<!-- android:text="@string/remote_support"-->
<!-- android:textAppearance="?android:attr/textAppearanceMedium"-->
<!-- android:textColor="@color/text_select" />-->
<ImageView
android:id="@+id/item3_nextLevel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
android:layout_alignParentRight="true"
android:src="@drawable/ic_navigation_next_item"
android:visibility="visible" />
<!-- <ImageView-->
<!-- android:id="@+id/item3_nextLevel"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_weight="0"-->
<!-- android:layout_alignParentRight="true"-->
<!-- android:src="@drawable/ic_navigation_next_item"-->
<!-- android:visibility="visible" />-->
</LinearLayout>
<!-- </LinearLayout>-->
<View
android:layout_width="fill_parent"
android:layout_height="1dp"
android:background="@android:color/darker_gray"/>
<!-- <View-->
<!-- android:layout_width="fill_parent"-->
<!-- android:layout_height="1dp"-->
<!-- android:background="@android:color/darker_gray"/>-->
<LinearLayout
android:id="@+id/ll_item_push_message"
......
......@@ -831,14 +831,14 @@ public abstract class ABVAuthenticatedActivity extends ABVActivity implements Co
ivIcon.setBackgroundResource(R.drawable.ic_communication_push_message_list);
}
LinearLayout ll_menuItem_meeting = (LinearLayout)mCommunicationMenuDialog.findViewById(R.id.ll_item_meeting);
ll_menuItem_meeting.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ActivityHandlingHelper.getInstance().startMeetingActivity();
mCommunicationMenuDialog.dismiss();
}
});
// LinearLayout ll_menuItem_meeting = (LinearLayout)mCommunicationMenuDialog.findViewById(R.id.ll_item_meeting);
// ll_menuItem_meeting.setOnClickListener(new View.OnClickListener() {
// @Override
// public void onClick(View view) {
// ActivityHandlingHelper.getInstance().startMeetingActivity();
// mCommunicationMenuDialog.dismiss();
// }
// });
LinearLayout ll_menuItem_push_message = (LinearLayout)mCommunicationMenuDialog.findViewById(R.id.ll_item_push_message);
ll_menuItem_push_message.setOnClickListener(new View.OnClickListener() {
......
......@@ -62,7 +62,10 @@ public class ChatWebviewActivity extends ParentWebViewActivity {
private ValueCallback<Uri[]> mUploadMessage;
private String sid, roomName, loginId, shopName;
private String sid;
private String roomName;
private String loginId;
private String shopName;
private Long roomId;
public AlertDialog myAlertDialog;
......@@ -417,14 +420,14 @@ public class ChatWebviewActivity extends ParentWebViewActivity {
ivIcon.setBackgroundResource(R.drawable.ic_communication_push_message_list);
}
LinearLayout ll_menuItem_meeting = (LinearLayout)mCommunicationMenuDialog.findViewById(R.id.ll_item_meeting);
ll_menuItem_meeting.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
ActivityHandlingHelper.getInstance().startMeetingActivity();
mCommunicationMenuDialog.dismiss();
}
});
// LinearLayout ll_menuItem_meeting = (LinearLayout)mCommunicationMenuDialog.findViewById(R.id.ll_item_meeting);
// ll_menuItem_meeting.setOnClickListener(new View.OnClickListener() {
// @Override
// public void onClick(View view) {
// ActivityHandlingHelper.getInstance().startMeetingActivity();
// mCommunicationMenuDialog.dismiss();
// }
// });
LinearLayout ll_menuItem_push_message = (LinearLayout)mCommunicationMenuDialog.findViewById(R.id.ll_item_push_message);
ll_menuItem_push_message.setOnClickListener(new View.OnClickListener() {
......
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