1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mobile/android/base/resources/layout/validation_message.xml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,42 @@ 1.4 +<?xml version="1.0" encoding="utf-8"?> 1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.6 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.8 + 1.9 +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 1.10 + android:layout_width="wrap_content" 1.11 + android:layout_height="50dip"> 1.12 + 1.13 + <TextView android:id="@+id/validation_message_text" 1.14 + android:layout_width="wrap_content" 1.15 + android:layout_height="40dip" 1.16 + android:layout_marginTop="6dip" 1.17 + android:paddingLeft="20dp" 1.18 + android:paddingRight="20dp" 1.19 + android:textAppearance="?android:attr/textAppearanceSmall" 1.20 + android:textColor="@color/validation_message_text" 1.21 + android:background="@drawable/validation_bg" 1.22 + android:gravity="center" 1.23 + android:singleLine="true" 1.24 + android:scrollHorizontally="true" 1.25 + android:ellipsize="marquee"/> 1.26 + 1.27 + <ImageView android:id="@+id/validation_message_arrow" 1.28 + android:layout_width="24dip" 1.29 + android:layout_height="10dip" 1.30 + android:layout_centerHorizontal="true" 1.31 + android:layout_alignParentTop="true" 1.32 + android:src="@drawable/validation_arrow" 1.33 + android:scaleType="fitXY"/> 1.34 + 1.35 + <ImageView android:id="@+id/validation_message_arrow_inverted" 1.36 + android:layout_width="24dip" 1.37 + android:layout_height="10dip" 1.38 + android:layout_centerHorizontal="true" 1.39 + android:layout_marginTop="35dip" 1.40 + android:layout_alignParentTop="true" 1.41 + android:src="@drawable/validation_arrow_inverted" 1.42 + android:scaleType="fitXY" 1.43 + android:visibility="gone"/> 1.44 + 1.45 +</RelativeLayout>