AndroidのGUI部品に関する問題と解決方法
URI | http://harp.lib.hiroshima-u.ac.jp/hkg/metadata/12058 | ||||||
---|---|---|---|---|---|---|---|
File |
AA11419398_54_p1.pdf
( 219.0 KB )
Open Date
:2022-02-09
|
||||||
Title |
AndroidのGUI部品に関する問題と解決方法
|
||||||
Title Alternative |
Problems and Solutions of Android GUI Components
|
||||||
Author |
|
||||||
Subject |
Android
GUI
Material Components
Radio Button
Modal Bottom Sheet
マテリアルコンポーネント
ラジオボタン
モーダルボトムシート
|
||||||
Abstract |
Google provides graphical user interface(GUI) parts called Material Components to Android, Web, and Flutter. However, some Material Components lack a sense of unity and are not properly implemented. In this paper, I report on the problems related to Android Material Components that I encountered when developing Android apps and how to solve them. When a radio button or check box is pressed, the visual reaction that spreads radially lacks a sense of unity, but it can be unified by customizing the theme. The height of the scroll bar on the modal bottom sheet does not change at all, and we may not know that part of the modal bottom sheet is not displayed. To solve this problem, the default scroll bar is turned off and is drawn manually when the modal bottom sheet is only displaying 50% of the screen height. Google は,マテリアルコンポーネントという名称のGUI 部品をAndroid,Web,Flutter に提供している。しかし,マテリアルコンポーネントには統一感に欠けるものや実装が適切でないものが存在する。本稿では,Androidのアプリを開発した際に遭遇した,Android のマテリアルコンポーネントに関する問題とその解決方法を報告する。ラジオボタン,チェックボックスが押された際などに放射状に広がる視覚的反応は統一感に欠けるが,テーマをカスタマイズすることにより,統一することができる。モーダルボトムシートのスクロールバーの高さが全く変化せず,モーダルボトムシートの一部が表示されていないことが分からない場合がある。この問題を解決するために,モーダルボトムシートを画面の高さの50%分しか表示していない時にデフォルトのスクロールバーを表示せず,手動で描画するようにした。 |
||||||
Description Peer Reviewed |
査読無
|
||||||
Journal Title |
広島国際学院大学研究報告
|
||||||
Volume |
54
|
||||||
Spage |
1
|
||||||
Epage |
5
|
||||||
Published Date |
2021-12
|
||||||
Publisher |
広島国際学院大学
|
||||||
ISSN |
1345-3858
|
||||||
NCID |
AA11419398
|
||||||
Language |
jpn
|
||||||
NIIType |
Departmental Bulletin Paper
|
||||||
Text Version |
出版社版
|
||||||
Set |
hkg
|