summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Guy <romainguy@android.com>2010-01-08 15:07:15 -0800
committerRomain Guy <romainguy@android.com>2010-01-08 15:07:15 -0800
commit6ac94e9eb27717b1e282298172ebabb524de7058 (patch)
treee040480b6f414874813b1bcbb4653c7003f8fef4
parent035056c6320b8bb8f8d06cf75730353922ec8e81 (diff)
downloadPinyinIME-6ac94e9eb27717b1e282298172ebabb524de7058.tar.gz
Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
-rw-r--r--res/layout/candidates_container.xml16
1 files changed, 8 insertions, 8 deletions
diff --git a/res/layout/candidates_container.xml b/res/layout/candidates_container.xml
index eda7e28..3a0c71b 100644
--- a/res/layout/candidates_container.xml
+++ b/res/layout/candidates_container.xml
@@ -23,7 +23,7 @@
<ImageButton android:id="@+id/arrow_left_btn"
android:background="@drawable/arrow_bg"
android:src="@drawable/arrow_left"
- android:layout_height="fill_parent"
+ android:layout_height="match_parent"
android:layout_width="30dip"
android:clickable="true"
android:layout_alignParentLeft="true"/>
@@ -32,22 +32,22 @@
android:background="@drawable/arrow_bg"
android:src="@drawable/arrow_right"
android:layout_width="30dip"
- android:layout_height="fill_parent"
+ android:layout_height="match_parent"
android:clickable="true"
android:layout_alignParentRight="true"/>
<ViewFlipper android:id="@+id/candidate_flipper"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:layout_toLeftOf="@id/arrow_right_btn"
android:layout_toRightOf="@id/arrow_left_btn">
<view class="com.android.inputmethod.pinyin.CandidateView"
android:id="@+id/candidate_view1"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent" />
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
<view class="com.android.inputmethod.pinyin.CandidateView"
android:id="@+id/candidate_view2"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent" />
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
</ViewFlipper>
</com.android.inputmethod.pinyin.CandidatesContainer>