나는 안드로이드 초보자입니다. 로그인 페이지 디자인 (사용자 이름 암호 사용)을 생성하여 sqlite 데이터베이스에서 데이터를 검색하려고합니다. 너 나 좀 도와 줄 수있어? 등의 Gmail안드로이드 로그인 페이지 디자인
0
A
답변
0
당신은 배치를 사용할 수 있습니다와 같은 예를 들어 :
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="fill_parent"
android:layout_gravity="fill_horizontal"
android:fillViewport="true"
android:scrollbarStyle="insideInset"
android:scrollbars="horizontal|vertical" >
<FrameLayout
android:id="@+id/frameLayout1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/white" >
<TableLayout
android:id="@+id/tablelayout"
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<TableRow
android:id="@+id/tablerow1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center" >
<TableLayout
android:id="@+id/tablerow1_tablelayout1"
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<TableRow
android:id="@+id/frameLayout1_tblLayout1_tableRow1_tbllayout1_tableRow2"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/frameLayout1_tblLayout1_tableRow1_tbllayout1_tableRow2_txtviewspace"
android:layout_width="30px"
android:layout_height="100px" />
</TableRow>
</TableLayout>
</TableRow>
<TableRow
android:id="@+id/tablerow2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center" >
<TableLayout
android:id="@+id/tablerow2_tablelayout1"
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<TableRow
android:id="@+id/tablerow1_tablelayout1_tablerow1"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/tablerow1_tablelayout1_tablerow1_viewspace1"
android:layout_width="30px"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/tablerow1_tablelayout1_tablerow1_u_id"
android:layout_width="150px"
android:layout_height="wrap_content"
android:text="User Name: "
android:textColor="@color/black"
android:textSize="20sp"
android:textStyle="bold" />
<TextView
android:id="@+id/tablerow1_tablelayout1_tablerow1_viewspace2"
android:layout_width="30px"
android:layout_height="wrap_content" />
<EditText
android:id="@+id/loginedituid"
android:layout_width="200px"
android:layout_height="wrap_content"
android:inputType="text"
android:maxLength="10"
android:singleLine="true" />
</TableRow>
<TableRow
android:id="@+id/tablerow2_tablelayout1_tablerow1"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/tablerow2_tablelayout1_tablerow1_viewspace1"
android:layout_width="30px"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/tablerow2_tablelayout1_tablerow1_pasword"
android:layout_width="150px"
android:layout_height="wrap_content"
android:text="Password: "
android:textColor="@color/black"
android:textSize="20sp"
android:textStyle="bold" />
<TextView
android:id="@+id/tablerow2_tablelayout1_tablerow1_viewspace2"
android:layout_width="30px"
android:layout_height="wrap_content" />
<EditText
android:id="@+id/editpswrd"
android:layout_width="200px"
android:layout_height="wrap_content"
android:inputType="textPassword"
android:maxLength="10"
android:singleLine="true" />
<TextView
android:id="@+id/tablerow2_tablelayout1_tablerow1_viewspace3"
android:layout_width="30px"
android:layout_height="wrap_content" />
</TableRow>
</TableLayout>
</TableRow>
<TableRow
android:id="@+id/tablerow3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center" >
<TableLayout
android:id="@+id/tablerow3_tablelayout1"
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<TableRow
android:id="@+id/frameLayout1_tblLayout1_tableRow1_tbllayout1_tableRow2"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/frameLayout1_tblLayout1_tableRow1_tbllayout1_tableRow2_txtviewspace"
android:layout_width="10px"
android:layout_height="30px" />
</TableRow>
<TableRow
android:id="@+id/frameLayout1_tblLayout1_tableRow1_tbllayout1_tableRow2"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/frameLayout1_tblLayout1_tableRow1_tbllayout1_tableRow2_txtviewspace"
android:layout_width="30px"
android:layout_height="30px" />
</TableRow>
<TableRow android:id="@+id/frameLayout1_tblLayout1_tableRow1_tbllayout1_tableRow2" >
<TableRow
android:id="@+id/tablerow3_tablelayout1_tablerow1"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/tablerow3_tablelayout1_tablerow1_viewspace1"
android:layout_width="130px"
android:layout_height="30px" />
<Button
android:id="@+id/btnlogin"
android:layout_width="150px"
android:layout_height="60px"
android:text="LOGIN"
android:textStyle="bold" />
<TextView
android:id="@+id/tablerow3_tablelayout1_tablerow1_viewspace1"
android:layout_width="130px"
android:layout_height="30px" />
<Button
android:id="@+id/btnexit"
android:layout_width="150px"
android:layout_height="60px"
android:text="EXIT"
android:textStyle="bold" />
</TableRow>
</TableRow>
</TableLayout>
</TableRow>
</TableLayout>
</FrameLayout>
이는 로그인 디자인 될 것입니다.
관련 문제
- 1. 안드로이드 서버; 로그인 페이지
- 2. 안드로이드 탭을 사용한 디자인 로그인 및 등록 페이지
- 3. 안드로이드 : 데이터베이스 연결, 데이터 확인, 로그인 페이지
- 4. drupal의 로그인 페이지 페이지
- 5. 안드로이드 : 페이스 북 로그인
- 6. 로그인 디자인 프리즘 4.0
- 7. 로그인 상자 디자인
- 8. "로그인 상태 유지"로그인 페이지
- 9. 안드로이드 레이아웃 디자인 도움말
- 10. 안드로이드 게임 디자인
- 11. 이클립스 안드로이드 레이아웃 디자인
- 12. 연습 안드로이드 디자인 통계?
- 13. 약 안드로이드 뷰 디자인
- 14. 레이아웃 디자인 안드로이드
- 15. 안드로이드 디자인 템플릿
- 16. 안드로이드 버튼 디자인 도구
- 17. 안드로이드 용 디자인 패턴
- 18. 안드로이드 사용자 인터페이스 디자인
- 19. 안드로이드 애플리케이션을위한 애니메이션 디자인
- 20. 안드로이드 .xml 디자인
- 21. 안드로이드 그래픽 디자인
- 22. 안드로이드 보드에서 레이아웃 디자인
- 23. 약 안드로이드 인터페이스 디자인
- 24. 웹 페이지 디자인 (html)
- 25. 페이지 뷰 클래스 디자인
- 26. 디자인 사이트 맵 페이지
- 27. 웹 페이지 디자인
- 28. 웹 페이지 디자인 문제
- 29. ASP.Net 페이지 디자인 도구
- 30. 한 페이지 디자인
어떤 데이터베이스가 있습니까? 그것은 장치에 allready? – rekire
http://developer.android.com/에서 Android 기능의 데이터베이스 기능을 참조하십시오. – Dhruvisha
당신은 먼저 자기 자신을 할 수있을 것입니다 안드로이드에서 자신의 데이터베이스 프로그래밍을 배워야한다 ... – himanshu