Bug 778862 - Change match_parent tags to fill_parent. r=sriram

This commit is contained in:
Michael Comella 2012-07-31 18:26:29 -04:00
Родитель cd47967cb4
Коммит 0f58ba8dce
3 изменённых файлов: 10 добавлений и 10 удалений

Просмотреть файл

@ -1382,8 +1382,8 @@ abstract public class GeckoApp
mFullScreenPluginContainer = new FullScreenHolder(this); mFullScreenPluginContainer = new FullScreenHolder(this);
FrameLayout.LayoutParams layoutParams = new FrameLayout.LayoutParams( FrameLayout.LayoutParams layoutParams = new FrameLayout.LayoutParams(
ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.FILL_PARENT,
ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.FILL_PARENT,
Gravity.CENTER); Gravity.CENTER);
mFullScreenPluginContainer.addView(view, layoutParams); mFullScreenPluginContainer.addView(view, layoutParams);

Просмотреть файл

@ -4,12 +4,12 @@
- You can obtain one at http://mozilla.org/MPL/2.0/. --> - You can obtain one at http://mozilla.org/MPL/2.0/. -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="fill_parent"
android:layout_height="match_parent" android:layout_height="fill_parent"
android:orientation="vertical"> android:orientation="vertical">
<TextView android:id="@+id/preview" <TextView android:id="@+id/preview"
android:layout_width="match_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:background="#ffffffff" android:background="#ffffffff"
@ -23,20 +23,20 @@
android:fadeScrollbars="true"/> android:fadeScrollbars="true"/>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="horizontal"> android:orientation="horizontal">
<Button android:id="@+id/decrease_preview_font_button" <Button android:id="@+id/decrease_preview_font_button"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="fill_parent"
android:layout_weight="1" android:layout_weight="1"
android:text="@string/pref_font_size_adjust_char" android:text="@string/pref_font_size_adjust_char"
android:textSize="8sp"/> android:textSize="8sp"/>
<Button android:id="@+id/increase_preview_font_button" <Button android:id="@+id/increase_preview_font_button"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="fill_parent"
android:layout_weight="1" android:layout_weight="1"
android:text="@string/pref_font_size_adjust_char" android:text="@string/pref_font_size_adjust_char"
android:textSize="16sp"/> android:textSize="16sp"/>

Просмотреть файл

@ -8,7 +8,7 @@
<ListView <ListView
android:id="@+id/device_list" android:id="@+id/device_list"
android:layout_width="match_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/sendtab_top" android:layout_below="@id/sendtab_top"
android:layout_above="@+id/sendtab_bottom" > android:layout_above="@+id/sendtab_bottom" >