Androidアプリ開発入門 -- ダイアログの実装方法

動作サンプルを確認しましょう activity_main.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"&gt ...

7月11日 20:23 投稿

Android 登enant Wait Indicator実装

AsyncTaskの使用方法を解説した前回の記事に続き、今回は、ログインボタン押下時に表示される著名的な「ローディング中」の UI 作为一种の実装方法を紹介します。ユーザーがログイン情報を入力した後、ボタンをタップすると、一時的な待機ダイアログが表示され、処理が完了するまでユーザーにフィードバックを与えます。 以下にこの機能を簡易的に実装する方法を示します ...

7月7日 17:20 投稿