This Activity already has an action bar supplied by the window decor
<style name=”AppTheme” parent=”Theme.AppCompat.Light.DarkActionBar”> <!– Customize your theme here. –> <item name=”colorPrimary”>@color/colo…
阅读全文 »已阅读 776 次<style name=”AppTheme” parent=”Theme.AppCompat.Light.DarkActionBar”> <!– Customize your theme here. –> <item name=”colorPrimary”>@color/colo…
阅读全文 »已阅读 776 次在我们做UI的过程中经常会遇到出的UI图很小导致于有些button的点击区域很小,所以我们需要扩大点击区域,就出现了如下解决方案。 public static void expandTouchArea(View view, int size) { View parentView = (View) view.getPar…
阅读全文 »已阅读 1,553 次