Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2011 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 
     17 <!-- A layout to select a certificate, akin to a file selector on web pages. -->
     18 <!-- Extends LinearLayout -->
     19 <com.android.email.view.CertificateSelector
     20     xmlns:android="http://schemas.android.com/apk/res/android"
     21     android:layout_width="match_parent"
     22     android:layout_height="wrap_content"
     23     android:gravity="center_vertical"
     24     android:paddingTop="@dimen/certificate_selector_padding_top">
     25 
     26     <Button
     27         android:id="@+id/select_button"
     28         style="@style/client_certificate_button"
     29         android:layout_width="wrap_content"
     30         android:layout_height="wrap_content"
     31         android:text="@string/account_setup_exchange_use_certificate" />
     32 
     33     <TextView
     34         android:id="@+id/title"
     35         style="@style/client_certificate_title"
     36         android:layout_width="wrap_content"
     37         android:layout_height="wrap_content"
     38         android:layout_alignParentTop="true"
     39         android:text="@string/account_setup_exchange_certificate_title" />
     40 
     41     <TextView
     42         android:id="@+id/certificate_alias"
     43         style="@style/client_certificate_alias"
     44         android:layout_width="wrap_content"
     45         android:layout_height="wrap_content"
     46         android:layout_below="@+id/title"
     47         android:textColor="@color/text_secondary_color"
     48         android:singleLine="true"
     49         android:ellipsize="end"
     50         android:text="@string/account_setup_exchange_no_certificate" />
     51 
     52 </com.android.email.view.CertificateSelector>
     53