diff --git a/java/res/layout/dictionary_line.xml b/java/res/layout/dictionary_line.xml index 7a06fb0564aa3e0d5a54b60e1d92d280bd9b518b..428a3a139955a5d97ab008c8efca78f8bf3cff6b 100644 --- a/java/res/layout/dictionary_line.xml +++ b/java/res/layout/dictionary_line.xml @@ -65,7 +65,7 @@ android:textColor="?android:attr/textColorSecondary" android:maxLines="1" /> - <ProgressBar + <com.android.inputmethod.dictionarypack.DictionaryDownloadProgressBar android:id="@+id/dictionary_line_progress_bar" style="@android:style/Widget.Holo.ProgressBar.Horizontal" android:layout_width="match_parent" diff --git a/java/src/com/android/inputmethod/dictionarypack/DictionaryDownloadProgressBar.java b/java/src/com/android/inputmethod/dictionarypack/DictionaryDownloadProgressBar.java new file mode 100644 index 0000000000000000000000000000000000000000..39cfb60ff9235bea7f8510b7cdb843cb7240b61f --- /dev/null +++ b/java/src/com/android/inputmethod/dictionarypack/DictionaryDownloadProgressBar.java @@ -0,0 +1,31 @@ +/** + * Copyright (C) 2013 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy + * of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + */ + +package com.android.inputmethod.dictionarypack; + +import android.content.Context; +import android.util.AttributeSet; +import android.widget.ProgressBar; + +public class DictionaryDownloadProgressBar extends ProgressBar { + public DictionaryDownloadProgressBar(final Context context) { + super(context); + } + + public DictionaryDownloadProgressBar(final Context context, final AttributeSet attrs) { + super(context, attrs); + } +}