OSDN Git Service

Deprecate fill_parent and introduce match_parent.
authorRomain Guy <romainguy@android.com>
Fri, 8 Jan 2010 23:06:28 +0000 (15:06 -0800)
committerRomain Guy <romainguy@android.com>
Fri, 8 Jan 2010 23:11:38 +0000 (15:11 -0800)
Bug: #2361749.

opengl/tests/gldual/res/layout/gldual_activity.xml

index f2d59c7..d75acbc 100644 (file)
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/text"
 
     android:orientation="vertical"
-    android:layout_width="fill_parent"
-    android:layout_height="fill_parent">
+    android:layout_width="match_parent"
+    android:layout_height="match_parent">
   <android.opengl.GLSurfaceView android:id="@+id/gl1"
-       android:layout_width="fill_parent"
+       android:layout_width="match_parent"
            android:layout_height="0dip"
            android:layout_weight="1" />
   <com.android.gldual.GLDualGL2View android:id="@+id/gl2"
-       android:layout_width="fill_parent"
+       android:layout_width="match_parent"
             android:layout_height="0dip"
             android:layout_weight="1" />
 </LinearLayout>