<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:camera="http://schemas.android.com/apk/res/com.android.camera"
android:id="@+id/control_bar"
- android:layout_height="fill_parent"
+ android:layout_height="match_parent"
android:layout_width="76dp"
android:layout_marginTop="13dp"
android:layout_marginBottom="10dp"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_height="wrap_content"
- android:layout_width="fill_parent">
+ android:layout_width="match_parent">
<LinearLayout style="@style/ReviewControlGroup"
android:layout_marginBottom="15dp">
<ImageView style="@style/ReviewControlIcon"
android:background="@drawable/camera_background"
android:id="@+id/camera"
android:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
<com.android.camera.PreviewFrameLayout android:id="@+id/frame_layout"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:layout_weight="1">
<ImageView android:id="@+id/btn_gripper"
android:background="@drawable/btn_gripper"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<FrameLayout android:id="@+id/frame"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:background="@drawable/border_view_finder">
<SurfaceView android:id="@+id/camera_preview"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"/>
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"/>
<com.android.camera.FocusRectangle
android:id="@+id/focus_rectangle"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"/>
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"/>
<LinearLayout android:id="@+id/indicator_bar"
android:orientation="vertical"
android:visibility="visible"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/control_bar"
android:orientation="vertical"
- android:layout_height="fill_parent"
+ android:layout_height="match_parent"
android:layout_width="76dp"
android:layout_marginTop="13dp"
android:layout_marginBottom="10dp"
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/scroll_view"
android:orientation="vertical"
android:layout_width="300dip"
- android:layout_height="fill_parent">
+ android:layout_height="match_parent">
<LinearLayout android:orientation="vertical"
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="5dip"
android:paddingRight="5dip"
<LinearLayout android:orientation="horizontal"
android:gravity="center_vertical"
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout android:orientation="horizontal"
android:layout_weight="1"/>
</LinearLayout>
- <TableLayout android:layout_width="fill_parent"
+ <TableLayout android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="5dip"
android:layout_marginTop="10dip">
android:text="@string/details_image_resolution"/>
<TextView android:id="@+id/details_resolution_value"
android:layout_height="wrap_content"
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:textAppearance="?android:attr/textAppearanceSmall"
android:paddingLeft="5dip"
android:textColor="?android:attr/textColorPrimary"/>
android:text="@string/details_image_make"/>
<TextView android:id="@+id/details_make_value"
android:layout_height="wrap_content"
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:textAppearance="?android:attr/textAppearanceSmall"
android:paddingLeft="5dip"
android:textColor="?android:attr/textColorPrimary"/>
android:text="@string/details_image_model"/>
<TextView android:id="@+id/details_model_value"
android:layout_height="wrap_content"
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:textAppearance="?android:attr/textAppearanceSmall"
android:paddingLeft="5dip"
android:textColor="?android:attr/textColorPrimary"/>
android:text="@string/details_image_whitebalance"/>
<TextView android:id="@+id/details_whitebalance_value"
android:layout_height="wrap_content"
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:textAppearance="?android:attr/textAppearanceSmall"
android:paddingLeft="5dip"
android:textColor="?android:attr/textColorPrimary"/>
android:text="@string/details_image_latitude"/>
<TextView android:id="@+id/details_latitude_value"
android:layout_height="wrap_content"
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:textAppearance="?android:attr/textAppearanceSmall"
android:paddingLeft="5dip"
android:textColor="?android:attr/textColorPrimary"/>
android:text="@string/details_image_longitude"/>
<TextView android:id="@+id/details_longitude_value"
android:layout_height="wrap_content"
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:textAppearance="?android:attr/textAppearanceSmall"
android:paddingLeft="5dip"
android:textColor="?android:attr/textColorPrimary"/>
android:text="@string/details_image_location"/>
<TextView android:id="@+id/details_location_value"
android:layout_height="wrap_content"
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:textAppearance="?android:attr/textAppearanceSmall"
android:paddingLeft="5dip"
android:textColor="?android:attr/textColorPrimary"/>
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:orientation="vertical"
android:background="@drawable/on_screen_hint_frame">
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main_panel"
android:background="@drawable/camera_background"
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:layout_height="wrap_content">
- <FrameLayout android:layout_width="fill_parent"
+ <FrameLayout android:layout_width="match_parent"
android:background="@android:color/black"
- android:layout_height="fill_parent"
+ android:layout_height="match_parent"
android:layout_toLeftOf="@+id/btn_gripper">
<ListView android:id="@+id/menu_view"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent" />
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
<ListView android:id="@+id/sub_menu"
android:visibility="invisible"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent" />
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
</FrameLayout>
<ImageView android:id="@+id/btn_gripper"
- android:layout_height="fill_parent"
+ android:layout_height="match_parent"
android:layout_width="wrap_content"
android:background="@drawable/gripper_handle"
android:layout_alignParentRight="true"/>
android:background="#222"
android:paddingLeft="5dp"
android:paddingRight="5dp"
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:singleLine="true" />
limitations under the License.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:paddingLeft="10dp"
android:paddingRight="5dp" >
<TextView android:id="@+id/title"
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLines="2"
android:ellipsize="end"
android:fadingEdge="horizontal" />
<TextView android:id="@+id/summary"
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/title"
android:layout_alignLeft="@id/title"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:paddingLeft="10dp"
android:paddingRight="5dp"
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center_vertical" >
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0" />
- <RelativeLayout android:layout_width="fill_parent"
+ <RelativeLayout android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:fadingEdge="horizontal" />
<TextView android:id="@+id/summary"
android:visibility='gone'
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/title"
android:layout_alignLeft="@id/title"
xmlns:camera="http://schemas.android.com/apk/res/com.android.camera"
android:id="@+id/button_bar"
android:gravity="center_horizontal"
- android:layout_height="fill_parent"
+ android:layout_height="match_parent"
android:layout_width="76dp"
android:layout_marginTop="13dp"
android:layout_marginBottom="10dp"
<com.android.camera.EvenlySpacedLayout
camera:orientation="vertical"
camera:keepEndSpace="false"
- android:layout_height="fill_parent"
- android:layout_width="fill_parent">
+ android:layout_height="match_parent"
+ android:layout_width="match_parent">
<LinearLayout style="@style/ReviewControlGroup">
<ImageView style="@style/ReviewControlIcon"
android:id="@+id/btn_delete"
android:background="@drawable/camera_background"
android:id="@+id/root"
android:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
<com.android.camera.PreviewFrameLayout android:id="@+id/frame_layout"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:layout_weight="1">
<FrameLayout android:id="@+id/frame"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:background="@drawable/border_view_finder">
<RelativeLayout android:id="@+id/mainPanel"
android:layout_toLeftOf="@id/button_bar"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
<AbsoluteLayout android:id="@+id/slideShowContainer"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
<com.android.camera.ImageViewTouch2 android:id="@+id/image1_slideShow"
android:background="#00000000"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent" />
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
<com.android.camera.ImageViewTouch2 android:id="@+id/image2_slideShow"
android:background="#00000000"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent" />
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
</AbsoluteLayout>
<AbsoluteLayout android:id="@+id/abs"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
<com.android.camera.ImageViewTouch2 android:id="@+id/image"
android:background="#FF000000"
android:focusableInTouchMode="true"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent" />
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
</AbsoluteLayout>
<ImageView android:id="@+id/prev_image"
android:clickable="true"
android:id="@+id/video_camera"
android:background="@drawable/camera_background"
android:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
<com.android.camera.PreviewFrameLayout android:id="@+id/frame_layout"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:layout_weight="1">
<ImageView android:id="@+id/btn_gripper"
android:background="@drawable/btn_gripper"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<FrameLayout android:id="@+id/frame"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:background="@drawable/border_view_finder">
<SurfaceView android:id="@+id/camera_preview"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"/>
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"/>
<ImageView android:id="@+id/video_frame"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:visibility="gone" />
<!-- Note: In this TextView the paddingRight="2"
attribute is required because otherwise the
<item name="android:gravity">center</item>
<item name="android:ellipsize">end</item>
<item name="android:maxLines">2</item>
- <item name="android:layout_width">fill_parent</item>
+ <item name="android:layout_width">match_parent</item>
<item name="android:layout_height">wrap_content</item>
</style>
<style name="ReviewControlIcon">
<item name="android:orientation">vertical</item>
<item name="android:gravity">top|center_horizontal</item>
<item name="android:layout_height">wrap_content</item>
- <item name="android:layout_width">fill_parent</item>
+ <item name="android:layout_width">match_parent</item>
</style>
<style name="NoEnterExitAnimation">
<item name="android:windowEnterAnimation">@null</item>