aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorLibravatar Renard 2016-04-25 20:48:52 -0300
committerLibravatar Renard 2016-04-25 20:48:52 -0300
commit034e14235e987b30d0ebc181b2d24c632035c453 (patch)
tree96d59bf03e78f39c418fcce12cd3e2aadda04c8c /app/src/main/res/layout
parente6e9b750c7061471b7b0b899001a1e6f3d354e10 (diff)
downloadBaiApp-034e14235e987b30d0ebc181b2d24c632035c453.tar.gz
BaiApp-034e14235e987b30d0ebc181b2d24c632035c453.tar.xz
BaiApp-034e14235e987b30d0ebc181b2d24c632035c453.zip
v1.7v1.7
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/activity_response.xml139
-rw-r--r--app/src/main/res/layout/thread_item.xml1
2 files changed, 101 insertions, 39 deletions
diff --git a/app/src/main/res/layout/activity_response.xml b/app/src/main/res/layout/activity_response.xml
index 15d35eb..2bae1d6 100644
--- a/app/src/main/res/layout/activity_response.xml
+++ b/app/src/main/res/layout/activity_response.xml
@@ -14,82 +14,144 @@
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="textEmailAddress"
+ android:id="@+id/txtEmail"
+ android:hint="@string/txt_email"
+ android:layout_below="@+id/txtPosterName"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
+ android:nextFocusDown="@+id/txtThreadSubject"/>
+
+ <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/btnSelectFiles"
+ 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_above="@+id/txtResponse"
+ android:layout_toRightOf="@+id/buttonBold"
+ android:layout_toEndOf="@+id/buttonBold"
+ android:layout_marginLeft="10dp" />
+
+ <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/txtThreadSubject"
+ android:layout_alignParentRight="true"
+ android:layout_alignParentEnd="true" />
+
<EditText
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="textPersonName"
android:ems="10"
android:id="@+id/txtPosterName"
+ android:hint="@string/txt_postername"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
- android:hint="@string/txt_postername" />
+ android:nextFocusDown="@+id/txtEmail"/>
<EditText
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:inputType="textEmailAddress"
+ android:inputType="textPersonName"
android:ems="10"
- android:id="@+id/txtEmail"
- android:layout_below="@+id/txtPosterName"
+ android:id="@+id/txtThreadSubject"
+ android:hint="@string/txt_thread_subject"
+ android:layout_below="@+id/txtEmail"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
- android:hint="@string/txt_email" />
+ android:nextFocusDown="@+id/txtResponse"/>
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:inputType="textMultiLine"
+ android:inputType="textCapSentences|textMultiLine"
android:ems="10"
android:id="@+id/txtResponse"
android:hint="@string/txt_response"
- android:layout_below="@+id/buttonBold"
+ android:clickable="false"
+ android:capitalize="sentences"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
- android:clickable="false"
- android:capitalize="sentences" />
+ android:layout_alignParentRight="true"
+ android:layout_alignParentEnd="true"
+ android:layout_below="@+id/buttonBold"
+ android:layout_marginTop="10dp" />
+
+ <EditText
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/txtFilePath"
+ android:enabled="false"
+ android:hint="Archivo "
+ android:layout_gravity="center_horizontal"
+ android:layout_below="@+id/txtThreadSubject"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="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" />
+ android:background="@drawable/ic_format_strikethrough"
+ android:id="@+id/buttonStrike"
+ android:layout_alignTop="@+id/buttonItalic"
+ android:layout_toRightOf="@+id/buttonItalic"
+ android:layout_toEndOf="@+id/buttonItalic"
+ android:layout_marginLeft="10dp" />
<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" />
+ android:background="@drawable/ic_action_font_underline"
+ android:id="@+id/buttonUnderline"
+ android:layout_alignTop="@+id/buttonStrike"
+ android:layout_toRightOf="@+id/buttonStrike"
+ android:layout_toEndOf="@+id/buttonStrike"
+ android:layout_marginLeft="10dp"
+ android:allowUndo="false" />
- <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="32dp"
+ android:layout_height="32dp"
+ android:id="@+id/buttonList"
+ android:background="@drawable/ic_action_list_2"
+ android:layout_alignTop="@+id/buttonUnderline"
+ android:layout_toRightOf="@+id/buttonUnderline"
+ android:layout_toEndOf="@+id/buttonUnderline"
+ android:layout_marginLeft="10dp" />
<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" />
+ android:layout_width="32dp"
+ android:layout_height="32dp"
+ android:id="@+id/buttonCode"
+ android:background="@drawable/ic_code"
+ android:layout_alignTop="@+id/buttonList"
+ android:layout_toRightOf="@+id/buttonList"
+ android:layout_toEndOf="@+id/buttonList"
+ android:layout_marginLeft="10dp" />
</RelativeLayout>
@@ -120,6 +182,7 @@
android:layout_alignRight="@+id/relativeLayout"
android:layout_alignEnd="@+id/relativeLayout"
android:layout_marginTop="3dp" />
+
</LinearLayout>
</RelativeLayout>
diff --git a/app/src/main/res/layout/thread_item.xml b/app/src/main/res/layout/thread_item.xml
index a4396b4..ba2a397 100644
--- a/app/src/main/res/layout/thread_item.xml
+++ b/app/src/main/res/layout/thread_item.xml
@@ -7,7 +7,6 @@
android:layout_width="5dp"
android:layout_height="match_parent"
android:id="@+id/ivMargin"
- android:scaleType="fitXY"
android:src="@color/defaultMarginColor"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"