diff options
author | Jeffrey Sharkey <jsharkey@jsharkey.org> | 2008-10-26 00:00:36 +0000 |
---|---|---|
committer | Jeffrey Sharkey <jsharkey@jsharkey.org> | 2008-10-26 00:00:36 +0000 |
commit | 02b5d6cde18301bb5d1895896b18845c776c805d (patch) | |
tree | 4c91eb46ddf091efb243ef93ce841f17b17ef548 /res/layout | |
parent | 2cecc0403f922721d6c19505b342935e9a29de14 (diff) | |
download | connectbot-02b5d6cde18301bb5d1895896b18845c776c805d.tar.gz connectbot-02b5d6cde18301bb5d1895896b18845c776c805d.tar.bz2 connectbot-02b5d6cde18301bb5d1895896b18845c776c805d.zip |
* refactored prompting gui component into PromptHelper, makes it easier now because it offers blocking methods to get strings
* also added boolean prompt support for hostkey yes/no from user
* added checking and storing of hostkeys into backend database, successfully tested
* created new icon using android style guide pdf, older icon is still here
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/act_console.xml | 40 |
1 files changed, 37 insertions, 3 deletions
diff --git a/res/layout/act_console.xml b/res/layout/act_console.xml index 39564d8..36c73b4 100644 --- a/res/layout/act_console.xml +++ b/res/layout/act_console.xml @@ -19,6 +19,7 @@ <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" + android:background="#ff000000" > <TextView @@ -36,7 +37,7 @@ android:layout_height="fill_parent" /> - <FrameLayout + <RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" @@ -48,9 +49,42 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:password="true" - android:singleLine="true" + android:singleLine="true" + android:visibility="gone" /> + + <TextView + android:id="@+id/console_prompt" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:visibility="gone" + android:textAppearance="?android:attr/textAppearanceMedium" + android:paddingRight="100dip" + /> + + <Button + android:id="@+id/console_prompt_no" + android:text="No" + android:paddingTop="5dip" android:paddingBottom="10dip" + android:paddingLeft="40dip" android:paddingRight="40dip" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentRight="true" + android:visibility="gone" + /> + + <Button + android:id="@+id/console_prompt_yes" + android:text="Yes" + android:paddingTop="5dip" android:paddingBottom="10dip" + android:paddingLeft="40dip" android:paddingRight="40dip" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_toLeftOf="@id/console_prompt_no" + android:visibility="gone" + /> + + </RelativeLayout> - </FrameLayout> </RelativeLayout>
\ No newline at end of file |