|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public |
|
3 - License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
|
5 |
|
6 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
7 android:layout_width="wrap_content" |
|
8 android:layout_height="50dip"> |
|
9 |
|
10 <TextView android:id="@+id/validation_message_text" |
|
11 android:layout_width="wrap_content" |
|
12 android:layout_height="40dip" |
|
13 android:layout_marginTop="6dip" |
|
14 android:paddingLeft="20dp" |
|
15 android:paddingRight="20dp" |
|
16 android:textAppearance="?android:attr/textAppearanceSmall" |
|
17 android:textColor="@color/validation_message_text" |
|
18 android:background="@drawable/validation_bg" |
|
19 android:gravity="center" |
|
20 android:singleLine="true" |
|
21 android:scrollHorizontally="true" |
|
22 android:ellipsize="marquee"/> |
|
23 |
|
24 <ImageView android:id="@+id/validation_message_arrow" |
|
25 android:layout_width="24dip" |
|
26 android:layout_height="10dip" |
|
27 android:layout_centerHorizontal="true" |
|
28 android:layout_alignParentTop="true" |
|
29 android:src="@drawable/validation_arrow" |
|
30 android:scaleType="fitXY"/> |
|
31 |
|
32 <ImageView android:id="@+id/validation_message_arrow_inverted" |
|
33 android:layout_width="24dip" |
|
34 android:layout_height="10dip" |
|
35 android:layout_centerHorizontal="true" |
|
36 android:layout_marginTop="35dip" |
|
37 android:layout_alignParentTop="true" |
|
38 android:src="@drawable/validation_arrow_inverted" |
|
39 android:scaleType="fitXY" |
|
40 android:visibility="gone"/> |
|
41 |
|
42 </RelativeLayout> |