Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add code for sending a MeshMS to Serval Mesh for processing
- Loading branch information
techxplorer
committed
May 11, 2012
1 parent
01aaf85
commit 52bdb06
Showing
8 changed files
with
549 additions
and
1 deletion.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="vertical" | ||
android:background="#000000"> | ||
|
||
<TextView android:id="@+id/send_meshms_ui_lbl_title" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:text="@string/send_meshms_ui_lbl_title" | ||
android:layout_marginBottom="@dimen/ui_elem_margin_bottom" | ||
android:layout_marginLeft="@dimen/ui_elem_margin_left" | ||
android:layout_marginRight="@dimen/ui_elem_margin_right" | ||
android:gravity="center_vertical|center_horizontal" | ||
android:textAppearance="?android:attr/textAppearanceLarge" /> | ||
|
||
<TextView android:id="@+id/send_meshms_ui_lbl_subtitle" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:text="@string/send_meshms_ui_lbl_subtitle" | ||
android:layout_marginBottom="@dimen/ui_elem_margin_bottom" | ||
android:layout_marginLeft="@dimen/ui_elem_margin_left" | ||
android:layout_marginRight="@dimen/ui_elem_margin_right" | ||
android:gravity="center_vertical|center_horizontal" /> | ||
|
||
<TableLayout android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:stretchColumns="1"> | ||
|
||
<TableRow android:id="@+id/send_meshms_ui_tbl_row_1" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content"> | ||
|
||
<TextView android:id="@+id/send_meshms_ui_lbl_phone_no" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:text="@string/send_meshms_ui_lbl_phone_no" | ||
android:layout_marginBottom="@dimen/ui_elem_margin_bottom" | ||
android:layout_marginLeft="@dimen/ui_elem_margin_left" | ||
android:layout_marginRight="@dimen/ui_elem_margin_right" /> | ||
|
||
<EditText android:id="@+id/send_meshms_ui_txt_phone_no" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:inputType="phone" | ||
android:layout_marginBottom="@dimen/ui_elem_margin_bottom" | ||
android:layout_marginLeft="@dimen/ui_elem_margin_left" | ||
android:layout_marginRight="@dimen/ui_elem_margin_right" /> | ||
|
||
</TableRow> | ||
|
||
<TableRow android:id="@+id/send_meshms_ui_tbl_row_2" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content"> | ||
|
||
<TextView android:id="@+id/send_meshms_ui_lbl_content" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:text="@string/send_meshms_ui_lbl_content" | ||
android:layout_marginBottom="@dimen/ui_elem_margin_bottom" | ||
android:layout_marginLeft="@dimen/ui_elem_margin_left" | ||
android:layout_marginRight="@dimen/ui_elem_margin_right" /> | ||
|
||
<EditText android:id="@+id/send_meshms_ui_txt_content" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:inputType="textCapSentences|textMultiLine" | ||
android:lines="5" | ||
android:layout_marginBottom="@dimen/ui_elem_margin_bottom" | ||
android:layout_marginLeft="@dimen/ui_elem_margin_left" | ||
android:layout_marginRight="@dimen/ui_elem_margin_right" /> | ||
</TableRow> | ||
</TableLayout> | ||
|
||
<Button android:id="@+id/send_meshms_ui_btn_send" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginBottom="@dimen/ui_elem_margin_bottom" | ||
android:layout_marginLeft="@dimen/ui_elem_margin_left" | ||
android:layout_marginRight="@dimen/ui_elem_margin_right" | ||
android:text="@string/send_meshms_ui_btn_send" /> | ||
|
||
</LinearLayout> |
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
Oops, something went wrong.