Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
diff --git a/res/layout/downloader.xml b/res/layout/downloader.xml
index 264a15f..968c5f2 100644
--- a/res/layout/downloader.xml
+++ b/res/layout/downloader.xml
@@ -16,12 +16,12 @@
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView android:id="@+id/customText"
android:layout_width="0dip"
@@ -31,7 +31,7 @@
android:textAppearance="?android:attr/textAppearanceLarge" />
</LinearLayout>
<LinearLayout
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView android:text="@string/download_activity_progress"
android:layout_width="0dip"
@@ -49,7 +49,7 @@
</LinearLayout>
<LinearLayout
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView android:text="@string/download_activity_time_remaining"
android:layout_width="0dip"
diff --git a/res/layout/downloader_title.xml b/res/layout/downloader_title.xml
index 1acdbed..eae5d33 100644
--- a/res/layout/downloader_title.xml
+++ b/res/layout/downloader_title.xml
@@ -18,14 +18,14 @@
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/screen"
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:layout_height="?android:attr/windowTitleSize"
android:orientation="horizontal">
<TextView android:id="@+id/title_text"
android:gravity="center_vertical"
android:layout_width="0dip"
- android:layout_height="fill_parent"
+ android:layout_height="match_parent"
android:paddingLeft="5dip"
style="?android:attr/windowTitleStyle"
android:singleLine="true"
@@ -35,13 +35,13 @@
<LinearLayout android:id="@+id/loading_indicator"
android:orientation="horizontal"
android:gravity="center_vertical"
- android:layout_height="fill_parent"
+ android:layout_height="match_parent"
android:layout_width="wrap_content">
<TextView android:text="@string/download_activity_title"
android:gravity="center_vertical"
android:layout_width="wrap_content"
- android:layout_height="fill_parent"
+ android:layout_height="match_parent"
android:paddingRight="5dip"
style="?android:attr/windowTitleStyle" />