drawable_loading.xml
<animation-list xmlns:android="http://schemas.android.com/apk/res/android" android:oneshot="false"> |
drawble_loading_style.xml
<?xml version="1.0" encoding="utf-8"?> |
view_ani_loading.xml
<?xml version="1.0" encoding="utf-8"?> |
style.xml
<style name="customDialog"> <item name="android:windowFrame">@null</item> <!-- 다이얼로그 테두리 없애기 --> |
BaseFrag.java
View loading_view = (View)getAct().getLayoutInflater().inflate(R.layout.view_ani_loading, null); ImageView img = (ImageView)loading_view.findViewById(R.id.loading_img); |
통신시작
mAnim.start();
mLoaingDialog.show();
통신끝
mCountDownTimer.start();
'안드로이드' 카테고리의 다른 글
안드로이드 os 빌드 실습 (0) | 2017.12.07 |
---|---|
[ERROR]android:singleLine is deprecated: False is the dsfault, so just remove the attribute.. (0) | 2016.08.10 |
Glide Transformations - 이미지 변형 (0) | 2016.05.17 |
Set recyclerView span dynamically (0) | 2016.04.27 |
[펌]glide (0) | 2016.04.26 |