diff options
author | Renard | 2016-04-05 01:52:13 -0300 |
---|---|---|
committer | Renard | 2016-04-05 01:52:13 -0300 |
commit | 90ca8b34d823eed19d26f6611716ca231d60424c (patch) | |
tree | 65d389b05acb542f14a8faba8abeaa7b36ae227e /app/src/main/res/layout/activity_response.xml | |
download | BaiApp-90ca8b34d823eed19d26f6611716ca231d60424c.tar.gz BaiApp-90ca8b34d823eed19d26f6611716ca231d60424c.tar.xz BaiApp-90ca8b34d823eed19d26f6611716ca231d60424c.zip |
Initial commit
Diffstat (limited to 'app/src/main/res/layout/activity_response.xml')
-rw-r--r-- | app/src/main/res/layout/activity_response.xml | 134 |
1 files changed, 134 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_response.xml b/app/src/main/res/layout/activity_response.xml new file mode 100644 index 0000000..19194d4 --- /dev/null +++ b/app/src/main/res/layout/activity_response.xml @@ -0,0 +1,134 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:paddingBottom="@dimen/activity_vertical_margin" + android:paddingLeft="@dimen/activity_horizontal_margin" + android:paddingRight="@dimen/activity_horizontal_margin" + android:paddingTop="@dimen/activity_vertical_margin" + tools:context="org.bienvenidoainternet.baiparser.ResponseActivity" + android:textAlignment="textEnd"> + <RelativeLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:id="@+id/layoutForm"> + <EditText + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:inputType="textPersonName" + android:ems="10" + android:id="@+id/txtPosterName" + android:layout_alignParentTop="true" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" + android:hint="@string/txt_postername" /> + + <EditText + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:inputType="textEmailAddress" + android:ems="10" + android:id="@+id/txtEmail" + android:layout_below="@+id/txtPosterName" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" + android:hint="@string/txt_email" /> + + <EditText + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:inputType="textMultiLine" + android:ems="10" + android:id="@+id/txtResponse" + android:hint="@string/txt_response" + android:layout_below="@+id/buttonBold" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" + android:clickable="false" + android:capitalize="sentences" /> + + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/btn_send" + android:id="@+id/btnSend" + android:layout_alignWithParentIfMissing="false" + android:layout_below="@+id/txtResponse" + android:layout_alignParentRight="true" + android:layout_alignParentEnd="true" /> + + <Button + style="?android:attr/buttonStyleSmall" + android:layout_width="32dp" + android:layout_height="32dp" + android:id="@+id/buttonBold" + android:background="@drawable/ic_action_font_bold" + android:layout_below="@+id/txtFilePath" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" /> + + <Button + style="?android:attr/buttonStyleSmall" + android:layout_width="32dp" + android:layout_height="32dp" + android:background="@drawable/ic_action_font_italic" + android:id="@+id/buttonItalic" + android:layout_alignTop="@+id/buttonBold" + android:layout_toRightOf="@+id/buttonBold" + android:layout_toEndOf="@+id/buttonBold" /> + + <EditText + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/txtFilePath" + android:layout_below="@+id/txtEmail" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" + android:enabled="false" + android:hint="Archivo " + android:layout_toLeftOf="@+id/btnSelectFiles" + android:layout_toStartOf="@+id/btnSelectFiles" /> + + <Button + style="?android:attr/buttonStyleSmall" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="..." + android:id="@+id/btnSelectFiles" + android:layout_below="@+id/txtEmail" + android:layout_alignParentRight="true" + android:layout_alignParentEnd="true" /> + + </RelativeLayout> + + <LinearLayout + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_below="@+id/layoutForm" + android:layout_centerHorizontal="true" + android:id="@+id/layoutPostProcess"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceSmall" + android:text="Diviendiendo por 0 ..." + android:id="@+id/txtPostingState" + android:layout_gravity="center_horizontal" /> + + <ProgressBar + style="?android:attr/progressBarStyleHorizontal" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:id="@+id/barPosting" + android:layout_below="@+id/relativeLayout" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" + android:layout_alignRight="@+id/relativeLayout" + android:layout_alignEnd="@+id/relativeLayout" + android:layout_marginTop="3dp" /> + </LinearLayout> + +</RelativeLayout> |