project_files/Android-build/SDL-android-project/res/layout/download_confirmdialog.xml
author Wuzzy <Wuzzy2@mail.ru>
Sat, 21 Oct 2017 23:03:52 +0200
changeset 12738 353cb2ce6f9c
parent 6433 c8e4b3f29e1e
permissions -rw-r--r--
Fix AddAmmo setting ammo to 99 when trying to add infinite ammo This affected the portal mission, the crate only gave you 99 portal guns instead of infinite.

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="fill_parent"
    android:padding="5dip">
  	<TextView 
      	android:id="@+id/text"
       	android:layout_width="200dip"
       	android:layout_height="wrap_content"
       	android:padding="5dip"
       	android:gravity="center"
       	android:maxWidth="200dip"/>

	<LinearLayout
	    android:layout_width="fill_parent"
	    android:layout_height="wrap_content"
	    android:layout_below="@+id/text"
	    android:layout_alignLeft="@id/text"
	    android:layout_alignRight="@id/text"
	    android:orientation="horizontal"
	    android:gravity="center">

	    <Button
	        android:id="@+id/yes"
	        android:layout_width="fill_parent"
	        android:layout_height="fill_parent"
	        android:layout_weight="1"
	        android:text="@android:string/yes" />

	    <Button
	        android:id="@+id/no"
	        android:layout_width="fill_parent"
	        android:layout_height="fill_parent"
	        android:layout_weight="1"
	        android:text="@android:string/no" />
	</LinearLayout>
   	
</RelativeLayout>