зеркало из https://github.com/mozilla/gecko-dev.git
Bug 778862 - Change match_parent tags to fill_parent. r=sriram
This commit is contained in:
Родитель
cd47967cb4
Коммит
0f58ba8dce
|
@ -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" >
|
||||||
|
|
Загрузка…
Ссылка в новой задаче