57 lines
2 KiB
XML
57 lines
2 KiB
XML
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
android:id="@+id/main"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:gravity="center"
|
||
|
android:orientation="vertical" >
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_above="@+id/linearLayout1" >
|
||
|
|
||
|
<EditText
|
||
|
android:id="@+id/edit_message"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:ems="10"
|
||
|
android:hint="@string/edit_message"
|
||
|
android:padding="10dp"
|
||
|
android:scrollbars="vertical" >
|
||
|
</EditText>
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
style="?android:attr/buttonBarStyle"
|
||
|
android:id="@+id/linearLayout1"
|
||
|
android:layout_width="fill_parent"
|
||
|
android:layout_height="48dp"
|
||
|
android:layout_alignParentBottom="true"
|
||
|
android:background="@drawable/actionbar"
|
||
|
android:fitsSystemWindows="true"
|
||
|
android:gravity="center"
|
||
|
android:minHeight="48dp"
|
||
|
android:orientation="horizontal" >
|
||
|
|
||
|
<Button
|
||
|
style="?android:attr/buttonBarButtonStyle"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_weight="1"
|
||
|
android:onClick="decode"
|
||
|
android:text="@string/button_decode"
|
||
|
android:textColor="#FFFFFF"
|
||
|
android:textColorLink="#FFFFFF" />
|
||
|
|
||
|
<Button
|
||
|
style="?android:attr/buttonBarButtonStyle"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_weight="1"
|
||
|
android:onClick="encode"
|
||
|
android:text="@string/button_encode"
|
||
|
android:textColor="#FFFFFF" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
</RelativeLayout>
|