12
Android 앱에서 버튼 클릭으로 두 번째 활동을 여는 방법
Android 애플리케이션을 빌드하는 방법을 배우고 있으며 특정 도움이 필요합니다. 어떤 템플릿 코드를 변경해야하는지, 어떤 비트가 정적인지에 대해 생각할 수없는 것 같습니다. LAYOUT 폴더에 다음과 같은 ACTIVITY_MAIN.XML 이 있습니다. <?xml version="1.0" encoding="utf-8"?> <LinearLayout 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:orientation="horizontal"> <Button android:id="@+id/button1" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/main_buttons_photos" /> </LinearLayout> 다음으로 두 번째 활동 인 ACTIVITY_SEND_PHOTOS.XML …