mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-02-16 06:50:15 -05:00
Authentication view: Wrap in ScrollView for smaller screen sizes. Fixes #94.
This commit is contained in:
parent
61e1681b03
commit
5c25c86614
@ -19,77 +19,81 @@ GNU General Public License for more details.
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
|
along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
|
||||||
-->
|
-->
|
||||||
<LinearLayout
|
<ScrollView
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent">
|
||||||
android:padding="5dp">
|
|
||||||
<TextView
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/auth_description"
|
|
||||||
android:padding="5dp" />
|
|
||||||
<CheckBox
|
|
||||||
android:id="@+id/nickserv_checkbox"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/auth_nickserv" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/nickserv_label_password"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/auth_nickserv_password"
|
|
||||||
android:enabled="false" />
|
|
||||||
<EditText
|
|
||||||
android:id="@+id/nickserv_password"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:enabled="false"
|
|
||||||
android:password="true" />
|
|
||||||
<CheckBox
|
|
||||||
android:id="@+id/sasl_checkbox"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/auth_sasl" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/sasl_label_username"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/auth_sasl_username"
|
|
||||||
android:enabled="false" />
|
|
||||||
<EditText
|
|
||||||
android:id="@+id/sasl_username"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:enabled="false" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/sasl_label_password"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/auth_sasl_password"
|
|
||||||
android:enabled="false"/>
|
|
||||||
<EditText
|
|
||||||
android:id="@+id/sasl_password"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:enabled="false"
|
|
||||||
android:password="true" />
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="horizontal"
|
android:orientation="vertical"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="fill_parent"
|
||||||
<Button
|
android:padding="5dp">
|
||||||
android:layout_width="wrap_content"
|
<TextView
|
||||||
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:id="@+id/ok"
|
android:text="@string/auth_description"
|
||||||
android:text="@string/action_ok"
|
android:padding="5dp" />
|
||||||
android:minWidth="90dp" />
|
<CheckBox
|
||||||
<Button
|
android:id="@+id/nickserv_checkbox"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:id="@+id/cancel"
|
android:text="@string/auth_nickserv" />
|
||||||
android:text="@string/action_cancel"
|
<TextView
|
||||||
android:minWidth="90dp" />
|
android:id="@+id/nickserv_label_password"
|
||||||
|
android:layout_width="fill_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/auth_nickserv_password"
|
||||||
|
android:enabled="false" />
|
||||||
|
<EditText
|
||||||
|
android:id="@+id/nickserv_password"
|
||||||
|
android:layout_width="fill_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:enabled="false"
|
||||||
|
android:password="true" />
|
||||||
|
<CheckBox
|
||||||
|
android:id="@+id/sasl_checkbox"
|
||||||
|
android:layout_width="fill_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/auth_sasl" />
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/sasl_label_username"
|
||||||
|
android:layout_width="fill_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/auth_sasl_username"
|
||||||
|
android:enabled="false" />
|
||||||
|
<EditText
|
||||||
|
android:id="@+id/sasl_username"
|
||||||
|
android:layout_width="fill_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:enabled="false" />
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/sasl_label_password"
|
||||||
|
android:layout_width="fill_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="@string/auth_sasl_password"
|
||||||
|
android:enabled="false"/>
|
||||||
|
<EditText
|
||||||
|
android:id="@+id/sasl_password"
|
||||||
|
android:layout_width="fill_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:enabled="false"
|
||||||
|
android:password="true" />
|
||||||
|
<LinearLayout
|
||||||
|
android:orientation="horizontal"
|
||||||
|
android:layout_width="fill_parent"
|
||||||
|
android:layout_height="wrap_content">
|
||||||
|
<Button
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:id="@+id/ok"
|
||||||
|
android:text="@string/action_ok"
|
||||||
|
android:minWidth="90dp" />
|
||||||
|
<Button
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:id="@+id/cancel"
|
||||||
|
android:text="@string/action_cancel"
|
||||||
|
android:minWidth="90dp" />
|
||||||
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</ScrollView>
|
Loading…
Reference in New Issue
Block a user