Bug 721354 - Move view attributes to layout file (r=blassey)

This commit is contained in:
Lucas Rocha 2012-01-27 10:08:21 +00:00
parent cbbefe4b27
commit 8b2c58e10a
2 changed files with 3 additions and 3 deletions

View File

@ -113,8 +113,6 @@ public class AboutHomeContent extends ScrollView {
public AboutHomeContent(Context context) {
super(context);
setScrollContainer(true);
setBackgroundResource(R.drawable.abouthome_bg_repeat);
mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
}

View File

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