問題タブ [android-number-picker]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
android - NumberPickerでMaterialAlertDialogの幅を狭める
NumberPickerだけが含まれるMaterialAlertDialogのレイアウトがあります
NumberPicker 内で使用されるテーマは、Numbers の間の仕切りを閉じるための単なる回避策です。
デバイスでは、Dialog は最大幅で表示され、デバイスの端まで約 16 dp の左右にパディングがあります。MaterialAlertDialog の幅を元の幅の 70% に減らす方法を知っている人はいますか? それらの番号が入っているだけなので、今はかなり空です。