Skip to content

Commit 5784742

Browse files
committed
Merge branch 'dev'
Conflicts: dist/build-full.jardesc dist/build.jardesc src/com/androidquery/util/Constants.java
2 parents 2987c64 + b8f337a commit 5784742

6 files changed

Lines changed: 29 additions & 11 deletions

File tree

demo/res/layout/source_activity.xml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@
6464
android:visibility="gone"
6565
/>
6666

67+
68+
6769
<ProgressBar
6870
android:id="@+id/progress"
6971
android:layout_width="wrap_content"
@@ -73,15 +75,25 @@
7375
/>
7476

7577

76-
<ProgressBar
77-
android:id="@+id/progress_bar"
78+
79+
<LinearLayout
80+
android:id="@+id/progress_box"
7881
android:layout_width="fill_parent"
7982
android:layout_height="wrap_content"
80-
android:layout_margin="5dip"
81-
style="@android:style/Widget.ProgressBar.Horizontal"
8283
android:layout_gravity="center_horizontal"
83-
android:visibility="gone"
84-
/>
84+
>
85+
86+
<ProgressBar
87+
android:id="@+id/progress_bar"
88+
android:layout_width="fill_parent"
89+
android:layout_height="wrap_content"
90+
android:layout_margin="5dip"
91+
style="@android:style/Widget.ProgressBar.Horizontal"
92+
android:layout_gravity="center_horizontal"
93+
android:visibility="gone"
94+
/>
95+
96+
</LinearLayout>
8597

8698
<ImageView
8799
android:id="@+id/image"

demo/src/com/androidquery/test/image/ImageLoadingActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public void image_progress_bar(){
170170
String imageUrl = "http://farm6.static.flickr.com/5035/5802797131_a729dac808_b.jpg";
171171
aq.id(R.id.image).progress(R.id.progress_bar).image(imageUrl, false, false);
172172

173-
173+
//aq.id(R.id.image).progress(R.id.progress_box).image(imageUrl, false, false);
174174
}
175175

176176
public void image_animation(){

dist/build-full.jardesc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<?xml version="1.0" encoding="WINDOWS-1252" standalone="no"?>
22
<jardesc>
3-
<jar path="AndroidQuery/dist/android-query-full.0.23.15.jar"/>
3+
4+
<jar path="AndroidQuery/dist/android-query-full.0.23.16.jar"/>
5+
46
<options buildIfNeeded="true" compress="true" descriptionLocation="/AndroidQuery/dist/build-full.jardesc" exportErrors="true" exportWarnings="true" includeDirectoryEntries="false" overwrite="true" saveDescription="true" storeRefactorings="false" useSourceFolders="false"/>
57
<storedRefactorings deprecationInfo="true" structuralOnly="false"/>
68
<selectedProjects/>

dist/build.jardesc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<?xml version="1.0" encoding="WINDOWS-1252" standalone="no"?>
22
<jardesc>
3-
<jar path="AndroidQuery/dist/android-query-0.23.15.jar"/>
3+
4+
<jar path="AndroidQuery/dist/android-query.0.23.16.jar"/>
5+
46
<options buildIfNeeded="true" compress="true" descriptionLocation="/AndroidQuery/dist/build.jardesc" exportErrors="true" exportWarnings="true" includeDirectoryEntries="false" overwrite="true" saveDescription="true" storeRefactorings="false" useSourceFolders="false"/>
57
<storedRefactorings deprecationInfo="true" structuralOnly="false"/>
68
<selectedProjects/>

src/com/androidquery/util/Common.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ public static void showProgress(Object p, String url, boolean show){
511511
if(tag == null || tag.equals(url)){
512512
pv.setTag(AQuery.TAG_URL, null);
513513

514-
if(pbar != null && pbar.isIndeterminate()){
514+
if(pbar == null || pbar.isIndeterminate()){
515515
pv.setVisibility(View.GONE);
516516
}
517517
}

src/com/androidquery/util/Constants.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
public interface Constants {
2020

2121

22-
public static final String VERSION = "0.23.15";
22+
23+
public static final String VERSION = "0.23.16";
24+
2325

2426
public static final int LAYER_TYPE_SOFTWARE = 1;
2527
public static final int LAYER_TYPE_HARDWARE = 2;

0 commit comments

Comments
 (0)