|
|
@ -5,7 +5,99 @@ |
|
|
|
android:paddingTop="@dimen/activity_vertical_margin" |
|
|
|
android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity"> |
|
|
|
|
|
|
|
<TextView android:text="@string/hello_world" android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" /> |
|
|
|
<!--//testPEpTypes();--> |
|
|
|
<!--//testPEpAliceBobJohn();--> |
|
|
|
<!--//testKeyserverLookup();--> |
|
|
|
<!--testKeyGen();--> |
|
|
|
<LinearLayout |
|
|
|
android:orientation="vertical" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:layout_alignParentLeft="true" |
|
|
|
android:layout_alignParentStart="true"> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:orientation="horizontal" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
|
|
|
|
<TextView |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" |
|
|
|
android:text="pEp Types" |
|
|
|
android:layout_weight="1"/> |
|
|
|
|
|
|
|
<Button |
|
|
|
style="?android:attr/buttonStyleSmall" |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:text="Run" |
|
|
|
android:id="@+id/bRunTypes" |
|
|
|
android:layout_weight="1"/> |
|
|
|
</LinearLayout> |
|
|
|
<LinearLayout |
|
|
|
android:orientation="horizontal" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
|
|
|
|
<TextView |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" |
|
|
|
android:text="pEp Alice Bob John" |
|
|
|
android:layout_weight="1"/> |
|
|
|
|
|
|
|
<Button |
|
|
|
style="?android:attr/buttonStyleSmall" |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:text="Run" |
|
|
|
android:id="@+id/bRunAliceBob" |
|
|
|
android:layout_weight="1"/> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:orientation="horizontal" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
|
|
|
|
<TextView |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" |
|
|
|
android:text="Server Lookup" |
|
|
|
android:layout_weight="1"/> |
|
|
|
|
|
|
|
<Button |
|
|
|
style="?android:attr/buttonStyleSmall" |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:text="Run" |
|
|
|
android:id="@+id/bRunServerLookup" |
|
|
|
android:layout_weight="1"/> |
|
|
|
</LinearLayout> |
|
|
|
<LinearLayout |
|
|
|
android:orientation="horizontal" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
|
|
|
|
<TextView |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium" |
|
|
|
android:text="KeyGen" |
|
|
|
android:layout_weight="1"/> |
|
|
|
|
|
|
|
<Button |
|
|
|
style="?android:attr/buttonStyleSmall" |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:text="Run" |
|
|
|
android:id="@+id/bRunGenKey" |
|
|
|
android:layout_weight="1"/> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
</RelativeLayout> |
|
|
|