From 28aab271e57a4966496b5d2ef2b067e8ace34679 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Wed, 11 Jun 2014 10:24:19 -0700 Subject: Use Framelayout instead of RelativeLayout in DialtactsActivity Switch to FrameLayout instead of RelativeLayout since we don't need the more complicated and expensive layout abilities of RelativeLayout. This improves startup time (on hammerhead-eng, interpreted ART mode) to about 1150ms on average from 1300ms originally. Change-Id: I94400dcc58cc74497c71a7432a06a4dffe3b078d --- res/layout/dialtacts_activity.xml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'res') diff --git a/res/layout/dialtacts_activity.xml b/res/layout/dialtacts_activity.xml index 71e58cb48..5727d8a00 100644 --- a/res/layout/dialtacts_activity.xml +++ b/res/layout/dialtacts_activity.xml @@ -13,7 +13,7 @@ See the License for the specific language governing permissions and limitations under the License. --> - - - + + android:layout_gravity="center_horizontal|bottom" > - + -- cgit v1.2.3