Kaynağa Gözat

remove reservation feature

hanjing 6 yıl önce
ebeveyn
işleme
64fd990a3a

+ 0 - 4
app/src/main/AndroidManifest.xml

@@ -746,10 +746,6 @@
             android:screenOrientation="portrait"
             android:theme="@style/AppActionTheme" />
         <activity
-            android:name="com.sheep.gamegroup.view.activity.ActReservation"
-            android:screenOrientation="portrait"
-            android:theme="@style/AppActionTheme" />
-        <activity
             android:name="com.sheep.gamegroup.view.activity.ActGameAgencyRecharge"
             android:screenOrientation="portrait"
             android:theme="@style/AppActionTheme" />

+ 0 - 41
app/src/main/java/com/sheep/gamegroup/util/Jump2View.java

@@ -119,7 +119,6 @@ import com.sheep.gamegroup.view.activity.ActPlayGameRecommendList;
 import com.sheep.gamegroup.view.activity.ActPlayGameUserLikeList;
 import com.sheep.gamegroup.view.activity.ActPlayVideo;
 import com.sheep.gamegroup.view.activity.ActPublishArticle;
-import com.sheep.gamegroup.view.activity.ActReservation;
 import com.sheep.gamegroup.view.activity.ActSearchApp;
 import com.sheep.gamegroup.view.activity.ActSearchAppOrTask;
 import com.sheep.gamegroup.view.activity.ActSearchGame;
@@ -1666,12 +1665,10 @@ public class Jump2View {
                                 return;
                             }
                         }
-                        tryShowReservation(activity);
                     }
 
                     @Override
                     public void onError(BaseMessage baseMessage) {
-                        tryShowReservation(activity);
                     }
                 });
     }
@@ -1704,34 +1701,6 @@ public class Jump2View {
                 });
     }
 
-    //显示下载预约的游戏可以下载的提示
-    public void tryShowReservation(final Activity activity) {
-        SheepApp.getInstance().getNetComponent().getApiService().getFindAppDownloadsStatus()
-                .subscribeOn(Schedulers.io())
-                .observeOn(AndroidSchedulers.mainThread())
-                .subscribe(new SheepSubscriber<BaseMessage>(activity) {
-                    @Override
-                    public void onNext(BaseMessage baseMessage) {
-                        if (baseMessage.getData() instanceof Integer && !BuildConfig.DEBUG) {
-                            if ((int) baseMessage.getData() > 0) {//该提示在弹窗广告后显示,且必须有可下载的游戏,弹出弹窗
-                                ViewUtil.showMsgDialog(activity, new DialogConfig().setTitle("预约下载提示")
-                                        .setMsg("你有可下载的预约游戏请及时下载,不要错过优先时机哦。").setMsgGravity(Gravity.START)
-                                        .setBtnLeftText("去下载").setBtnLeftOnClickListener(new View.OnClickListener() {
-                                            @Override
-                                            public void onClick(View view) {
-                                                goActReservation(activity);//点击去下载到游戏预约列表
-                                            }
-                                        }).setBtnRightText("我知道了"));
-                            }
-                        }
-                    }
-
-                    @Override
-                    public void onError(BaseMessage baseMessage) {
-                    }
-                });
-    }
-
     public void goVersionChange(final Activity activity, String currentPkgVersionName) {
         USER_NEW_VERSION.onEvent();
         SheepApp.getInstance().getNetComponent().getApiService().getVersionInfo(currentPkgVersionName)
@@ -1974,16 +1943,6 @@ public class Jump2View {
         USER_FIND_APP_ORDER.onEvent();
     }
 
-    /**
-     * 进入游戏预约列表界面
-     *
-     * @param activity
-     */
-    public void goActReservation(Activity activity) {
-        Intent intent = new Intent(activity, ActReservation.class);
-        activity.startActivity(intent);
-    }
-
     //分享
     public void tryShare(final Activity activity, String shareUrlKey, final String idName, final int id, final String description) {
         try {

+ 0 - 6
app/src/main/java/com/sheep/gamegroup/util/ViewUtil.java

@@ -1879,12 +1879,6 @@ public class ViewUtil {
                     }
                 }
             });
