Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4  * ConnectBot: simple, powerful, open-source SSH client for Android
      5  * Copyright 2007 Kenny Root, Jeffrey Sharkey
      6  *
      7  * Licensed under the Apache License, Version 2.0 (the "License");
      8  * you may not use this file except in compliance with the License.
      9  * You may obtain a copy of the License at
     10  *
     11  *     http://www.apache.org/licenses/LICENSE-2.0
     12  *
     13  * Unless required by applicable law or agreed to in writing, software
     14  * distributed under the License is distributed on an "AS IS" BASIS,
     15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     16  * See the License for the specific language governing permissions and
     17  * limitations under the License.
     18  */
     19 -->
     20 
     21 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     22 	android:layout_width="fill_parent"
     23 	android:layout_height="fill_parent"
     24 	android:background="#ff000000"
     25 	>
     26 
     27 	<ViewFlipper
     28 		android:id="@+id/console_flip"
     29 		android:layout_width="fill_parent"
     30 		android:layout_height="fill_parent"
     31 		/>
     32 
     33 	<RelativeLayout
     34 		android:id="@+id/console_boolean_group"
     35 		android:layout_width="fill_parent"
     36 		android:layout_height="wrap_content"
     37 		android:layout_alignParentBottom="true"
     38 		android:padding="5dip"
     39 		android:background="#80000000"
     40 		android:fadingEdge="horizontal"
     41 		android:fadingEdgeLength="25dip"
     42 		android:visibility="gone"
     43 		>
     44 
     45 		<TextView
     46 			android:id="@+id/console_prompt"
     47 			android:layout_height="wrap_content"
     48 			android:layout_width="fill_parent"
     49 			android:textAppearance="?android:attr/textAppearanceMedium"
     50 			/>
     51 
     52 		<Button
     53 			android:id="@+id/console_prompt_no"
     54 			android:text="@string/prompt_no"
     55 			android:paddingTop="5dip"
     56 			android:paddingBottom="10dip"
     57 			android:paddingLeft="40dip"
     58 			android:paddingRight="40dip"
     59 			android:layout_width="wrap_content"
     60 			android:layout_height="wrap_content"
     61 			android:layout_alignParentRight="true"
     62 			android:layout_below="@+id/console_prompt"
     63 			android:clickable="false"
     64 			/>
     65 
     66 		<Button
     67 			android:id="@+id/console_prompt_yes"
     68 			android:text="@string/prompt_yes"
     69 			android:paddingTop="5dip"
     70 			android:paddingBottom="10dip"
     71 			android:paddingLeft="40dip"
     72 			android:paddingRight="40dip"
     73 			android:layout_width="wrap_content"
     74 			android:layout_height="wrap_content"
     75 			android:layout_toLeftOf="@+id/console_prompt_no"
     76 			android:layout_below="@+id/console_prompt"
     77 			/>
     78 
     79 	</RelativeLayout>
     80 
     81 	<ImageView
     82 		android:id="@+id/keyboard_button"
     83 		android:paddingRight="15dip"
     84 		android:paddingBottom="15dip"
     85 		android:layout_width="wrap_content"
     86 		android:layout_height="wrap_content"
     87 		android:layout_alignParentBottom="true"
     88 		android:layout_alignParentRight="true"
     89 		android:visibility="gone"
     90 		android:src="@drawable/keyboard_icon"
     91 		/>
     92 
     93 </RelativeLayout>
     94