Permalink
Browse files

Android Lint-suggested changes.

  • Loading branch information...
1 parent fe6b0bf commit 6fe8fd3a462a3d4d04281c241341e671aca678b5 @lvillani committed Mar 22, 2012
Showing with 30 additions and 35 deletions.
  1. +30 −35 res/layout/cropimage.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2007 The Android Open Source Project
+<!--
+ Copyright (C) 2007 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -13,45 +14,39 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
-
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
<RelativeLayout
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="horizontal">
+ <view
+ android:id="@+id/image"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:orientation="horizontal">
-
- <view class="com.android.camera.CropImageView" android:id="@+id/image"
- android:background="#55000000"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_x="0dip"
- android:layout_y="0dip"
- />
- <RelativeLayout android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:paddingLeft="10dip"
- android:paddingRight="10dip"
- android:layout_alignParentBottom="true"
- android:layout_centerHorizontal="true">
+ class="com.android.camera.CropImageView"
+ android:background="#55000000"/>
+ <RelativeLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:layout_centerHorizontal="true"
+ android:orientation="horizontal"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip">
<Button
- android:id="@+id/save"
- android:layout_width="100dip"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:text="@string/crop_save_text"
- />
+ android:id="@+id/save"
+ android:layout_width="100dip"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:text="@string/crop_save_text"/>
<Button
- android:id="@+id/discard"
- android:layout_width="100dip"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:text="@string/crop_discard_text"
- />
+ android:id="@+id/discard"
+ android:layout_width="100dip"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:text="@string/crop_discard_text"/>
</RelativeLayout>
</RelativeLayout>
-
-</FrameLayout>
+</FrameLayout>

0 comments on commit 6fe8fd3

Please sign in to comment.