Created
October 6, 2010 06:11
-
-
Save copyninja/612907 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:orientation="vertical" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
> | |
<EditText android:id="@+id/string" | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="10dp" | |
android:singleLine="false"/> | |
<RadioGroup android:id="@+id/algorithm" | |
android:layout_below="@id/string" | |
android:orientation="horizontal" | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content"> | |
<RadioButton android:id="@+id/md5" | |
android:checked="false" | |
android:text="MD5"/> | |
<RadioButton android:id="@+id/sha1" | |
android:checked="false" | |
android:text="SHA-1"/> | |
<RadioButton android:id="@+id/sha256" | |
android:checked="false" | |
android:text="SHA-256"/> | |
<RadioButton android:id="@+id/sha512" | |
android:checked="false" | |
android:text="SHA-512"/> | |
</RadioGroup> | |
<Button android:id="@+id/generate" | |
android:layout_below="@id/algorithm" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="Generate Hash" | |
android:gravity="center"/> | |
<TextView android:id="@+id/hash" | |
android:layout_below="@id/generate" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
android:typeface="serif" | |
android:lines="30"/> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment