안드로이드 개발 질문/답변
(글 수 45,052)
main.xml에서 layout탭에서 물어보는것입니다
이렇게 만들려고 하는데 아무리 해도 안되네요
비디오뷰는 들어가는데 버튼은 나오질 않고 비디오뷰의 properties 에서 layout margin bottom을 조정해보았지만 버튼은 나오지 않더군요
차근차근한 도움 부탁드립니다
2010.07.27 11:00:40
전 그냥 스타트버튼과 정지 버튼을 만들고 싶을 뿐입니다 ㅋㅋㅋㅋ
지금은 아직 초보라 간단간단한 것만 골라서 만들어보자 싶어서 한것이지만...
현재는 "왤케 힘들어!!! ㅠㅠ " 입니다
지금은 아직 초보라 간단간단한 것만 골라서 만들어보자 싶어서 한것이지만...
현재는 "왤케 힘들어!!! ㅠㅠ " 입니다
2010.07.27 11:54:19
(추천:
1 / 0)
각 레이아웃들 개념정리까지 하면 분량이 많아져서 소스만 올립니다.
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" android:gravity="center_vertical|center_horizontal"> <VideoView android:id="@+id/mVideoView" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="9"/> <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:orientation="horizontal" android:gravity="center_vertical|center_horizontal" android:layout_weight="1"> <ImageButton android:id="@+id/ImageButton01" android:layout_width="wrap_content" android:layout_height="wrap_content"/> <ImageButton android:id="@+id/ImageButton02" android:layout_width="wrap_content" android:layout_height="wrap_content"/> </LinearLayout> </LinearLayout>
위 방법 외에도 여러가지 방법으로 구현할 수 있으니 그건 레이아웃 차근차근 공부 하시면 될꺼에요.