Home | History | Annotate | Download | only in layout-land
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2009 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 
     17 <LinearLayout
     18   xmlns:android="http://schemas.android.com/apk/res/android"
     19   android:layout_width="match_parent"
     20   android:layout_height="match_parent"
     21   android:orientation="horizontal"
     22   android:background="@drawable/background">
     23 
     24   <LinearLayout
     25     android:layout_weight="1"
     26     android:orientation="vertical"
     27     android:layout_width="match_parent"
     28     android:layout_height="match_parent">
     29 
     30     <!-- Notice that widget sizes are expressed in dip, or device-independent
     31          pixels, while text sizes are expressed in sp, or scale-independent
     32          pixels, to factor in user-chosen font sizes. -->
     33     <FrameLayout
     34       android:background="@drawable/image_container"
     35       android:layout_width="match_parent"
     36       android:layout_height="match_parent"
     37       android:id="@+id/image_container">
     38       <ImageView
     39         android:layout_width="match_parent"
     40         android:layout_height="match_parent"
     41         android:id="@+id/image_view"
     42         android:scaleType="fitCenter"/>
     43       <TextView
     44         android:layout_width="wrap_content"
     45         android:layout_height="wrap_content"
     46         android:layout_gravity="bottom|center_horizontal"
     47         android:id="@+id/status_text"
     48         android:textColor="@android:color/primary_text_dark"
     49         android:textSize="16sp"
     50         android:shadowDx="1.0"
     51         android:shadowDy="1.0"
     52         android:shadowRadius="1"
     53         android:layout_margin="5dip"
     54         android:shadowColor="@android:color/background_dark"/>
     55     </FrameLayout>
     56   </LinearLayout>
     57 
     58   <LinearLayout
     59     android:layout_width="wrap_content"
     60     android:layout_height="match_parent"
     61     android:orientation="vertical"
     62     android:layout_marginLeft="10dip"
     63     android:gravity="top">
     64     <Button
     65       android:text="@string/next_button"
     66       android:id="@+id/next_button"
     67       android:layout_width="wrap_content"
     68       android:layout_height="wrap_content"
     69       android:drawableLeft="@drawable/android"
     70       android:textSize="24sp"/>
     71   </LinearLayout>
     72 
     73 </LinearLayout>
     74