当我设置按钮的背景时,Android按钮显示效果消失

时间:2015-11-02 12:30:26

标签: android button android-theme

当我在android中设置按钮的背景时,单击按钮显示效果消失,我将此主题用作我的父主题System.Linq.Expressions 我正在为foreach (var property in typeof(DiagTab).GetProperties()) { string name = property.Name; if (name == "ID_Diag") { continue; } // no column 1 and 2 if (name == "Reponse") { continue; } // selector = (DiagTab source) => (int)source.Property var source = Expression.Parameter(typeof(DiagTab), "source"); var selector = Expression.Lambda<Func<DiagTab, int>>( Expression.Convert(Expression.Property(source, property), typeof(int)), source); int sum = db.DiagTabs.Sum(selector); dictionary.Add(name, sum); }

设置按钮的背景

0 个答案:

没有答案