OSDN Git Service

Deprecate fill_parent and introduce match_parent.
[android-x86/packages-apps-Music.git] / res / layout / music_picker.xml
index f9df172..0f97fcf 100644 (file)
 
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
         android:orientation="vertical"
-        android:layout_width="fill_parent" 
-        android:layout_height="fill_parent">
+        android:layout_width="match_parent" 
+        android:layout_height="match_parent">
     
     <FrameLayout
-            android:layout_width="fill_parent"
+            android:layout_width="match_parent"
             android:layout_height="0dip"
             android:layout_weight="1">
         
         <LinearLayout android:id="@+id/progressContainer"
                 android:orientation="vertical"
-                android:layout_width="fill_parent" 
-                android:layout_height="fill_parent"
+                android:layout_width="match_parent" 
+                android:layout_height="match_parent"
                 android:gravity="center">
             
             <ProgressBar android:id="@+android:id/progress"
         </LinearLayout>
             
         <FrameLayout android:id="@+id/listContainer"
-                android:layout_width="fill_parent" 
-                android:layout_height="fill_parent">
+                android:layout_width="match_parent" 
+                android:layout_height="match_parent">
                 
             <ListView android:id="@android:id/list"
-                    android:layout_width="fill_parent" 
-                    android:layout_height="fill_parent"
+                    android:layout_width="match_parent" 
+                    android:layout_height="match_parent"
                     android:drawSelectorOnTop="false"
                     android:fastScrollEnabled="true" />
             <TextView android:id="@android:id/empty"
-                    android:layout_width="fill_parent"
-                    android:layout_height="fill_parent"
+                    android:layout_width="match_parent"
+                    android:layout_height="match_parent"
                     android:gravity="center"
                     android:text="@string/no_tracks_title"
                     android:textAppearance="?android:attr/textAppearanceLarge" />
@@ -64,7 +64,7 @@
     </FrameLayout>
     
     <RelativeLayout
-            android:layout_width="fill_parent"
+            android:layout_width="match_parent"
             android:layout_height="?android:attr/listPreferredItemHeight"
             android:layout_marginTop="1dip"
             android:background="@android:drawable/bottom_bar">