Bug 1170884 - Use 0dp for layout_w/h for perf reasons. r=mhaigh

This falls under the InefficientWeight rule.

Changes completed via Android Studio quick-fix.

--HG--
extra : commitid : 4c64Y9Q3mS3
extra : rebase_source : b888629fed9da8f7bc95e58766d395d40b2d7926
This commit is contained in:
Michael Comella 2015-06-16 20:37:17 -07:00
parent 78cc9bab41
commit 97320bbf73
9 changed files with 9 additions and 9 deletions

View File

@ -24,7 +24,7 @@
</LinearLayout>
<RelativeLayout
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginBottom="6dip"
android:layout_marginLeft="15dip"

View File

@ -24,7 +24,7 @@
tools:src="@drawable/sync_mobile"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical">

View File

@ -20,7 +20,7 @@
<TextView android:id="@+id/notification_title"
android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent.Title"
android:layout_width="match_parent"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:singleLine="true"

View File

@ -21,7 +21,7 @@
<TextView android:id="@+id/notification_title"
android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent.Title"
android:layout_width="match_parent"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:singleLine="true"

View File

@ -20,7 +20,7 @@
<TextView android:id="@+id/notification_title"
android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent.Title"
android:layout_width="match_parent"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:singleLine="true"

View File

@ -13,7 +13,7 @@
android:paddingRight="?android:attr/scrollbarSize">
<RelativeLayout
android:layout_width="match_parent"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:gravity="right"
android:layout_marginLeft="15dip"

View File

@ -11,7 +11,7 @@
<TextView android:id="@+id/label_search_hint"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:text="@string/pref_search_hint"
android:layout_marginTop="5dip"
android:layout_marginBottom="6dip"

View File

@ -13,7 +13,7 @@
<TextView
android:id="@+id/auto_complete_row_text"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="@dimen/query_text_size"/>

View File

@ -19,7 +19,7 @@
android:src="@drawable/larry"
android:paddingRight="@dimen/doorhanger_padding"/>
<LinearLayout android:layout_width="match_parent"
<LinearLayout android:layout_width="0dp"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_weight="1.0">