1 <?xml version=
"1.0" encoding=
"utf-8"?> 
   3     ownCloud Android client application
 
   5     Copyright (C) 
2012  Bartek Przybylski
 
   6     This program is free software: you can redistribute it and/or modify
 
   7     it under the terms of the GNU General Public License as published by
 
   8     the Free Software Foundation, either version 
3 of the License, or
 
   9     (at your option) any later version.
 
  11     This program is distributed in the hope that it will be useful,
 
  12     but WITHOUT ANY WARRANTY; without even the implied warranty of
 
  13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 
  14     GNU General Public License for more details.
 
  16     You should have received a copy of the GNU General Public License
 
  17     along with this program.  If not, see 
<http://www.gnu.org/licenses
/>.
 
  19 <LinearLayout xmlns:
android=
"http://schemas.android.com/apk/res/android" 
  20     android:
id=
"@+id/root" 
  21     android:
layout_width=
"wrap_content" 
  22     android:
layout_height=
"wrap_content" 
  23     android:
gravity=
"center" 
  24     android:
orientation=
"vertical" > 
  27                 android:
id=
"@+id/header" 
  28                 android:
layout_width=
"wrap_content" 
  29                 android:
layout_height=
"wrap_content" 
  30                 android:
text=
"@string/ssl_validator_header" 
  32                 android:
textAppearance=
"?android:attr/textAppearanceMedium" 
  36                 android:
id=
"@+id/reason_cert_not_trusted" 
  37                 android:
layout_width=
"wrap_content" 
  38                 android:
layout_height=
"wrap_content" 
  39                 android:
layout_gravity=
"left" 
  40                 android:
paddingLeft=
"20dp" 
  41                 android:
text=
"@string/ssl_validator_reason_cert_not_trusted" 
  42                 android:
textAppearance=
"?android:attr/textAppearanceSmall" 
  46                 android:
id=
"@+id/reason_cert_expired" 
  47                 android:
layout_width=
"wrap_content" 
  48                 android:
layout_height=
"wrap_content" 
  49                 android:
layout_gravity=
"left" 
  50                 android:
paddingLeft=
"20dp" 
  51                 android:
text=
"@string/ssl_validator_reason_cert_expired" 
  52                 android:
textAppearance=
"?android:attr/textAppearanceSmall" 
  56                 android:
id=
"@+id/reason_cert_not_yet_valid" 
  57                 android:
layout_width=
"wrap_content" 
  58                 android:
layout_height=
"wrap_content" 
  59                 android:
layout_gravity=
"left" 
  60                 android:
paddingLeft=
"20dp" 
  61                 android:
text=
"@string/ssl_validator_reason_cert_not_yet_valid" 
  62                 android:
textAppearance=
"?android:attr/textAppearanceSmall" 
  66                 android:
id=
"@+id/reason_hostname_not_verified" 
  67                 android:
layout_width=
"wrap_content" 
  68                 android:
layout_height=
"wrap_content" 
  69                 android:
layout_gravity=
"left" 
  70                 android:
paddingLeft=
"20dp" 
  71                 android:
text=
"@string/ssl_validator_reason_hostname_not_verified" 
  72                 android:
textAppearance=
"?android:attr/textAppearanceSmall" 
  77         android:
id=
"@+id/subject" 
  78         android:
layout_width=
"wrap_content" 
  79         android:
layout_height=
"wrap_content" 
  81         android:
text=
"@string/text_placeholder" 
  82         android:
textAppearance=
"?android:attr/textAppearanceSmall" 
  86         android:
id=
"@+id/question" 
  87         android:
layout_width=
"wrap_content" 
  88         android:
layout_height=
"wrap_content" 
  90         android:
text=
"@string/ssl_validator_question" 
  91         android:
textAppearance=
"?android:attr/textAppearanceMedium" 
  96         android:
layout_width=
"match_parent" 
  97         android:
layout_height=
"wrap_content" 
  98         android:
gravity=
"center_horizontal" > 
 101             android:
id=
"@+id/cancel" 
 102             android:
layout_width=
"0dp" 
 103             android:
layout_height=
"wrap_content" 
 104             android:
layout_weight=
"1" 
 105             android:
text=
"@string/common_cancel" /> 
 109             android:
layout_width=
"0dp" 
 110             android:
layout_height=
"wrap_content" 
 111             android:
layout_weight=
"1" 
 112             android:
text=
"@string/common_ok" />