EN / USD
32
of 76
TEP , The Engineering Projects , Image

syedzainnasir

TEP , The Engineering Projects , Rating 7.5 7.5 / 10
TEP , The Engineering Projects , Icon Level: Moderator
TEP , The Engineering Projects , Icon Joined: 20 Mar 2022
TEP , The Engineering Projects , Icon Last Active: 2:21 PM
TEP , The Engineering Projects , Icon Location: TEP , The Engineering Projects , Flag
TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon
Move Layout Up when Soft Keyboard appears
TEP , The Engineering Projects , Calender Question: 09-Mar-2017
TEP , The Engineering Projects , Category In: Computer Software Projects
I have login page with Email Id ,Password & LOGIN button. Right now when any one of the Edit Text gain focus then system keyboard hides my Login button. I want to push my layout above when keyboard appears keeping LOGIN button above of keyboard.

P.S I've tried all solution like adjust Pan|adjust Resize, adjust Pan,adjust Resize"

in manifest as well as in Java code

But none of thing worked for me. [code] <ScrollView android:layout_width="match_parent" android:layout_height="wrap_content"> <LinearLayout android:id="@+id/newl" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:layout_marginTop="145dp" android:drawablePadding="8dp" android:layout_gravity="center_horizontal" android:src="@drawable/ic_clock" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Timetracker" android:fontFamily="LucidaGrande" android:textSize="30dp" android:textAlignment="center" android:layout_marginTop="15dp" android:layout_gravity="center_horizontal" android:id="@+id/tt" android:textColor="#FFFFFF" android:layout_centerHorizontal="true" /> <LinearLayout android:layout_below="@+id/tt" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:layout_marginTop="30dp" > <ImageView android:layout_marginLeft="10dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ico_user" android:layout_centerVertical="true" /> <Spinner android:layout_width="match_parent" android:layout_height="wrap_content" android:backgroundTint="#FFFFFF" android:drawablePadding="12dp" android:textSize="15dp" android:layout_marginRight="45dp" android:fontFamily="Sans Serif" android:layout_centerInParent="true" android:textColor="#FFFFFF" android:background="@android:color/transparent" android:id="@+id/spinner2" /> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_arrow_drop_down_black_24dp" android:layout_alignParentRight="true" android:layout_centerVertical="true"/> </RelativeLayout> <View android:layout_below="@+id/rel" android:layout_width="match_parent" android:background="#FFF" android:layout_marginRight="10dp" android:layout_marginLeft="10dp" android:layout_height="1dp"/> <EditText android:layout_width="match_parent" android:layout_height="wrap_content" android:drawableLeft="@drawable/ic_ico_lock" android:drawablePadding="12dp" android:layout_marginTop="30dp" android:layout_below="@+id/rel" android:layout_marginRight="7dp" android:layout_marginBottom="10dp" android:layout_marginLeft="12dp" android:hint="Password" android:background="@android:color/transparent" android:textColorHint="#FFFFFF" android:textSize="20dp" android:textColor="#FFFFFF" android:id="@+id/editText" android:inputType="textPassword" android:backgroundTint="#FFFFFF" /> <View android:layout_below="@+id/editText" android:layout_width="match_parent" android:background="#FFF" android:layout_marginRight="10dp" android:layout_marginLeft="10dp" android:layout_height="1dp"/> <Button android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="30dp" android:layout_below="@+id/editText" android:layout_marginRight="10dp" android:layout_marginLeft="10dp" android:background="#FFFFFF" android:text="LOG IN" android:id="@+id/log" android:textColor="#D04045"/> </LinearLayout> </LinearLayout> </ScrollView>[/code]
TEP , The Engineering Projects , Icon Answer: 0 TEP , The Engineering Projects , Icon Views: 150 TEP , The Engineering Projects , Icon Followers: 85
Small Bio
TEP , The Engineering Projects , Tags
PLC
Robot
STM32
Arduino
AI
ESP32
Ladder Logic
PLC Projects
Programming
Communicates STM32
PLC Projects
Communicates PLC
Font Style
Alignment
Indenting and Lists
Insert Media
Insert Items

Want to leave an answer!

Word Count :0 Draft Saved at 12:42 am.