1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-22 00:42:16 -05:00

Authentication view: Wrap in ScrollView for smaller screen sizes. Fixes #94.

This commit is contained in:
Sebastian Kaspari 2011-11-20 14:57:37 +01:00
parent 61e1681b03
commit 5c25c86614

View File

@ -19,77 +19,81 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="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" />
android:layout_height="fill_parent">
<LinearLayout
android:orientation="horizontal"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<Button
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:padding="5dp">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/ok"
android:text="@string/action_ok"
android:minWidth="90dp" />
<Button
android:layout_width="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:id="@+id/cancel"
android:text="@string/action_cancel"
android:minWidth="90dp" />
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
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>
</ScrollView>