<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright © 2019 Damyan Ivanov.
- ~ This file is part of Mobile-Ledger.
- ~ Mobile-Ledger is free software: you can distribute it and/or modify it
+ ~ This file is part of MoLe.
+ ~ MoLe is free software: you can distribute it and/or modify it
~ under the term of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your opinion), any later version.
~
- ~ Mobile-Ledger is distributed in the hope that it will be useful,
+ ~ MoLe is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License terms for details.
~
~ You should have received a copy of the GNU General Public License
- ~ along with Mobile-Ledger. If not, see <https://www.gnu.org/licenses/>.
+ ~ along with MoLe. If not, see <https://www.gnu.org/licenses/>.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="wrap_content"
android:orientation="vertical">
+ <Switch
+ android:id="@+id/profile_permit_posting"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="16dp"
+ android:text="@string/posting_permitted" />
+
<Switch
android:id="@+id/enable_http_auth"
android:layout_width="match_parent"
</android.support.design.widget.TextInputLayout>
</LinearLayout>
+ <LinearLayout
+ android:id="@+id/profileColorRow"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="horizontal">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:layout_weight="2"
+ android:text="@string/color_label" />
+
+ <Spinner
+ android:id="@+id/colorSpinner"
+ android:layout_width="80dp"
+ android:layout_height="80dp"
+ android:layout_weight="2" />
+
+ </LinearLayout>
+
</LinearLayout>
</LinearLayout>
\ No newline at end of file