发布时间:2014-11-25 15:13:34
private void forceShowOverflowIcon(boolean isShow) {try { ViewConfiguration config = ViewConfiguration.get(this); java.lang.reflect.Field menuKeyField = ViewConfiguration.class.getDeclaredField("sHasPermanentMenuKey"); if (menuKeyField != null) { menuKeyField.setAcc.........【阅读全文】
发布时间:2014-11-21 17:37:43
private void setOptionsMenuVisible(int visibility) {int id = Resources.getSystem().getIdentifier("split_action_bar", "id", "android");View optionsMenu = findViewById(id);if (optionsMenu != null) {optionsMenu.setVisibility(visibility);}}......【阅读全文】
发布时间:2014-11-20 13:18:06
private void hideActionBarTitleBar() { int id = Resources.getSystem().getIdentifier("action_bar_container", "id", "android"); getActivity().findViewById(id).setVisibility(View.GONE);;}......【阅读全文】
发布时间:2014-11-01 15:13:54
xml文件:<com.test.ui.view.FlowLayout android:id="@+id/flowlayout" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_gravity="center" .........【阅读全文】