Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
RemoteViews.setTextViewTextSizeを使用して、ウィジェットのテキストのサイズを動的に設定しようとしています。ウィジェットの寸法に比例するようにしたいと思います。
ウィジェットの寸法をどのように決定しますか?
実際には、あなた自身があなたの寸法をファイルに入れていAppWidgetますXML。したがって、寸法を決定する必要はありません。ウィジェットのサイズ変更可能なインスタンスの場合、寸法を取得できません!
AppWidget
XML