Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4 ** Copyright 2009, The Android Open Source Project
      5 **
      6 ** Licensed under the Apache License, Version 2.0 (the "License");
      7 ** you may not use this file except in compliance with the License.
      8 ** You may obtain a copy of the License at
      9 **
     10 **     http://www.apache.org/licenses/LICENSE-2.0
     11 **
     12 ** Unless required by applicable law or agreed to in writing, software
     13 ** distributed under the License is distributed on an "AS IS" BASIS,
     14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     15 ** See the License for the specific language governing permissions and
     16 ** limitations under the License.
     17 */
     18 -->
     19 
     20 <ScrollView
     21     xmlns:android="http://schemas.android.com/apk/res/android"
     22     android:layout_height="match_parent"
     23     android:layout_width="match_parent">
     24 
     25     <LinearLayout
     26         android:layout_height="match_parent"
     27         android:layout_width="match_parent"
     28         android:orientation="vertical">
     29 
     30         <TextView
     31             android:id="@+id/line1_view"
     32             android:layout_width="match_parent"
     33             android:layout_height="wrap_content"
     34             android:layout_marginLeft="20dip"
     35             android:layout_marginRight="20dip"
     36             android:textAppearance="?android:attr/textAppearanceMedium"
     37             android:text="@string/download_line1" />
     38 
     39         <TextView
     40             android:id="@+id/line2_view"
     41             android:layout_width="match_parent"
     42             android:layout_height="wrap_content"
     43             android:layout_marginLeft="20dip"
     44             android:layout_marginRight="20dip"
     45             android:textAppearance="?android:attr/textAppearanceMedium"
     46             android:text="@string/download_line2" />
     47 
     48         <TextView
     49             android:id="@+id/line3_view"
     50             android:layout_width="match_parent"
     51             android:layout_height="wrap_content"
     52             android:layout_marginLeft="20dip"
     53             android:layout_marginRight="20dip"
     54             android:textAppearance="?android:attr/textAppearanceMedium"
     55             android:text="@string/download_line3" />
     56 
     57         <TextView
     58             android:id="@+id/line4_view"
     59             android:layout_width="match_parent"
     60             android:layout_height="wrap_content"
     61             android:layout_marginLeft="20dip"
     62             android:layout_marginRight="20dip"
     63             android:textAppearance="?android:attr/textAppearanceSmall"
     64             android:text="@string/download_line4" />
     65 
     66         <TextView
     67             android:id="@+id/line5_view"
     68             android:layout_width="match_parent"
     69             android:layout_height="wrap_content"
     70             android:gravity="center"
     71             android:layout_marginLeft="20dip"
     72             android:layout_marginRight="20dip"
     73             android:textAppearance="?android:attr/textAppearanceSmall"
     74             android:text="@string/download_line5" />
     75 
     76         <LinearLayout
     77             android:orientation="horizontal"
     78             android:layout_width="match_parent"
     79             android:layout_height="wrap_content"
     80             >
     81 
     82             <TextView
     83                 android:id="@+id/progress_percent"
     84                 android:layout_height="wrap_content"
     85                 android:layout_width="wrap_content"
     86                 android:layout_marginLeft="20dip"
     87                 android:textAppearance="?android:attr/textAppearanceSmall"
     88                 android:gravity="left" />
     89 
     90             <ProgressBar android:id="@+id/progress_transfer"
     91                 style="?android:attr/progressBarStyleHorizontal"
     92                 android:layout_height="wrap_content"
     93                 android:layout_marginLeft="10dip"
     94                 android:layout_marginRight="20dip"
     95                 android:layout_width="0dip"
     96                 android:layout_weight="1"
     97                 android:max="100"
     98                 android:progress="100" />
     99         </LinearLayout>
    100 
    101     </LinearLayout>
    102 
    103  </ScrollView>