Appwidget size calculation

后端 未结 4 740
说谎
说谎 2020-12-12 17:34

It might be me, but when I calculate minimum app widget sizes according to the formula given on the android page I don\'t get the right widget widths; The formula is as foll

4条回答
  •  萌比男神i
    2020-12-12 18:29

    note: if you target pre-Honeycomb (or don't specify targetSdkVersion while specifying a minSdkVersion prior to honeycomb) then the honeycomb grid (and ICS grid) calculations don't take effect. Downside of this is you miss out on newer OS features, but if you don't actually need them then keeping target pre-honeycomb will save the hassle of customised xml folders.

提交回复
热议问题