Skip to content

Instantly share code, notes, and snippets.

@ziadasem
ziadasem / JavaActivity.java
Last active November 28, 2023 22:41
Basic AppCompatActivity class with two buttons and TextInputLayout
public class JavaActivity extends AppCompatActivity {
Button flutterJavaNavigationButton;
Button kotlinSendingButton ;
TextInputLayout textInputLayout ;
TextView resultTV ;
@Override
@ziadasem
ziadasem / activity_main.xml
Created November 18, 2023 12:39
activity_main file for MainActivity Java Class
<?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:padding="8sp"
android:orientation="vertical">
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"