기술참고자료/Android | 2011. 5. 6. 14:04
1.<?xml version="1.0" encoding="utf-8"?>
2.<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3. android:orientation="vertical"
4. android:layout_width="fill_parent"
5. android:layout_height="fill_parent"
6. >
7.<ProgressBar android:id="@+id/ProgressBar01" android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:indeterminateDrawable="@drawable/progress_large"/>
8.</LinearLayout>
01.<?xml version="1.0" encoding="utf-8"?>바 로 progress_lage.xml 은 animated-rotate 라는 태그를 보시면보시면 알듯이 회전 애니메이션에 대한 정의가 되어 있습니다. 다른건 별로 중요하지 않지만않지만 android:drawable="@drawable/spinner_white_76" 는 중요하죠.
02.<!--
03./*
04.**
05.** Copyright 2009, The Android Open Source Project
06.**
07.** Licensed under the Apache License, Version 2.0 (the "License");
08.** you may not use this file except in compliance with the License.
09.** You may obtain a copy of the License at
10.**
11.** http://www.apache.org/licenses/LICENSE-2.0
12.**
13.** Unless required by applicable law or agreed to in writing, software
14.** distributed under the License is distributed on an "AS IS" BASIS,
15.** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16.** See the License for the specific language governing permissions and
17.** limitations under the License.
18.*/
19.-->
20.<animated-rotate xmlns:android="http://schemas.android.com/apk/res/android"
21. android:drawable="@drawable/spinner_white_76"
22. android:pivotX="50%"
23. android:pivotY="50%"
24. />
[Android] 코드에서 EditText의 inputType을 password로 지정하기!! (0) | 2011.05.06 |
---|---|
[Android] 로그캣(logcat) 한글출력 (0) | 2011.05.06 |
[Android] BroadcastReceiver 샘플테스트 (0) | 2011.05.06 |
[Android] Parcelable을 이용해 액티비티간 인텐트로 객체넘기기 (1) | 2011.05.06 |
[Android] Wifi 다루기 (0) | 2011.05.06 |
Recent Comments