Mindy Pereira | 5eaa2b9 | 2011-12-13 11:37:05 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 2 | <!-- |
| 3 | Copyright (C) 2011 Google Inc. |
| 4 | Licensed to The Android Open Source Project. |
Mindy Pereira | 5eaa2b9 | 2011-12-13 11:37:05 -0800 | [diff] [blame] | 5 | |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | --> |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 18 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | style="@style/RecipientComposeFieldLayout"> |
Mindy Pereira | 5eaa2b9 | 2011-12-13 11:37:05 -0800 | [diff] [blame] | 20 | |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 21 | <LinearLayout |
| 22 | android:layout_width="match_parent" |
Mindy Pereira | 1a95a57 | 2012-01-05 12:21:29 -0800 | [diff] [blame] | 23 | android:layout_height="match_parent" |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 24 | style="@style/ComposeFieldContent"> |
Mindy Pereira | 5eaa2b9 | 2011-12-13 11:37:05 -0800 | [diff] [blame] | 25 | |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 26 | <TextView |
| 27 | android:id="@+id/from_label" |
| 28 | android:contentDescription="@string/from" |
| 29 | android:text="@string/from" |
| 30 | style="@style/RecipientComposeHeading" /> |
Mindy Pereira | 5eaa2b9 | 2011-12-13 11:37:05 -0800 | [diff] [blame] | 31 | |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 32 | <FrameLayout |
| 33 | android:layout_width="0dp" |
Andrew Sapperstein | a01ddca | 2014-03-04 10:59:56 -0800 | [diff] [blame] | 34 | android:layout_height="match_parent" |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 35 | android:layout_weight="1"> |
| 36 | |
| 37 | <!-- From spinner --> |
| 38 | <LinearLayout |
| 39 | android:id="@+id/spinner_from_content" |
| 40 | android:layout_height="match_parent" |
| 41 | android:background="@android:color/transparent" |
| 42 | android:visibility="gone" |
| 43 | style="@style/RecipientComposeFieldLayout"> |
| 44 | |
| 45 | <com.android.mail.compose.FromAddressSpinner |
| 46 | android:id="@+id/from_picker" |
| 47 | android:layout_width="match_parent" |
| 48 | android:layout_height="match_parent" |
| 49 | android:background="@null" /> |
| 50 | |
| 51 | </LinearLayout> |
| 52 | |
| 53 | <!-- static From --> |
| 54 | <LinearLayout |
| 55 | android:id="@+id/static_from_content" |
| 56 | android:layout_width="match_parent" |
| 57 | android:layout_height="match_parent"> |
| 58 | |
| 59 | <TextView |
| 60 | android:id="@+id/from_account_name" |
| 61 | android:layout_width="match_parent" |
| 62 | android:layout_height="match_parent" |
| 63 | android:background="@android:color/transparent" |
| 64 | android:ellipsize="end" |
| 65 | android:gravity="center_vertical" |
| 66 | android:singleLine="true" |
| 67 | android:textAlignment="viewStart" |
| 68 | android:textColor="@color/compose_user_text" |
| 69 | android:textSize="@dimen/compose_header_text_size" /> |
| 70 | |
| 71 | </LinearLayout> |
| 72 | |
| 73 | </FrameLayout> |
Mindy Pereira | 5eaa2b9 | 2011-12-13 11:37:05 -0800 | [diff] [blame] | 74 | |
| 75 | </LinearLayout> |
| 76 | |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 77 | <View style="@style/RecipientComposeFieldSpacer" /> |
| 78 | |
| 79 | </LinearLayout> |