|
@ -129,10 +129,12 @@ public class GalleryActivityFeedback extends Activity {
|
129
|
129
|
if (listViews.size() == 1) {
|
130
|
130
|
Bimp.tempSelectBitmap.clear();
|
131
|
131
|
Bimp.max = 0;
|
132
|
|
if (TextUtils.isEmpty(type))
|
133
|
|
send_bt.setText(Res.getString("finish") + "(" + Bimp.tempSelectBitmap.size() + "/" + PublicWay.num + ")");
|
134
|
|
else
|
|
132
|
if (!TextUtils.isEmpty(type) && "1".equals(type)) {
|
135
|
133
|
send_bt.setText(Res.getString("finish") + "(" + Bimp.tempSelectBitmap.size() + "/" + 9 + ")");
|
|
134
|
} else {
|
|
135
|
send_bt.setText(Res.getString("finish") + "(" + Bimp.tempSelectBitmap.size() + "/" + PublicWay.num + ")");
|
|
136
|
}
|
|
137
|
|
136
|
138
|
Intent intent = new Intent("data.broadcast.action");
|
137
|
139
|
sendBroadcast(intent);
|
138
|
140
|
finish();
|
|
@ -142,10 +144,11 @@ public class GalleryActivityFeedback extends Activity {
|
142
|
144
|
pager.removeAllViews();
|
143
|
145
|
listViews.remove(location);
|
144
|
146
|
adapter.setListViews(listViews);
|
145
|
|
if (TextUtils.isEmpty(type))
|
146
|
|
send_bt.setText(Res.getString("finish") + "(" + Bimp.tempSelectBitmap.size() + "/" + PublicWay.num + ")");
|
147
|
|
else
|
|
147
|
if (!TextUtils.isEmpty(type) && "1".equals(type)) {
|
148
|
148
|
send_bt.setText(Res.getString("finish") + "(" + Bimp.tempSelectBitmap.size() + "/" + 9 + ")");
|
|
149
|
} else {
|
|
150
|
send_bt.setText(Res.getString("finish") + "(" + Bimp.tempSelectBitmap.size() + "/" + PublicWay.num + ")");
|
|
151
|
}
|
149
|
152
|
adapter.notifyDataSetChanged();
|
150
|
153
|
}
|
151
|
154
|
}
|
|
@ -155,7 +158,11 @@ public class GalleryActivityFeedback extends Activity {
|
155
|
158
|
private class GallerySendListener implements View.OnClickListener {
|
156
|
159
|
public void onClick(View v) {
|
157
|
160
|
finish();
|
158
|
|
intent.setClass(GalleryActivityFeedback.this, FeedbackActivity.class);
|
|
161
|
if (!TextUtils.isEmpty(type) && "1".equals(type)) {
|
|
162
|
intent.setClass(GalleryActivityFeedback.this, PublishPicTopicActivity.class);
|
|
163
|
} else {
|
|
164
|
intent.setClass(GalleryActivityFeedback.this, FeedbackActivity.class);
|
|
165
|
}
|
159
|
166
|
startActivity(intent);
|
160
|
167
|
}
|
161
|
168
|
|
|
@ -163,7 +170,12 @@ public class GalleryActivityFeedback extends Activity {
|
163
|
170
|
|
164
|
171
|
public void isShowOkBt() {
|
165
|
172
|
if (Bimp.tempSelectBitmap.size() > 0) {
|
166
|
|
send_bt.setText(Res.getString("finish") + "(" + Bimp.tempSelectBitmap.size() + "/" + PublicWay.num + ")");
|
|
173
|
if (!TextUtils.isEmpty(type) && "1".equals(type)) {
|
|
174
|
send_bt.setText(Res.getString("finish") + "(" + Bimp.tempSelectBitmap.size() + "/" + "9" + ")");
|
|
175
|
} else {
|
|
176
|
send_bt.setText(Res.getString("finish") + "(" + Bimp.tempSelectBitmap.size() + "/" + PublicWay.num + ")");
|
|
177
|
}
|
|
178
|
|
167
|
179
|
send_bt.setPressed(true);
|
168
|
180
|
send_bt.setClickable(true);
|
169
|
181
|
send_bt.setTextColor(getResources().getColor(R.color.lvse));
|