summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/layout/validation_message.xml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/base/resources/layout/validation_message.xml')
-rw-r--r--mobile/android/base/resources/layout/validation_message.xml42
1 files changed, 42 insertions, 0 deletions
diff --git a/mobile/android/base/resources/layout/validation_message.xml b/mobile/android/base/resources/layout/validation_message.xml
new file mode 100644
index 000000000..abcc2ef1e
--- /dev/null
+++ b/mobile/android/base/resources/layout/validation_message.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="50dip">
+
+ <TextView android:id="@+id/validation_message_text"
+ android:layout_width="wrap_content"
+ android:layout_height="40dip"
+ android:layout_marginTop="6dip"
+ android:paddingLeft="20dp"
+ android:paddingRight="20dp"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:textColor="@color/validation_message_text"
+ android:background="@drawable/validation_bg"
+ android:gravity="center"
+ android:singleLine="true"
+ android:scrollHorizontally="true"
+ android:ellipsize="marquee"/>
+
+ <ImageView android:id="@+id/validation_message_arrow"
+ android:layout_width="24dip"
+ android:layout_height="10dip"
+ android:layout_centerHorizontal="true"
+ android:layout_alignParentTop="true"
+ android:src="@drawable/validation_arrow"
+ android:scaleType="fitXY"/>
+
+ <ImageView android:id="@+id/validation_message_arrow_inverted"
+ android:layout_width="24dip"
+ android:layout_height="10dip"
+ android:layout_centerHorizontal="true"
+ android:layout_marginTop="35dip"
+ android:layout_alignParentTop="true"
+ android:src="@drawable/validation_arrow_inverted"
+ android:scaleType="fitXY"
+ android:visibility="gone"/>
+
+</RelativeLayout>