« first day (37 days earlier)    last day (14 days later) » 

5:10 AM
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.example.dsa.MainActivity" >

<ScrollView
android:layout_width="match_parent"
 
5:26 AM
@android_su have u checked
is it correct
 
@AbhishekChaubey , My EditText is not at the top of the Activity.
@AbhishekChaubey if EditText is at the top of the Activity, then everything works fine. But it is in the middle of the Activity. So the "OK" button covers my EditText.
 
okay let me do that and i will be back in while
 
@AbhishekChaubey, thanks so much!!
 
@android_su
 
I see that. That's what I want!
@AbhishekChaubey
 
5:38 AM
i haven't change anything only i have changed some assets of edittext properties
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.example.dsa.MainActivity" >

<Button
android:id="@+id/button1"
android:layout_width="match_parent"
the layout which you provided is the whole layout@android_su
 
@AbhishekChaubey I know what you do, the same as Daud Arfin suggestion. You put the button first, then put ScrollView above the button.
 
exactly
is it helpful
?
 
I will try this now. But I want ScrollView + button fill the whole activity. Maybe a problem here.
@A
@AbhishekChaubey
 
@AbhishekChaubey
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/ok">
I put ScrollView in a LinearLayout. Now everything's works fine.
@AbhishekChaubey Thanks so so so much!!
 
5:59 AM
please vote me up i am going to answer this one
@android_su
 
@AbhishekChaubey done.
 
thanks buddy
 
good morning every one
 
good morning
 

« first day (37 days earlier)    last day (14 days later) »