Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated screenshots

  • Loading branch information...
commit dbc992eb9ae7648dfac9c9e6ce078f061313d143 1 parent b1831ef
@olgalazarova olgalazarova authored
View
18 Android/ChutePhotoPicker+/res/layout/last_photo.xml
@@ -4,6 +4,24 @@
android:layout_height="fill_parent"
android:background="@color/grid_background"
android:orientation="vertical" >
+
+ <LinearLayout
+ android:id="@+id/txt_linear"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentTop="true"
+ android:layout_gravity="center"
+ android:gravity="center_horizontal"
+ android:paddingTop="5dip" >
+
+ <TextView
+ android:id="@+id/title_last_photo"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/last_photo"
+ android:textColor="@color/white"
+ android:textSize="18sp" />
+ </LinearLayout>
<ImageView android:id="@+id/lastPhotoImg"
android:layout_width="wrap_content"
View
BIN  Android/ChutePhotoPicker+/screenshots/SS_Slidechute1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Android/ChutePhotoPicker+/screenshots/SS_Slidechute2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Android/ChutePhotoPicker+/screenshots/SS_Slidechute3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Android/ChutePhotoPicker+/screenshots/SS_Slidechute4.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Android/ChutePhotoPicker+/screenshots/SS_Slidechute5.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
5 Android/ChutePhotoPicker+/src/com/chute/android/photopickerplus/app/PhotoStreamActivity.java
@@ -19,6 +19,7 @@
import android.widget.AdapterView.OnItemClickListener;
import android.widget.Button;
import android.widget.GridView;
+import android.widget.TextView;
import com.chute.android.photopickerplus.R;
import com.chute.android.photopickerplus.adapter.PhotoSelectCursorMultiAdapter;
@@ -36,6 +37,7 @@
private PhotoSelectCursorMultiAdapter gridAdapterMulti;
private PhotoSelectCursorSingleAdapter gridAdapterSingle;
PhotoStreamActivityIntentWrapper photoStreamWrapper;
+ private TextView selectPhotos;
/** Called when the activity is first created. */
@Override
@@ -43,6 +45,7 @@ public void onCreate(final Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.photos_select);
+ selectPhotos = (TextView) findViewById(R.id.txt_select_photos);
grid = (GridView) findViewById(R.id.gridView);
grid.setEmptyView(findViewById(R.id.empty_view_layout));
photoStreamWrapper = new PhotoStreamActivityIntentWrapper(getIntent());
@@ -75,6 +78,7 @@ protected void onPostExecute(final Cursor result) {
return;
}
if (photoStreamWrapper.getIsMultiPicker() == true) {
+ selectPhotos.setText(getApplicationContext().getResources().getString(R.string.select_photos));
if (gridAdapterMulti == null) {
gridAdapterMulti = new PhotoSelectCursorMultiAdapter(
PhotoStreamActivity.this, result);
@@ -86,6 +90,7 @@ protected void onPostExecute(final Cursor result) {
NotificationUtil.showPhotosAdapterToast(
getApplicationContext(), gridAdapterMulti.getCount());
} else {
+ selectPhotos.setText(getApplicationContext().getResources().getString(R.string.select_a_photo));
if (gridAdapterSingle == null) {
gridAdapterSingle = new PhotoSelectCursorSingleAdapter(
PhotoStreamActivity.this, result);
View
2  ...d/PhotoPickerPlusTutorial/src/com/chute/photopickerplustutorial/app/PhotoPickerPlusTutorialActivity.java
@@ -32,7 +32,7 @@
* in a grid. If you wish to enable multi-picking functionality, set
* isMultipicker=true, otherwise set isMultiPicker=false.
*/
- private boolean isMultiPicker = true;
+ private boolean isMultiPicker = false;
@Override
public void onCreate(Bundle savedInstanceState) {
Please sign in to comment.
Something went wrong with that request. Please try again.