-            dialog.setOnDismissListener(new DialogInterface.OnDismissListener() {
-                @Override
-                public void onDismiss(DialogInterface dialogInterface) {
-                    Jump2View.getInstance().tryShowReservation(activity);
-                }
-            });
             try {
                 dialog.show();
             } catch (Exception e) {

+ 0 - 413
app/src/main/java/com/sheep/gamegroup/view/activity/ActReservation.java

@@ -1,413 +0,0 @@
-package com.sheep.gamegroup.view.activity;
-
-import android.content.Intent;
-import android.support.v4.widget.SwipeRefreshLayout;
-import android.support.v7.widget.LinearLayoutManager;
-import android.support.v7.widget.RecyclerView;
-import android.text.TextUtils;
-import android.view.View;
-import android.widget.ImageView;
-import android.widget.TextView;
-
-import com.sheep.gamegroup.absBase.AbsObserver;
-import com.sheep.gamegroup.absBase.BaseActivity;
-import com.sheep.gamegroup.event.BigEvent;
-import com.sheep.gamegroup.greendao.download.DownLoadInfo;
-import com.sheep.gamegroup.model.entity.BaseMessage;
-import com.sheep.gamegroup.model.entity.Applications;
-import com.sheep.gamegroup.module.game.model.MyGame;
-import com.sheep.gamegroup.model.util.SheepSubscriber;
-import com.sheep.gamegroup.util.CommonUtil;
-import com.sheep.gamegroup.util.DownloadUtil;
-import com.sheep.gamegroup.util.Jump2View;
-import com.sheep.gamegroup.util.ListUtil;
-import com.sheep.gamegroup.util.SysAppUtil;
-import com.sheep.gamegroup.util.TimeUtil;
-import com.sheep.gamegroup.util.ViewHolder;
-import com.sheep.gamegroup.util.ViewUtil;
-import com.sheep.gamegroup.view.adapter.AdbCommonRecycler;
-import com.sheep.jiuyan.samllsheep.R;
-import com.sheep.jiuyan.samllsheep.SheepApp;
-import com.sheep.jiuyan.samllsheep.utils.G;
-import com.sheep.jiuyan.samllsheep.utils.PackageUtil;
-import com.sheep.jiuyan.samllsheep.utils.TitleBarUtils;
-
-import org.greenrobot.eventbus.EventBus;
-import org.greenrobot.eventbus.Subscribe;
-
-import java.util.HashMap;
-import java.util.List;
-import java.util.Locale;
-import java.util.Map;
-
-import butterknife.BindView;
-import io.reactivex.android.schedulers.AndroidSchedulers;
-import io.reactivex.schedulers.Schedulers;
-
-import static android.content.Intent.ACTION_PACKAGE_ADDED;
-import static android.content.Intent.ACTION_PACKAGE_REMOVED;
-
-/**
- * Created by realicing on 2018/5/10.
- * realicing@sina.com
- * 游戏预约
- */
-public class ActReservation extends BaseActivity {
-    @Override
-    protected int getLayoutId() {
-        return R.layout.net_empty_fresh_list_not_wrap;
-    }
-
-    @BindView(R.id.refresh)
-    SwipeRefreshLayout refresh;
-    @BindView(R.id.empty_view)
-    View empty_view;
-    @BindView(R.id.check_net_ll)
-    View check_net_ll;
-    @BindView(R.id.view_list)
-    RecyclerView view_list;
-
-    @Override
-    public void initView() {
-        TitleBarUtils.getInstance()
-                .setShowOrHide(this, true)
-                .setTitle(this, "游戏预约")
-                .setTitleFinish(this);
-
-        EventBus.getDefault().register(this);
-
-        refresh.setOnRefreshListener(new SwipeRefreshLayout.OnRefreshListener() {
-            @Override
-            public void onRefresh() {
-                initData();
-                refresh.setRefreshing(false);
-            }
-        });
-
-        view_list.setLayoutManager(new LinearLayoutManager(SheepApp.getInstance()));
-        view_list.setAdapter(new AdbCommonRecycler<MyGame>(SheepApp.getInstance(), list) {
-
-            @Override
-            public int getItemViewType(int position) {
-                return position;
-            }
-
-            @Override
-            public int getViewIdByType(int type) {//type来源于 getItemViewType 返回的值
-                switch (type) {
-                    case 0:
-                        return R.layout.find_reservation_item_top;
-                    default:
-                        return R.layout.find_reservation_item_bottom;
-                }
-            }
-
-            @Override
-            public void convert(ViewHolder holder, MyGame item) {
-                View find_reservation_item_center = holder.itemView.findViewById(R.id.find_reservation_item_center);
-                View find_reservation_item_bottom = holder.itemView.findViewById(R.id.find_reservation_item_bottom);
-                if (find_reservation_item_bottom != null) {
-                    find_reservation_item_center.setVisibility(item == null ? View.GONE : View.VISIBLE);
-                    find_reservation_item_bottom.setVisibility(item == null ? View.VISIBLE : View.GONE);
-                }
-                if (item != null)
-                    loadItem(holder.itemView, item);
-
-            }
-        });
-    }
-
-    private void loadItem(View itemView, final MyGame item) {
-        ImageView find_information_game_icon = (ImageView) itemView.findViewById(R.id.find_information_game_icon);
-        TextView find_information_game_name = (TextView) itemView.findViewById(R.id.find_information_game_name);
-        TextView find_information_game_time = (TextView) itemView.findViewById(R.id.find_information_game_time);
-        TextView find_information_game_bt1 = (TextView) itemView.findViewById(R.id.find_information_game_bt1);
-        final TextView find_information_game_bt2 = (TextView) itemView.findViewById(R.id.find_information_game_bt2);
-
-        if (item != null && item.getApplication() != null) {
-            final Applications findApp = item.getApplication();
-
-            ViewUtil.setImage(find_information_game_icon, findApp.getIcon());
-            ViewUtil.setText(find_information_game_name, findApp.getName());
-            ViewUtil.setText(find_information_game_time, String.format(Locale.CHINA, "开放时间:\n%s", TimeUtil.TimeStamp2Date(findApp.getDownload_at(), "yyyy-MM-dd\u0020HH:mm")));
-            if (findApp.isCanDownload()) {//可以下载
-                downLoadTextViewMap.put(findApp.getDownload_link(), find_information_game_bt1);
-                downLoadTextViewMap.put(findApp.getPackage_name(), find_information_game_bt1);
-                findAppMap.put(findApp.getDownload_link(), findApp);
-                findAppMap.put(findApp.getPackage_name(), findApp);
-                findApp.getFindAppHelper().updateDownloadTaskView(true, findApp, find_information_game_bt1);
-                find_information_game_bt2.setEnabled(false);
-            } else {
-                find_information_game_bt1.setEnabled(false);
-                find_information_game_bt1.setText("即将开始");
-
-                find_information_game_bt2.setEnabled(true);
-                find_information_game_bt2.setText(item.isCancel() ? "立即预约" : "取消预约");
-                find_information_game_bt2.setOnClickListener(new View.OnClickListener() {
-                    @Override
-                    public void onClick(View view) {
-                        find_information_game_bt2.setEnabled(false);
-                        if (item.isCancel()) {//已经取消预约则进行预约
-                            recordAppDownloads(find_information_game_bt2, findApp.getId(), item);
-                        } else {//取消预约
-                            deleteDownloads(find_information_game_bt2, item);
-                        }
-                    }
-                });
-            }
-            itemView.setOnClickListener(view -> Jump2View.getInstance().goEntity(findApp));
-        } else {
-
-            ViewUtil.setText(find_information_game_name);
-            ViewUtil.setText(find_information_game_time);
-            find_information_game_bt1.setEnabled(false);
-            find_information_game_bt2.setEnabled(false);
-        }
-    }
-
-    //预约下载
-    private void recordAppDownloads(final TextView find_information_game_bt2, int id, final MyGame item) {
-        SheepApp.getInstance().getNetComponent().getApiService().recordAppDownloads(id)
-                .subscribeOn(Schedulers.io())
-                .observeOn(AndroidSchedulers.mainThread())
-                .subscribe(new SheepSubscriber<BaseMessage>(SheepApp.getInstance()) {
-                    @Override
-                    public void onNext(BaseMessage baseMessage) {
-                        find_information_game_bt2.setEnabled(true);
-                        find_information_game_bt2.setText("取消预约");
-                        item.setCancel(false);
-                        G.showToast("预约成功");
-                    }
-
-                    @Override
-                    public void onError(BaseMessage baseMessage) {
-                        G.showToast("预约失败");
-                        find_information_game_bt2.setEnabled(true);
-                    }
-                });
-    }
-
-    //取消预约
-    private void deleteDownloads(final TextView find_information_game_bt2, final MyGame item) {
-        SheepApp.getInstance().getNetComponent().getApiService().deleteDownloads(item.getId())
-                .subscribeOn(Schedulers.io())
-                .observeOn(AndroidSchedulers.mainThread())
-                .subscribe(new SheepSubscriber<BaseMessage>(SheepApp.getInstance()) {
-                    @Override
-                    public void onNext(BaseMessage baseMessage) {
-                        find_information_game_bt2.setEnabled(true);
-                        find_information_game_bt2.setText("立即预约");
-                        item.setCancel(true);
-                        G.showToast("取消预约成功");
-                    }
-
-                    @Override
-                    public void onError(BaseMessage baseMessage) {
-                        G.showToast("取消预约失败");
-                        find_information_game_bt2.setEnabled(true);
-                    }
-                });
-    }
-
-    @Override
-    public void initListener() {
-
-    }
-
-    private List<MyGame> list = ListUtil.emptyList();
-
-    @Override
-    public void initData() {
-        empty_view.setVisibility(View.INVISIBLE);
-        SysAppUtil.checkNet(new AbsObserver<Integer>() {
-            @Override
-            public void onNext(Integer result) {
-                if (result != 0) {//无网络
-                    if (check_net_ll != null)
-                        check_net_ll.setVisibility(View.VISIBLE);
-                } else {
-                    if (check_net_ll != null)
-                        check_net_ll.setVisibility(View.GONE);
-                }
-            }
-        });
-        SheepApp.getInstance().getNetComponent().getApiService().getFindAppReservationList(1, 100)
-                .subscribeOn(Schedulers.io())
-                .observeOn(AndroidSchedulers.mainThread())
-                .subscribe(new SheepSubscriber<BaseMessage>(SheepApp.getInstance()) {
-                    @Override
-                    public void onNext(BaseMessage baseMessage) {
-                        List<MyGame> newList = baseMessage.getDataList(MyGame.class);
-                        list.clear();
-                        ListUtil.addAll(list, newList);
-                        if (!list.isEmpty())
-                            list.add(null);//底部圆角
-                        notifyDataSetChanged();
-                    }
-
-                    @Override
-                    public void onError(BaseMessage baseMessage) {
-                        list.clear();
-                        notifyDataSetChanged();
-                    }
-                });
-    }
-
-
-    private void notifyDataSetChanged() {
-        if (empty_view == null) {
-            return;
-        }
-        CommonUtil.getInstance().updateEmptyView(empty_view, list.isEmpty());
-        refresh.setRefreshing(false);
-        view_list.getAdapter().notifyDataSetChanged();
-    }
-
-    private Map<String, Applications> findAppMap = new HashMap<>();
-
-    //获取任务对应的findApp
-    private Applications getFindAppByKey(String key) {
-        if (findAppMap.containsKey(key))
-            return findAppMap.get(key);
-        return null;
-    }
-
-    private Map<String, TextView> downLoadTextViewMap = new HashMap<>();
-
-    //获取任务对应的TextView来更新进度
-    private TextView getTextViewByTask(DownLoadInfo task) {
-        return getTextViewByKey(task.getMDownloadUrl());
-    }
-
-    private TextView getTextViewByKey(String key) {
-        if (downLoadTextViewMap.containsKey(key))
-            return downLoadTextViewMap.get(key);
-        return null;
-    }
-
-    //下载状态监听
-    void onPre(DownLoadInfo task) {
-        TextView textView = getTextViewByTask(task);
-        if (textView != null) {
-            textView.setText("准备下载中");
-        }
-    }
-
-    void taskStart(DownLoadInfo task) {
-        TextView textView = getTextViewByTask(task);
-        if (textView != null) {
-            textView.setText("开始下载中");
-        }
-    }
-
-    void taskResume(DownLoadInfo task) {
-        TextView textView = getTextViewByTask(task);
-        if (textView != null) {
-            textView.setText("恢复下载中");
-        }
-    }
-
-    //在这里处理任务执行中的状态,如进度进度条的刷新
-    protected void running(DownLoadInfo task) {
-        TextView textView = getTextViewByTask(task);
-        if (textView != null) {
-            textView.setText(String.format(Locale.CHINA, "%d%%(%s)", Math.abs(task.getMPercent()), task.getAverageSpeed()));//添加下载速度
-        }
-    }
-
-    void taskStop(DownLoadInfo task) {
-        TextView textView = getTextViewByTask(task);
-        if (textView != null) {
-            textView.setText(CommonUtil.CONTINUE_DOWNLOAD);
-        }
-    }
-
-    void taskCancel(DownLoadInfo task) {
-        TextView textView = getTextViewByTask(task);
-        if (textView != null) {
-            textView.setText("已经取消");
-        }
-    }
-
-    void taskFail(DownLoadInfo task) {
-        TextView textView = getTextViewByTask(task);
-        if (textView != null) {
-            textView.setText(CommonUtil.FAIL_DOWNLOAD);
-        }
-    }
-
-    void taskComplete(DownLoadInfo task) {
-        TextView textView = getTextViewByTask(task);
-        if (textView != null) {
-            textView.setText(CommonUtil.START_INSTALL);
-        }
-        Applications findApp = getFindAppByKey(task.getMDownloadUrl());
-        if (findApp != null) {
-            findApp.updateState(DownloadUtil.STATUS_FINISH);
-        }
-    }
-
-    @Subscribe
-    public void onEventMainThread(BigEvent event) {
-        if (event.getData() instanceof DownLoadInfo) {
-            DownLoadInfo task = (DownLoadInfo) event.getData();
-            switch (event.getEventTypes()) {
-                case DOWNLOAD_RUNNING:
-                    running(task);
-                    break;
-                case DOWNLOAD_STOP:
-                    taskStop(task);
-                    break;
-                case DOWNLOAD_COMPLETE:
-                    taskComplete(task);
-                    break;
-                case DOWNLOAD_CANCEL:
-                    taskCancel(task);
-                    break;
-                case DOWNLOAD_FAIL:
-                    taskFail(task);
-                    break;
-            }
-        }
-    }
-
-    @Subscribe
-    public void onEventMainThread(Intent intent) {
-        if (intent != null && intent.getAction() != null && intent.getDataString() != null && intent.getDataString().contains("package:")) {
-            String packageName = intent.getDataString().replace("package:", "");
-
-            Applications findApp = getFindAppByKey(packageName);
-            TextView textView = getTextViewByKey(packageName);
-            if (findApp != null) {
-                switch (intent.getAction()) {
-                    case ACTION_PACKAGE_ADDED:
-                        if (textView != null) {
-                            textView.setText(CommonUtil.GAME_OPEN);
-                        }
-                        findApp.updateState(DownloadUtil.STATUS_INSTALLED);
-                        break;
-                    case ACTION_PACKAGE_REMOVED:
-                        String path = PackageUtil.isExistsFile(packageName, findApp.getDownload_url());
-                        if (TextUtils.isEmpty(path)) {
-                            findApp.updateState(DownloadUtil.STATUS_INIT);
-                            if (textView != null) {
-                                textView.setText(CommonUtil.START_DOWNLOAD);
-                            }
-                        } else {
-                            findApp.updateState(DownloadUtil.STATUS_FINISH);
-                            if (textView != null) {
-                                textView.setText(CommonUtil.START_INSTALL);
-                            }
-                        }
-                        break;
-                }
-            }
-        }
-    }
-
-    @Override
-    protected void onDestroy() {
-        super.onDestroy();
-        EventBus.getDefault().unregister(this);
-    }
-}

+ 1 - 4
app/src/main/java/com/sheep/gamegroup/view/fragment/FgtPersonalCenter.java

@@ -448,7 +448,7 @@ public class FgtPersonalCenter extends BaseFragment {
 
     @OnClick({R.id.icon_img_iv, R.id.account_detail_layout, R.id.personalcenter_price_layout,
             R.id.account_task_layout, R.id.proxy_service_layout, R.id.feedbook_layout,
-            R.id.recommend_friend_layout, R.id.faq_layout, R.id.reservation_layout,
+            R.id.recommend_friend_layout, R.id.faq_layout,
             R.id.version_layout, R.id.order_layout, R.id.proxy_game_account_layout,
             R.id.audit_activity_cl, R.id.audit_success_cl, R.id.audit_failed_cl,
             R.id.iv_redpackage, R.id.fgt_person_center_my_focus, R.id.fgt_pc_item_vip_ll,
@@ -518,9 +518,6 @@ public class FgtPersonalCenter extends BaseFragment {
                 });
                 USER_FAQ.onEvent();
                 break;
-            case R.id.reservation_layout://游戏预约
-                Jump2View.getInstance().goActReservation(activity);
-                break;
             case R.id.feedbook_layout://意见反馈
                 Jump2View.getInstance().goFeedbackAct(activity);
                 break;

+ 0 - 17
app/src/main/res/layout/fgt_personalcenter_item_center_two.xml

@@ -7,23 +7,6 @@
     android:background="@color/white"
     android:orientation="vertical">
 
-    <LinearLayout
-        android:id="@+id/reservation_layout"
-        style="@style/style_item_container"
-        android:visibility="gone">
-
-        <ImageView
-            style="@style/style_item_img"
-            android:src="@mipmap/personalc_ic_reservation" />
-
-        <TextView
-            style="@style/style_item_label"
-            android:text="游戏预约" />
-
-        <TextView style="@style/style_item_end_next" />
-
-    </LinearLayout>
-
     <View style="@style/style_item_line_new"
         android:visibility="gone"/>
 

+ 0 - 58
app/src/main/res/layout/find_reservation_item.xml

@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
-    xmlns:app="http://schemas.android.com/apk/res-auto"
-    android:layout_width="match_parent"
-    android:layout_height="wrap_content">
-
-    <ImageView
-        android:id="@+id/find_information_game_icon"
-        android:layout_width="80dp"
-        android:layout_height="80dp"
-        android:src="@mipmap/icon"/>
-
-    <TextView
-        android:id="@+id/find_information_game_name"
-        android:layout_width="0dp"
-        android:layout_height="wrap_content"
-        android:layout_marginStart="5dp"
-        android:maxLines="2"
-        android:lines="2"
-        android:text="小绵羊小绵羊小绵羊小绵羊小小绵羊小绵羊小绵羊小绵羊小小绵羊小绵羊小绵羊小绵羊小小绵羊小绵羊小绵羊小绵羊小"
-        android:textColor="#020202"
-        android:textSize="15sp"
-        app:layout_constraintBottom_toTopOf="@+id/find_information_game_time"
-        app:layout_constraintEnd_toStartOf="@+id/find_information_game_bt2"
-        app:layout_constraintStart_toEndOf="@+id/find_information_game_icon"
-        app:layout_constraintTop_toTopOf="@+id/find_information_game_icon" />
-
-    <TextView
-        android:id="@+id/find_information_game_time"
-        android:layout_width="wrap_content"
-        android:layout_height="wrap_content"
-        android:text="小绵羊小绵羊小绵羊小绵羊小小绵羊小绵羊小绵羊小绵羊小小绵羊小绵羊小绵羊小绵羊小小绵羊小绵羊小绵羊小绵羊小"
-        android:lineSpacingExtra="@dimen/content_padding_5"
-        android:textColor="#989898"
-        android:textSize="13sp"
-        app:layout_constraintBottom_toBottomOf="@+id/find_information_game_icon"
-        app:layout_constraintStart_toStartOf="@+id/find_information_game_name"
-        app:layout_constraintTop_toBottomOf="@+id/find_information_game_name" />
-
-
-    <TextView
-        android:id="@+id/find_information_game_bt1"
-        style="@style/style_button_find"
-        android:text="立即下载"
-        app:layout_constraintBottom_toTopOf="@+id/find_information_game_bt2"
-        app:layout_constraintEnd_toEndOf="@+id/find_information_game_bt2"
-        app:layout_constraintStart_toStartOf="@+id/find_information_game_bt2"
-        app:layout_constraintTop_toTopOf="@+id/find_information_game_icon"/>
-    <TextView
-        android:id="@+id/find_information_game_bt2"
-        style="@style/style_button_find2"
-        android:text="立即预约"
-        app:layout_constraintBottom_toBottomOf="@+id/find_information_game_icon"
-        app:layout_constraintEnd_toEndOf="parent"
-        app:layout_constraintStart_toEndOf="@+id/find_information_game_name"
-        app:layout_constraintTop_toBottomOf="@+id/find_information_game_bt1" />
-
-</android.support.constraint.ConstraintLayout>

+ 0 - 14
app/src/main/res/layout/find_reservation_item_bottom.xml

@@ -1,14 +0,0 @@
-<?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="wrap_content"
-    android:orientation="vertical">
-    <include
-        android:id="@+id/find_reservation_item_center"
-        layout="@layout/find_reservation_item_center"/>
-    <View
-        android:id="@+id/find_reservation_item_bottom"
-        android:layout_width="match_parent"
-        android:layout_height="@dimen/content_padding"
-        android:background="@drawable/shape_white_solid_rectangle_small_bottom"/>
-</LinearLayout>

+ 0 - 19
app/src/main/res/layout/find_reservation_item_center.xml

@@ -1,19 +0,0 @@
-<?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="wrap_content"
-    android:paddingStart="@dimen/content_padding"
-    android:paddingEnd="@dimen/content_padding"
-    android:background="@color/white"
-    android:orientation="vertical">
-
-    <View
-        android:layout_width="match_parent"
-        android:layout_height="1dp"
-        android:layout_marginTop="@dimen/content_padding"
-        android:layout_marginBottom="@dimen/content_padding"
-        android:background="#F2F2F2" />
-
-    <include layout="@layout/find_reservation_item" />
-
-</LinearLayout>

+ 0 - 22
app/src/main/res/layout/find_reservation_item_top.xml

@@ -1,22 +0,0 @@
-<?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="wrap_content"
-    android:paddingTop="@dimen/content_padding"
-    android:paddingStart="@dimen/content_padding"
-    android:paddingEnd="@dimen/content_padding"
-    android:background="@drawable/shape_white_solid_rectangle_small_top"
-    android:orientation="vertical">
-
-    <TextView
-        android:layout_width="wrap_content"
-        android:layout_height="wrap_content"
-        android:layout_marginStart="@dimen/content_padding"
-        android:layout_marginBottom="@dimen/content_padding"
-        android:text="推荐"
-        android:textColor="@color/black"
-        android:textSize="15sp" />
-
-    <include layout="@layout/find_reservation_item" />
-
-</LinearLayout>

BIN
app/src/main/res/mipmap-xhdpi/personalc_ic_reservation.webp