android - How to make a texField open with click of a button? -
i new android programming , there few things don't quite know how yet. doing course on udemy , trying put have learned point. trying have user click on button (i have 12) , have bring textfield can enter 2 numbers. want able user's 2 numbers , i'm pretty sure can figure out rest ( hope). don't understand how go doing this. appreciated. want able have user click on 1 of 12 buttons , asked enter 2 values, take values , perform calculation on it. your xml this: <?xml version="1.0" encoding="utf-8"?> <linearlayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <button android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/b_ok" android:text="click me"/...