Changed some appearances of the personal posts.
This commit is contained in:
@@ -161,10 +161,7 @@ public class CameraFragment extends Fragment implements PostUploader.PostUploadL
|
|||||||
mComment.setText("");
|
mComment.setText("");
|
||||||
|
|
||||||
PostUploader upload = new PostUploader(getActivity());
|
PostUploader upload = new PostUploader(getActivity());
|
||||||
if (R.id.pic_preview == 0) {
|
upload.uploadPicture(new BitmapPost(((PicturePreview)view.findViewById(R.id.pic_preview)).getPicture(), comment));
|
||||||
upload.uploadPicture(new BitmapPost(((PicturePreview)view.findViewById(R.id.pic_preview)).getPicture(), comment));
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
mPhoto.recycle();
|
mPhoto.recycle();
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
android:text="Hallo Ik ben een comment!" />
|
android:text="@string/comment_placeholder" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -10,24 +10,28 @@
|
|||||||
android:layout_height="250dp" />
|
android:layout_height="250dp" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
android:gravity="center"
|
||||||
android:id="@+id/comment_timeline_profile"
|
android:id="@+id/comment_timeline_profile"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="Hallo Ik ben een comment!" />
|
android:text="@string/comment_placeholder" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
android:gravity="center"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="40dp">
|
android:layout_height="40dp">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
android:gravity="center"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:text="@string/niet_slecht" />
|
android:text="@string/niet_slecht" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
android:gravity="center"
|
||||||
android:id="@+id/niet_slecht_count_profile"
|
android:id="@+id/niet_slecht_count_profile"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:text="10" />
|
android:text=" 10" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@@ -34,4 +34,5 @@
|
|||||||
<string name="niet_slecht">Niet Slecht.</string>
|
<string name="niet_slecht">Niet Slecht.</string>
|
||||||
<string name="comment">Bijschrift:</string>
|
<string name="comment">Bijschrift:</string>
|
||||||
<string name="cancel">Annuleer</string>
|
<string name="cancel">Annuleer</string>
|
||||||
|
<string name="comment_placeholder">Hallo Ik ben een comment!</string>
|
||||||
</resources>
|
</resources>
|
||||||
@@ -32,4 +32,6 @@
|
|||||||
<string name="upload_profile_pic">Uploading profile picture…</string>
|
<string name="upload_profile_pic">Uploading profile picture…</string>
|
||||||
<string name="comment">Comment:</string>
|
<string name="comment">Comment:</string>
|
||||||
<string name="cancel">Cancel</string>
|
<string name="cancel">Cancel</string>
|
||||||
|
<string name="comment_placeholder">Hello, I am a comment!</string>
|
||||||
|
<string name="mail_success">Er is een e-mail verzonden. Volg a.u.b. de instructies.</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user