What's new

Closed Pa help mga dev. pasok please

Status
Not open for further replies.

Mult0

Forum Veteran
Joined
Jun 15, 2016
Posts
1,841
Reaction
1,117
Points
570
Paano gawing autohide yung lagayan ng username at pass sa vpn. Ayaw kasi ma hide pag e press na ang connect. Ito po yung xml code ko.

Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content">

    <EditText
        android:textColor="#ffff0000"
        android:id="@id/username"
        android:background="#00000000"
        android:layout_width="fill_parent"
        android:layout_height="35.0dip"
        android:layout_marginLeft="10.0dip"
        android:layout_marginTop="5.0dip"
        android:layout_marginRight="10.0dip"
        android:hint="Username"
        android:ems="10"
        android:inputType="textMultiLine"/>

    <View
        android:background="?android:dividerVertical"
        android:layout_width="fill_parent"
        android:layout_height="3.0dip"
        android:layout_marginLeft="10.0dip"
        android:layout_marginTop="-5.0dip"
        android:layout_marginRight="10.0dip"/>

    <EditText
        android:textColor="#ffff0000"
        android:id="@id/password"
        android:background="#00000000"
        android:layout_width="fill_parent"
        android:layout_height="35.0dip"
        android:layout_marginLeft="10.0dip"
        android:layout_marginRight="10.0dip"
        android:hint="Password"
        android:ems="10"
        android:inputType="textPassword"/>

    <View
        android:background="?android:dividerVertical"
        android:layout_width="fill_parent"
        android:layout_height="3.0dip"
        android:layout_marginLeft="10.0dip"
        android:layout_marginTop="-5.0dip"
        android:layout_marginRight="10.0dip"/>

    <CheckBox
        android:id="@id/password_save"
        android:layout_width="fill_parent"
        android:layout_height="20.0dip"
        android:layout_marginLeft="10.0dip"
        android:layout_marginTop="5.0dip"
        android:layout_marginRight="10.0dip"
        android:layout_marginBottom="10.0dip"
        android:text="SAVE"/>

</LinearLayout>
 
Status
Not open for further replies.
Back
Top