Skip to content

Commit

Permalink
Removie redundant backgound style in home page. and fix a potential bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheng-Xuan committed Mar 22, 2017
1 parent 2797332 commit cda9558
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
package org.example.team_pigeon.movie_pigeon;

import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.Display;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
Expand All @@ -25,7 +23,6 @@
import org.example.team_pigeon.movie_pigeon.models.MovieWithCount;

import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;

import okhttp3.OkHttpClient;
Expand Down Expand Up @@ -57,6 +54,7 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container,
searchView = (SearchView) view.findViewById(R.id.search_view);
nowShowingGrid = (GridView) view.findViewById(R.id.grid_now_showing);
recommendedGrid = (GridView) view.findViewById(R.id.grid_recommended);
nowShowingMovieList = new ArrayList<>();
nowShowingTask = new Task();
nowShowingTask.execute("nowshowing");
searchView.setSubmitButtonEnabled(true);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_selected="true">
<shape>
<solid android:color="@color/text_selected" />
</shape>
</item>
<item>
<shape>
<solid android:color="@color/transparent" />
Expand Down

0 comments on commit cda9558

Please sign in to comment.