學(xué)習(xí)app對excel的讀寫控制
1.界面設(shè)計
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_main" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" tools:context="com.npmaster.myexcel.MainActivity"> <LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/childlayout" android:layout_alignParentTop="true" android:layout_alignParentLeft="true" android:layout_alignParentStart="true"> <TableLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#ffcccccc" android:layout_margin="1dp"> <!-- line1 --> <TableRow android:layout_width="match_parent" android:layout_height="20dp" android:background="#ffcccccc" android:layout_margin="0.5dp"> <TextView android:layout_width="0.0dp" android:layout_height="wrap_content" android:layout_weight="1" android:text="工參數(shù)據(jù)導(dǎo)入" android:id="@+id/tvtip" /> <TextView android:text="默認(rèn)路徑" android:layout_width="0.0dp" android:layout_height="wrap_content" android:layout_weight="2" android:id="@+id/tvpath" /> </TableRow> <!----> <TableRow android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="#ffffcc99" android:layout_margin="0.5dp"> <Button android:text="導(dǎo)入數(shù)據(jù)" android:layout_width="0.0dp" android:layout_height="match_parent" android:id="@+id/btImport" android:textSize="12dp" android:layout_weight="1"/> <Button android:text="清理數(shù)據(jù)" android:layout_width="0.0dp" android:layout_height="match_parent" android:id="@+id/btClear" android:textSize="12dp" android:layout_weight="1"/> </TableRow> </TableLayout> <android.support.v7.widget.RecyclerView android:scrollbars="vertical" android:layout_width="match_parent" android:layout_height="wrap_content" android:divider="#ffff0000" android:dividerHeight="10dp" android:id="@+id/rcvEngineerParameters"/> </LinearLayout> </RelativeLayout>
文章標(biāo)題:Android操作excel功能實例代碼-創(chuàng)新互聯(lián)
本文鏈接:http://chinadenli.net/article42/dcpsec.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供ChatGPT、網(wǎng)站改版、網(wǎng)站收錄、網(wǎng)站維護(hù)、網(wǎng)站設(shè)計公司、移動網(wǎng)站建設(shè)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容