aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/layout
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2013-04-24 20:31:39 +0900
committerJean Chalard <jchalard@google.com>2013-04-26 20:34:56 +0900
commitab0c66b9d1f732a0dc372abd6d113d2cac33b8ac (patch)
treee6dce70e4c45827218035f1341d80dfad1fab947 /java/res/layout
parentae577ac1dbe94e120715e7ce551c6a07213e8cc8 (diff)
downloadlatinime-ab0c66b9d1f732a0dc372abd6d113d2cac33b8ac.tar.gz
latinime-ab0c66b9d1f732a0dc372abd6d113d2cac33b8ac.tar.xz
latinime-ab0c66b9d1f732a0dc372abd6d113d2cac33b8ac.zip
[PB10] Add a progress bar to display file download progress
The progress bar is showing but doesn't show progress yet. Bug: 7600384 Change-Id: I80debd3f4368e82e4184a6c638bdcc8e48ed2305
Diffstat (limited to 'java/res/layout')
-rw-r--r--java/res/layout/dictionary_line.xml30
1 files changed, 17 insertions, 13 deletions
diff --git a/java/res/layout/dictionary_line.xml b/java/res/layout/dictionary_line.xml
index 9ddbcf714..7a06fb056 100644
--- a/java/res/layout/dictionary_line.xml
+++ b/java/res/layout/dictionary_line.xml
@@ -52,23 +52,27 @@
android:ellipsize="marquee"
android:fadingEdge="horizontal" />
- <TextView
- android:id="@+android:id/summary"
- android:layout_marginLeft="5dip"
- android:layout_marginStart="5dip"
+ <FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:textAppearance="?android:attr/textAppearanceSmall"
- android:textColor="?android:attr/textColorSecondary"
- android:maxLines="1" />
+ android:layout_marginStart="5dip">
+
+ <TextView
+ android:id="@+android:id/summary"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:textColor="?android:attr/textColorSecondary"
+ android:maxLines="1" />
- <!-- <ProgressBar -->
- <!-- android:id="@+id/dictionary_line_progress_bar" -->
- <!-- style="@android:style/Widget.Holo.ProgressBar.Horizontal" -->
- <!-- android:layout_width="match_parent" -->
- <!-- android:layout_height="match_parent" -->
- <!-- android:gravity="center" /> -->
+ <ProgressBar
+ android:id="@+id/dictionary_line_progress_bar"
+ style="@android:style/Widget.Holo.ProgressBar.Horizontal"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center" />
+ </FrameLayout>
</LinearLayout>
<com.android.inputmethod.dictionarypack.ButtonSwitcher