Bug 722050 - Fix about:home checker-boarding (r=mfinkle)

This commit is contained in:
Lucas Rocha 2012-01-30 17:14:05 +00:00
parent 7b690affad
commit beac4ef513
2 changed files with 4 additions and 3 deletions

View File

@ -125,6 +125,9 @@ public class AboutHomeContent extends ScrollView {
mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
mInflater.inflate(R.layout.abouthome_content, this);
setScrollContainer(true);
setBackgroundResource(R.drawable.abouthome_bg_repeat);
mTopSitesGrid = (GridView)findViewById(R.id.top_sites_grid);
mTopSitesGrid.setOnItemClickListener(new AdapterView.OnItemClickListener() {
public void onItemClick(AdapterView<?> parent, View v, int position, long id) {

View File

@ -1,7 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
android:isScrollContainer="false"
android:background="@drawable/abouthome_bg_repeat">
<merge xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:layout_width="fill_parent"
android:orientation="vertical"