Deprecate fill_parent and introduce match_parent.

Bug: #2361749.
main
Romain Guy 2010-01-08 15:07:13 -08:00
parent 49fc4265c3
commit 6e4ffc14d4
2 changed files with 8 additions and 8 deletions

View File

@ -21,7 +21,7 @@
<com.android.inputmethod.latin.CandidateViewContainer <com.android.inputmethod.latin.CandidateViewContainer
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal" android:orientation="horizontal"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@drawable/keyboard_suggest_strip" android:background="@drawable/keyboard_suggest_strip"
> >
@ -29,21 +29,21 @@
<LinearLayout <LinearLayout
android:id="@+id/candidate_left_parent" android:id="@+id/candidate_left_parent"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:orientation="horizontal"> android:orientation="horizontal">
<ImageButton <ImageButton
android:id="@+id/candidate_left" android:id="@+id/candidate_left"
android:background="@drawable/ic_suggest_scroll_background" android:background="@drawable/ic_suggest_scroll_background"
android:src="@drawable/ic_suggest_strip_scroll_left_arrow" android:src="@drawable/ic_suggest_strip_scroll_left_arrow"
android:layout_width="36dp" android:layout_width="36dp"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:clickable="true" android:clickable="true"
/> />
<ImageView <ImageView
android:src="@drawable/keyboard_suggest_strip_divider" android:src="@drawable/keyboard_suggest_strip_divider"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="fill_parent" android:layout_height="match_parent"
/> />
</LinearLayout> </LinearLayout>
@ -57,13 +57,13 @@
<LinearLayout <LinearLayout
android:id="@+id/candidate_right_parent" android:id="@+id/candidate_right_parent"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:clickable="true" android:clickable="true"
android:orientation="horizontal"> android:orientation="horizontal">
<ImageView <ImageView
android:src="@drawable/keyboard_suggest_strip_divider" android:src="@drawable/keyboard_suggest_strip_divider"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="fill_parent" android:layout_height="match_parent"
/> />
<ImageButton <ImageButton
@ -71,7 +71,7 @@
android:background="@drawable/ic_suggest_scroll_background" android:background="@drawable/ic_suggest_scroll_background"
android:src="@drawable/ic_suggest_strip_scroll_right_arrow" android:src="@drawable/ic_suggest_strip_scroll_right_arrow"
android:layout_width="36dp" android:layout_width="36dp"
android:layout_height="fill_parent" android:layout_height="match_parent"
android:clickable="true" android:clickable="true"
/> />
</LinearLayout> </LinearLayout>

View File

@ -22,7 +22,7 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/keyboardView" android:id="@android:id/keyboardView"
android:layout_alignParentBottom="true" android:layout_alignParentBottom="true"
android:layout_width="fill_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@drawable/keyboard_background" android:background="@drawable/keyboard_background"
android:keyBackground="@drawable/btn_keyboard_key" android:keyBackground="@drawable/btn_keyboard_key"