project_files/Android-build/SDL-android-project/res/layout/download_info.xml
author unc0rr
Mon, 03 Feb 2014 13:32:09 +0400
changeset 10097 acef073e190f
parent 6433 c8e4b3f29e1e
permissions -rw-r--r--
Tiny optimization

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="horizontal"
    android:gravity="center_vertical">
    <ImageView
        android:id="@+id/arrow"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_weight="8"
        android:src="@drawable/arrow"
        android:adjustViewBounds="true"/>
    
    <RelativeLayout
        android:id="@+id/container"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:layout_weight="1"
        android:gravity="center"
        android:background="@drawable/box_dark">        
        <TextView
            android:id="@+id/text"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="This package will higher quality sounds better sounds"/>
        
        <Button 
            android:id="@+id/download"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignLeft="@id/text"
            android:layout_below="@id/text"
            android:text="@string/download_downloadnow"/>        
        <Button 
            android:id="@+id/cancel"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignRight="@id/text"
            android:layout_below="@id/text"
            android:text="@android:string/no"/>
            
    </RelativeLayout>
    

</LinearLayout>