Why text of EditText is not chanigng when i click the button

I have a app written in kotlin i want to fill the username field and password field and when i want to click the login button i want that the text of username field should be set to hello but this is not working class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState)… Read More Why text of EditText is not chanigng when i click the button

How do I start typing my description box in EditText from the top line in Android Studio?

I have added the picture to show that my current description box does not start from the first line when I start to type, how do I make it to start from the top left corner? <EditText android:id="@+id/et_message" android:layout_width="350dp" android:layout_height="150dp" android:layout_marginLeft="25dp" android:layout_marginTop="390dp" android:background="@color/white"/> I have added my xml code for the description box above. >Solution… Read More How do I start typing my description box in EditText from the top line in Android Studio?

Why does Android multiline EditText with android:imeOptions="actionNext" work in Google Keep?

I’m developing an app that lets you (among the other opportunities) create little notes. Note consists of a title and a body. And the perfect behavior would be to have multiline title with imeOption "actionNext" on a keyboard to move to note content after finishing typing a title. Official Google docs say, that if you… Read More Why does Android multiline EditText with android:imeOptions="actionNext" work in Google Keep?