Created
April 16, 2017 09:19
-
-
Save oatpano/9cfb02696a5c6e1c1c205bf19ca805e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private LinearLayout layoutForm; | |
private LinearLayout layoutProgress; | |
private LinearLayout layoutResult; | |
private EditText edUsername; | |
private Button btSend; | |
private TextView tvResult; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
setContentView(); | |
initInstance() | |
} | |
private void initInstance() { | |
//Layout Form | |
layoutForm = (LinearLayout) findViewById(R.id.layoutForm); | |
edUsername = (EditText) findViewById(R.id.edUsername); | |
btSend= (Button) findViewById(R.id.btSend); | |
//Layout Progress | |
layoutProgress = (LinearLayout) findViewById(R.id.layoutProgress); | |
//Layout Result | |
layoutResult = (LinearLayout) findViewById(R.id.layoutResult); | |
tvResult = (TextView) findViewById(R.id.tvResult); | |
//setOnClick | |
btOk.setOnClickListener(onBtSendClickListener); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment