ALPHA-3R 攜帶型 熱感式 條碼列印機 行動列印 超值選擇 · Alpha-3R 解析度 8 點/毫米 (203 DPI) 列印模式 熱感式 最大列印速度 102 毫米 (4”) /秒
條列式選單
description
Transcript of 條列式選單
條列式選單
範例結果如下:
分頁選單
分頁選單如下圖的 Tab 選單,存放這些 Tab 則是使用 TabHost ,此分頁選單為 Android 內建選單。
分頁選單
每個 Tab 對應到一個 LinearLayout , XML 如下所示:<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<!-- 第一個 Tab 佈局 -->
<LinearLayout android:id="@+id/first_tab_layout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
androidrientation="vertical" >
<!-- 可自訂元件在此 -->
<TextView android:text=" 撥出來電資訊 "
android:textSize="40sp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"></TextView>
</LinearLayout>
分頁選單
每個 Tab 對應到一個 LinearLayout , XML 如下所示:<!-- 第二個 Tab 佈局 -->
<LinearLayout android:id="@+id/second_tab_layout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
androidrientation="vertical" >
<!-- 可自訂元件在此 -->
<TextView android:text=" 接聽來電資訊 "
android:textSize="40sp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"></TextView>
</LinearLayout>
<!-- 第三個 Tab 佈局 -->
<LinearLayout android:id="@+id/third_tab_layout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
androidrientation="vertical">
<!-- 可自訂元件在此 -->
<TextView android:text=" 未接來電資訊 "
android:textSize="40sp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"></TextView>
</LinearLayout>
</FrameLayout>