안드로이드 개발 질문/답변
(글 수 45,052)
검색어 : listview 리스트뷰
해도 안나오던 ㅠㅠ 수백개 뒤졌는데 제가 바보인건지 ㅠㅠ 왜 안나오지;;;
제가 생각한 구현은
이 부분은 배경이 나오는 부분
|
버튼 3개를 이용해서 탭 을 만들려고하는데.. 저렇게 할려고합니다..
근대 문제는 첨부 파일을 보시면 아시듯이.. 오른쪽으로 선이 쭈욱 늘어납니다;;
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content"> <TableLayout android:layout_width="wrap_content" android:layout_height="wrap_content"> <TableRow> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="A" android:id="@+id/btn1" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="B" android:id="@+id/btn2" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="C" android:id="@+id/btn3" />
</TableRow> <ListView android:id="@+id/list" android:layout_width="match_parent" android:layout_height="wrap_content" />
</TableLayout>
</LinearLayout>
사실 이거말고 여러가지를 했는데에도... 줄이 오른쪽으로 쭈욱 가는것은 어쩔수 없더라고요;
일부러 오른쪽에 뭔가 넣어보기도 했는데 영 시원치않기도하고 마음대로 뭔가를 집어넣을수 없는 상황이라서 ㅠㅠㅠ
아웅 부탁드립니다 ㅠㅠ 형님들 동생 살려준다고 생각하시고 제발 ㅠㅠ
그리고 좋은 하루되세요.
다음 다이어터 재밌어요 강추!!!
리스트뷰를 좌우로 스크롤하시려는건가요?