MarginLayoutParams
MarginLayoutParams layoutParams = new MarginLayoutParams(
? ? ? ?LayoutParams.WRAP_CONTENT,
? ? ? ?LayoutParams.WRAP_CONTENT);
不能生成layoutParams樣式,Alt+Enter后,也沒用,提示should pass resolved pixel dimension,網上也搜不到,也沒有忽略錯誤選項,請老師幫忙解決
MarginLayoutParams layoutParams = new MarginLayoutParams(
? ? ? ?LayoutParams.WRAP_CONTENT,
? ? ? ?LayoutParams.WRAP_CONTENT);
不能生成layoutParams樣式,Alt+Enter后,也沒用,提示should pass resolved pixel dimension,網上也搜不到,也沒有忽略錯誤選項,請老師幫忙解決
2017-02-18
舉報
2017-02-25
ViewGroup.MarginLayoutParams lp = new ViewGroup.MarginLayoutParams(
? ? ? ?ViewGroup.LayoutParams.WRAP_CONTENT,
? ? ? ?ViewGroup.LayoutParams.WRAP_CONTENT);