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" |
Jin Cao | ee2ea6a | 2014-07-28 11:56:51 -0700 | [diff] [blame] | 23 | android:layout_height="wrap_content" |
Jin Cao | cc14793 | 2014-08-05 10:57:34 -0700 | [diff] [blame] | 24 | android:paddingRight="0dp" |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 25 | style="@style/ComposeFieldContent"> |
Mindy Pereira | 5eaa2b9 | 2011-12-13 11:37:05 -0800 | [diff] [blame] | 26 | |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 27 | <TextView |
| 28 | android:id="@+id/from_label" |
| 29 | android:contentDescription="@string/from" |
| 30 | android:text="@string/from" |
Jin Cao | 94bdc15 | 2014-07-29 16:47:09 -0700 | [diff] [blame] | 31 | style="@style/ComposeHeading" /> |
Mindy Pereira | 5eaa2b9 | 2011-12-13 11:37:05 -0800 | [diff] [blame] | 32 | |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 33 | <FrameLayout |
| 34 | android:layout_width="0dp" |
Jin Cao | cc14793 | 2014-08-05 10:57:34 -0700 | [diff] [blame] | 35 | android:layout_height="wrap_content" |
| 36 | android:layout_gravity="center_vertical" |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 37 | android:layout_weight="1"> |
| 38 | |
| 39 | <!-- From spinner --> |
| 40 | <LinearLayout |
| 41 | android:id="@+id/spinner_from_content" |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 42 | android:background="@android:color/transparent" |
| 43 | android:visibility="gone" |
| 44 | style="@style/RecipientComposeFieldLayout"> |
| 45 | |
| 46 | <com.android.mail.compose.FromAddressSpinner |
| 47 | android:id="@+id/from_picker" |
| 48 | android:layout_width="match_parent" |
| 49 | android:layout_height="match_parent" |
| 50 | android:background="@null" /> |
| 51 | |
| 52 | </LinearLayout> |
| 53 | |
| 54 | <!-- static From --> |
| 55 | <LinearLayout |
| 56 | android:id="@+id/static_from_content" |
| 57 | android:layout_width="match_parent" |
Jin Cao | cc14793 | 2014-08-05 10:57:34 -0700 | [diff] [blame] | 58 | android:layout_height="wrap_content"> |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 59 | |
| 60 | <TextView |
| 61 | android:id="@+id/from_account_name" |
| 62 | android:layout_width="match_parent" |
Jin Cao | cc14793 | 2014-08-05 10:57:34 -0700 | [diff] [blame] | 63 | android:layout_height="wrap_content" |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 64 | android:background="@android:color/transparent" |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 65 | android:textAlignment="viewStart" |
Jin Cao | 8d33b8c | 2014-08-01 16:44:52 -0700 | [diff] [blame] | 66 | style="@style/ComposeFromTextViewStyle" /> |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 67 | |
| 68 | </LinearLayout> |
| 69 | |
| 70 | </FrameLayout> |
Mindy Pereira | 5eaa2b9 | 2011-12-13 11:37:05 -0800 | [diff] [blame] | 71 | |
| 72 | </LinearLayout> |
| 73 | |
Jin Cao | 9d358a1 | 2014-07-24 12:15:38 -0700 | [diff] [blame] | 74 | <View style="@style/RecipientComposeFieldSpacer" /> |
| 75 | |
| 76 | </LinearLayout> |