共 260 篇文章 |
|
''模拟鼠标左键双击(即快速的两次单击) oExcel.Run "mouse_event", MOUSEEVENTF_LEFTDOWN + MOUSEEVENTF_LEFTUP, 0, 0, 0, 0 oExcel.Run "mouse_event", MOUSEEVENTF_LEFTDOWN + MOUSEEVENTF_LEFTUP, 0, 0, 0, 0.''模拟鼠标右键单击 oExcel.Run "mouse_event", MOUSEEVENTF_RIGHTDOWN + MOUSE... 阅4145 转8 评0 公众公开 17-09-01 14:21 |
正则表达式是由普通字符(例如字符 a 到 z)以及特殊字符(称为"元字符")组成的文字模式。通过在 *、+ 或 ?限定符之后放置 ?,该表达式从"贪心"表达式转换为"非贪心"表达式或者最小匹配。下面的表达式匹配单词 Chapter 的开头三个字符,因为这三个字符出现字边界后面:第一个括号子表达式包含"http"... 阅27 转0 评0 公众公开 16-12-31 06:40 |
><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <TextView android:id="@+id/txt_content" android:layout_width="match_paren... 阅61 转0 评0 公众公开 16-11-19 18:05 |
/** * Created by Jay on 2015/8/28 0028. */public class MyFragment1 extends Fragment { public MyFragment1() { } @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.inflate(R.layout.fg_content, container, false);} @Override public Fragment ge... 阅16 转0 评0 公众公开 16-11-19 18:05 |
><selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@mipmap/tab_better_pressed" android:state_selected="true" /> <item android:drawable="@mipmap/tab_better_normal" /></selector>} @Override public void onClick(... 阅28 转0 评0 公众公开 16-11-19 18:05 |
><selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_selected="true"> <shape> <solid android:color="#FFC4C4C4" /> </shape> </item> <item> <shape> <solid android:color="@color/transparent"... 阅30 转0 评0 公众公开 16-11-19 18:04 |
><selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_selected="true"> <shape> <solid android:color="#FFC4C4C4" /> </shape> </item> <item> <shape> <solid android:color="@color/transparent"... 阅59 转0 评0 公众公开 16-11-19 18:04 |
><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" ><ImageView android:id="@+id/img_test" android:layout_width="match_parent" android:layout_height="match... 阅84 转0 评0 公众公开 16-11-19 18:03 |
} private void bindView() { btn_dialog_one = (Button) findViewById(R.id.btn_dialog_one);btn_dialog_four = (Button) findViewById(R.id.btn_dialog_four);><selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_pressed="true" android:drawable="@mipmap/... 阅363 转3 评0 公众公开 16-11-19 17:57 |
2.5.8 Notification(状态栏通知)详解 | 菜鸟教程本节引言:Notification:通知信息类,它里面对应了通知栏的各个属性。获得NotificationManager对象:NotificationManager mNManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);Step 2. 创建一个通知栏的Builder构造类:Notification.Builder mBuilder = new Notificatio... 阅76 转0 评0 公众公开 16-11-19 17:57 |