]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blob - app/src/main/res/layout/domain_settings.xml
a71cd610052c2bd62c977e201e656e015966bb42
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / domain_settings.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!--
4   Copyright 2017 Soren Stoutner <soren@stoutner.com>.
5
6   This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
7
8   Privacy Browser is free software: you can redistribute it and/or modify
9   it under the terms of the GNU General Public License as published by
10   the Free Software Foundation, either version 3 of the License, or
11   (at your option) any later version.
12
13   Privacy Browser is distributed in the hope that it will be useful,
14   but WITHOUT ANY WARRANTY; without even the implied warranty of
15   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16   GNU General Public License for more details.
17
18   You should have received a copy of the GNU General Public License
19   along with Privacy Browser.  If not, see <http://www.gnu.org/licenses/>. -->
20
21 <LinearLayout
22     xmlns:android="http://schemas.android.com/apk/res/android"
23     android:layout_height="match_parent"
24     android:layout_width="match_parent"
25     android:orientation="horizontal" >
26
27     <!-- Labels `LinearLayout`. -->
28     <LinearLayout
29         android:layout_height="wrap_content"
30         android:layout_width="wrap_content"
31         android:orientation="vertical" >
32
33         <TextView
34             android:layout_height="wrap_content"
35             android:layout_width="wrap_content"
36             android:text="@string/domain_name"
37             android:labelFor="@+id/domain_settings_name_edittext"/>
38     </LinearLayout>
39
40     <!-- Data `LinearLayout`. -->
41     <LinearLayout
42         android:layout_height="wrap_content"
43         android:layout_width="wrap_content"
44         android:orientation="vertical" >
45
46         <!-- `android:inputType="textUri"` disables spell check in the `EditText`. -->
47         <EditText
48             android:id="@id/domain_settings_name_edittext"
49             android:layout_width="wrap_content"
50             android:layout_height="wrap_content"
51             android:inputType="textUri" />
52     </LinearLayout>
53
54 </LinearLayout>