|
1 |
| -<merge xmlns:android="http://schemas.android.com/apk/res/android"> |
2 |
| - |
3 |
| - <!-- QuickShare Info --> |
4 |
| - <TextView |
5 |
| - android:id="@+id/quickShareInfo" |
6 |
| - android:layout_width="fill_parent" |
7 |
| - android:layout_height="wrap_content" |
8 |
| - android:gravity="center_horizontal" |
9 |
| - android:textStyle="bold" |
10 |
| - android:layout_marginTop="16dp" |
11 |
| - android:focusable="false" |
12 |
| - /> |
13 |
| - |
14 |
| - <!-- interfaces/addresses and ports info in 2 columns --> |
| 1 | +<merge xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"> |
15 | 2 | <LinearLayout
|
16 |
| - android:layout_width="fill_parent" |
| 3 | + android:orientation="vertical" |
| 4 | + android:layout_width="match_parent" |
17 | 5 | android:layout_height="wrap_content"
|
18 |
| - android:orientation="horizontal" |
19 |
| - android:baselineAligned="false"> |
| 6 | + > |
| 7 | + <!-- QuickShare Info --> |
| 8 | + <TextView |
| 9 | + android:id="@+id/quickShareInfo" |
| 10 | + android:layout_width="fill_parent" |
| 11 | + android:layout_height="wrap_content" |
| 12 | + android:textStyle="bold" |
| 13 | + android:focusable="false" |
| 14 | + tools:text="Quick Share Info" |
| 15 | + /> |
20 | 16 |
|
21 |
| - <!-- left column --> |
| 17 | + <!-- interfaces/addresses and ports info in 2 columns --> |
22 | 18 | <LinearLayout
|
23 |
| - android:layout_width="0dp" |
24 |
| - android:layout_height="fill_parent" |
25 |
| - android:layout_weight="1" |
26 |
| - android:orientation="vertical"> |
27 |
| - |
28 |
| - <!-- addresses / interfaces --> |
29 |
| - <TextView |
30 |
| - android:id="@+id/addressesLabel" |
31 |
| - android:layout_width="fill_parent" |
32 |
| - android:layout_height="wrap_content" |
33 |
| - android:gravity="center_horizontal" |
34 |
| - android:textStyle="bold" |
35 |
| - android:layout_marginTop="16dp" |
36 |
| - android:focusable="false" |
37 |
| - /> |
| 19 | + android:layout_width="fill_parent" |
| 20 | + android:layout_height="wrap_content" |
| 21 | + android:orientation="horizontal" |
| 22 | + android:layout_marginTop="16dp" |
| 23 | + android:baselineAligned="false"> |
38 | 24 |
|
| 25 | + <!-- left column --> |
| 26 | + <LinearLayout |
| 27 | + android:layout_width="0dp" |
| 28 | + android:layout_height="fill_parent" |
| 29 | + android:layout_weight="1" |
| 30 | + android:orientation="vertical"> |
| 31 | + |
| 32 | + <!-- addresses / interfaces --> |
| 33 | + <TextView |
| 34 | + android:id="@+id/addressesLabel" |
| 35 | + android:layout_width="fill_parent" |
| 36 | + android:layout_height="wrap_content" |
| 37 | + android:textStyle="bold" |
| 38 | + android:focusable="false" |
| 39 | + tools:text="IP Address (Network Interface)" |
| 40 | + /> |
| 41 | + |
| 42 | + <LinearLayout |
| 43 | + android:id="@+id/addressesContainer" |
| 44 | + android:orientation="vertical" |
| 45 | + android:layout_width="wrap_content" |
| 46 | + android:layout_height="wrap_content" |
| 47 | + /> |
| 48 | + </LinearLayout> |
| 49 | + |
| 50 | + <!-- right column --> |
39 | 51 | <LinearLayout
|
40 |
| - android:id="@+id/addressesContainer" |
41 |
| - android:orientation="vertical" |
42 | 52 | android:layout_width="wrap_content"
|
43 |
| - android:layout_height="wrap_content" |
44 |
| - android:layout_gravity="center_horizontal" |
45 |
| - /> |
| 53 | + android:layout_height="fill_parent" |
| 54 | + android:orientation="vertical"> |
| 55 | + |
| 56 | + <!-- ports --> |
| 57 | + <TextView |
| 58 | + android:id="@+id/portsLabel" |
| 59 | + android:layout_width="match_parent" |
| 60 | + android:layout_height="wrap_content" |
| 61 | + android:textStyle="bold" |
| 62 | + android:focusable="false" |
| 63 | + tools:text="Protocol / Port / State" |
| 64 | + /> |
| 65 | + <TextView |
| 66 | + android:id="@+id/ftpTextView" |
| 67 | + android:layout_width="match_parent" |
| 68 | + android:layout_height="wrap_content" |
| 69 | + android:textIsSelectable="true" |
| 70 | + android:focusable="false" |
| 71 | + tools:text="ftp / 2211 / Stopped" |
| 72 | + /> |
| 73 | + <TextView |
| 74 | + android:id="@+id/sftpTextView" |
| 75 | + android:layout_width="match_parent" |
| 76 | + android:layout_height="wrap_content" |
| 77 | + android:textIsSelectable="true" |
| 78 | + android:focusable="false" |
| 79 | + tools:text="sftp / 1234 / Stopped" |
| 80 | + /> |
| 81 | + </LinearLayout> |
46 | 82 | </LinearLayout>
|
47 | 83 |
|
48 |
| - <!-- right column --> |
| 84 | + <!-- user name --> |
49 | 85 | <LinearLayout
|
50 |
| - android:layout_width="0dp" |
51 |
| - android:layout_height="fill_parent" |
52 |
| - android:layout_weight="1" |
53 |
| - android:orientation="vertical"> |
54 |
| - |
55 |
| - <!-- ports --> |
| 86 | + android:layout_height="wrap_content" |
| 87 | + android:layout_width="match_parent" |
| 88 | + android:orientation="horizontal" |
| 89 | + android:layout_marginTop="16dp" |
| 90 | + > |
56 | 91 | <TextView
|
57 |
| - android:id="@+id/portsLabel" |
58 |
| - android:layout_width="fill_parent" |
| 92 | + android:id="@+id/usernameLabel" |
| 93 | + android:layout_width="wrap_content" |
59 | 94 | android:layout_height="wrap_content"
|
60 |
| - android:gravity="center_horizontal" |
61 | 95 | android:textStyle="bold"
|
62 |
| - android:layout_marginTop="16dp" |
63 |
| - android:focusable="false" |
64 |
| - /> |
65 |
| - <TextView |
66 |
| - android:id="@+id/ftpTextView" |
67 |
| - android:layout_width="fill_parent" |
68 |
| - android:layout_height="wrap_content" |
69 |
| - android:gravity="center_horizontal" |
70 |
| - android:textIsSelectable="true" |
| 96 | + android:text="@string/prefTitleUser" |
71 | 97 | android:focusable="false"
|
72 |
| - /> |
| 98 | + /> |
| 99 | + |
73 | 100 | <TextView
|
74 |
| - android:id="@+id/sftpTextView" |
75 |
| - android:layout_width="fill_parent" |
| 101 | + android:id="@+id/usernameTextView" |
| 102 | + android:layout_width="0dp" |
| 103 | + android:layout_weight="1" |
76 | 104 | android:layout_height="wrap_content"
|
77 |
| - android:gravity="center_horizontal" |
| 105 | + android:layout_marginStart="16dp" |
| 106 | + android:layout_marginEnd="16dp" |
78 | 107 | android:textIsSelectable="true"
|
79 | 108 | android:focusable="false"
|
80 |
| - /> |
| 109 | + tools:text="ftp_username" |
| 110 | + /> |
81 | 111 | </LinearLayout>
|
82 |
| - </LinearLayout> |
83 |
| - |
84 |
| - <!-- user name --> |
85 |
| - <TextView |
86 |
| - android:id="@+id/usernameLabel" |
87 |
| - android:layout_width="fill_parent" |
88 |
| - android:layout_height="wrap_content" |
89 |
| - android:gravity="center_horizontal" |
90 |
| - android:textStyle="bold" |
91 |
| - android:layout_marginTop="16dp" |
92 |
| - android:text="@string/prefTitleUser" |
93 |
| - android:focusable="false" |
94 |
| - /> |
95 |
| - <TextView |
96 |
| - android:id="@+id/usernameTextView" |
97 |
| - android:layout_width="fill_parent" |
98 |
| - android:layout_height="wrap_content" |
99 |
| - android:gravity="center_horizontal" |
100 |
| - android:textIsSelectable="true" |
101 |
| - android:focusable="false" |
102 |
| - /> |
103 |
| - |
104 |
| - <!-- login / auth / permission info in 2 columns --> |
105 |
| - <LinearLayout |
106 |
| - android:layout_width="fill_parent" |
107 |
| - android:layout_height="wrap_content" |
108 |
| - android:orientation="horizontal" |
109 |
| - android:baselineAligned="false" |
110 |
| - android:layout_marginTop="16dp" |
111 |
| - > |
112 | 112 |
|
113 |
| - <!-- left column --> |
| 113 | + <!-- login / auth / permission info in 2 columns --> |
114 | 114 | <LinearLayout
|
115 |
| - android:layout_width="0dp" |
116 |
| - android:layout_height="fill_parent" |
117 |
| - android:layout_weight="1" |
118 |
| - android:orientation="vertical"> |
| 115 | + android:layout_width="fill_parent" |
| 116 | + android:layout_height="wrap_content" |
| 117 | + android:orientation="vertical" |
| 118 | + android:baselineAligned="false" |
| 119 | + android:layout_marginTop="16dp" |
| 120 | + > |
| 121 | + |
119 | 122 |
|
120 | 123 | <TextView
|
121 | 124 | android:id="@+id/anonymousLoginTextView"
|
122 | 125 | android:layout_width="fill_parent"
|
123 | 126 | android:layout_height="wrap_content"
|
124 |
| - android:gravity="center_horizontal" |
125 | 127 | android:focusable="false"
|
126 |
| - /> |
| 128 | + /> |
127 | 129 |
|
128 | 130 | <TextView
|
129 | 131 | android:id="@+id/passwordPresentTextView"
|
130 | 132 | android:layout_width="fill_parent"
|
131 | 133 | android:layout_height="wrap_content"
|
132 |
| - android:gravity="center_horizontal" |
133 | 134 | android:focusable="false"
|
134 | 135 | />
|
135 | 136 |
|
136 | 137 | <TextView
|
137 | 138 | android:id="@+id/pubKeyAuthTextView"
|
138 | 139 | android:layout_width="fill_parent"
|
139 | 140 | android:layout_height="wrap_content"
|
140 |
| - android:gravity="center_horizontal" |
141 | 141 | android:focusable="false"
|
142 | 142 | />
|
143 |
| - </LinearLayout> |
144 |
| - |
145 |
| - <!-- right column --> |
146 |
| - <LinearLayout |
147 |
| - android:layout_width="0dp" |
148 |
| - android:layout_height="fill_parent" |
149 |
| - android:layout_weight="2" |
150 |
| - android:orientation="vertical"> |
151 | 143 |
|
152 | 144 | <TextView
|
153 | 145 | android:id="@+id/hasNormalStorageAccessTextView"
|
154 | 146 | android:layout_width="fill_parent"
|
155 | 147 | android:layout_height="wrap_content"
|
156 |
| - android:gravity="center_horizontal" |
157 | 148 | android:focusable="false"
|
158 | 149 | />
|
159 | 150 |
|
160 | 151 | <TextView
|
161 | 152 | android:id="@+id/hasFullStorageAccessTextView"
|
162 | 153 | android:layout_width="fill_parent"
|
163 | 154 | android:layout_height="wrap_content"
|
164 |
| - android:gravity="center_horizontal" |
165 | 155 | android:focusable="false"
|
166 | 156 | />
|
167 | 157 |
|
168 | 158 | <TextView
|
169 | 159 | android:id="@+id/hasMediaLocationAccessTextView"
|
170 | 160 | android:layout_width="fill_parent"
|
171 | 161 | android:layout_height="wrap_content"
|
172 |
| - android:gravity="center_horizontal" |
173 | 162 | android:focusable="false"
|
174 | 163 | />
|
175 | 164 |
|
176 | 165 | <TextView
|
177 | 166 | android:id="@+id/hasNotificationPermissionTextView"
|
178 | 167 | android:layout_width="fill_parent"
|
179 | 168 | android:layout_height="wrap_content"
|
180 |
| - android:gravity="center_horizontal" |
181 | 169 | android:focusable="false"
|
182 | 170 | />
|
183 | 171 | </LinearLayout>
|
|
0 commit comments