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);
FrameLayout.LayoutParams layoutParams = new FrameLayout.LayoutParams(
ViewGroup.LayoutParams.MATCH_PARENT,
ViewGroup.LayoutParams.MATCH_PARENT,
ViewGroup.LayoutParams.FILL_PARENT,
ViewGroup.LayoutParams.FILL_PARENT,
Gravity.CENTER);
mFullScreenPluginContainer.addView(view, layoutParams);

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

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

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

@ -8,7 +8,7 @@
<ListView
android:id="@+id/device_list"
android:layout_width="match_parent"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/sendtab_top"
android:layout_above="@+id/sendtab_bottom" >
@ -25,4 +25,4 @@
android:enabled="false"
android:text="@string/sync_button_send" />
</LinearLayout>
</RelativeLayout>
</RelativeLayout>