標籤:
應用管理的介面與進程管理的介面是一樣的,
只是增加一個ListView點擊彈出PopupWindow
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <TextView style="@style/title_style" android:text="程式管理" /> <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:padding="3dp" > <TextView android:id="@+id/app_tvMemAvail" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="記憶體可用:" /> <TextView android:id="@+id/app_avial_id" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" android:text="SD卡可用:" /> </RelativeLayout> <FrameLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1"> <ListView android:id="@+id/app_lv_list" android:layout_width="match_parent" android:layout_height="match_parent" /> <LinearLayout android:id="@+id/app_linearlayout_id" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:gravity="center" android:orientation="vertical" > <ProgressBar android:layout_width="wrap_content" android:layout_height="wrap_content" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="正在載入,請稍後..." /> </LinearLayout> <TextView android:id="@+id/app_tv_header" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="使用者應用(0)" android:background="#5e5e5e" android:padding="5dp" android:textColor="#fff" android:textSize="18sp" /> </FrameLayout></LinearLayout>
My Phone管家(16) 應用管理 介面設計