File "text_input.xml"

Path: /WAF - Wireless Android Framework/WAF_0.1_Android/res/layout/text_input.xml
File size: 2.04 KB
MIME-type:
Charset: utf-8

<?xml version="1.0" encoding="utf-8"?>

<!--  *********************************************************************************

BASIC! is an implementation of the Basic programming language for
Android devices.
 
 Copyright (C) 2010 - 2014 Paul Laughton

This file is part of BASIC! for Android

    BASIC! is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    BASIC! is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with BASIC!.  If not, see <http://www.gnu.org/licenses/>.

    You may contact the author or current maintainers at http://rfobasic.freeforums.org
	
	**********************************************************************************
	-->
	
<RelativeLayout
	xmlns:android="http://schemas.android.com/apk/res/android"
	android:layout_width="fill_parent" android:layout_height="fill_parent"
	android:gravity="center_horizontal" android:padding="10px"
	>
		
	<Button android:id="@+id/finished_button"  
        android:layout_width="wrap_content" 
        android:layout_height="40dip"
        android:textSize="12dip"
        android:layout_marginBottom="8dip"
        android:layout_centerHorizontal = "true"
        android:layout_alignParentBottom ="true"
        android:text="Finished" />
        
        <EditText android:id="@+id/the_text"
        android:gravity="top"
		android:layout_width="fill_parent"
		android:layout_height="fill_parent"
		android:layout_above="@id/finished_button"
		android:layout_marginLeft="10dip"
		android:layout_marginBottom="5dip"
		style="@style/edit_text_l"
		android:scrollHorizontally="true"
		android:text="text1\ntext2\ntext3\ntex4\ntext5\n" />
		
		

</RelativeLayout>