comparison app/src/main/res/layout/dia_changepassword.xml @ 438:d29cce60f393

migrate from Eclipse to Android Studio
author Carl Byington <carl@five-ten-sg.com>
date Thu, 03 Dec 2015 11:23:55 -0800
parents res/layout/dia_changepassword.xml@0ce5cc452d02
children
comparison
equal deleted inserted replaced
437:208b31032318 438:d29cce60f393
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 /*
4 * ConnectBot: simple, powerful, open-source SSH client for Android
5 * Copyright 2007 Kenny Root, Jeffrey Sharkey
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19 -->
20
21 <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
22 android:layout_width="fill_parent"
23 android:layout_height="wrap_content"
24 android:paddingLeft="10dip"
25 android:paddingRight="10dip"
26 >
27
28 <TableRow android:id="@+id/old_password_prompt">
29 <TextView
30 android:text="@string/prompt_old_password"
31 android:paddingRight="10dip"
32 android:gravity="right|center_vertical"
33 android:textAppearance="?android:attr/textAppearanceMedium"
34 android:layout_width="wrap_content"
35 />
36
37 <EditText
38 android:id="@+id/old_password"
39 android:layout_width="200dip"
40 android:layout_height="wrap_content"
41 android:singleLine="true"
42 android:inputType="textPassword"
43 />
44 </TableRow>
45
46 <TableRow>
47 <TextView
48 android:text="@string/prompt_password"
49 android:paddingRight="10dip"
50 android:gravity="right|center_vertical"
51 android:textAppearance="?android:attr/textAppearanceMedium"
52 android:layout_width="wrap_content"
53 />
54
55 <EditText
56 android:id="@+id/password1"
57 android:layout_width="200dip"
58 android:layout_height="wrap_content"
59 android:singleLine="true"
60 android:inputType="textPassword"
61 />
62 </TableRow>
63
64 <TableRow>
65 <LinearLayout
66 android:layout_width="wrap_content"
67 android:layout_height="wrap_content"
68 android:orientation="vertical"
69 android:gravity="right"
70 >
71
72 <TextView
73 android:layout_width="wrap_content"
74 android:layout_height="wrap_content"
75 android:text="@string/prompt_password"
76 android:paddingRight="10dip"
77 android:gravity="right|bottom"
78 android:textAppearance="?android:attr/textAppearanceMedium"
79 />
80
81 <TextView
82 android:layout_width="wrap_content"
83 android:layout_height="wrap_content"
84 android:text="@string/prompt_again"
85 android:paddingRight="10dip"
86 android:gravity="right|top"
87 android:textAppearance="?android:attr/textAppearanceSmall"
88 />
89 </LinearLayout>
90
91 <EditText
92 android:id="@+id/password2"
93 android:layout_width="200dip"
94 android:layout_height="wrap_content"
95 android:singleLine="true"
96 android:inputType="textPassword"
97 />
98 </TableRow>
99 </TableLayout>