ParkSangGwon / TedPicker

Multiple image select library for Android. Take a picture or Select from gallary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image Select Toolbar doesn't show up.

vj-1023 opened this issue · comments

@ParkSangGwon , @gun0912
I did all according to the instructions provided for some reason the toolbar to select image isn't appearing in my application, kindly check the screenshot below

image

Another issue which i m facing is with the camera activity, whenever i click an image, it comes below in the selected images list perfectly but the camera is just still showing the same image, it doesn't refresh itself to click another one, or turns into a black screen and the capture button doesn't do anthing.

i solved toolbar not appearing problem by
include toolbar at layout picker_activity_main_pp
at activity ImagePickerActivity
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbarcam);
setSupportActionBar(toolbar);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
// getSupportActionBar().setTitle(getString(R.string.title_activity_details));
toolbar.setNavigationOnClickListener(new View.OnClickListener() {
@OverRide
public void onClick(View v) {
// Log.e("Strgg","kk");
onBackPressed();
}
});
work with me

But I have just directly used the gradle build import ! How do I change the
library files ?

Cheers,
Vinit
On Feb 14, 2016 6:10 PM, "enggazzar" notifications@github.com wrote:

i solved this problem by
include toolbar at layout picker_activity_main_pp
at activity ImagePickerActivity
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbarcam);
setSupportActionBar(toolbar);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
//
getSupportActionBar().setTitle(getString(R.string.title_activity_details));
toolbar.setNavigationOnClickListener(new View.OnClickListener() {
@OverRide https://github.com/Override
public void onClick(View v) {
// Log.e("Strgg","kk");
onBackPressed();
}
});
work with me


Reply to this email directly or view it on GitHub
#7 (comment)
.

import module of library tell you can modify

Can you please tell me the procedure ?
I m using Android studio and I m new to Android and I really want to crack
this.

Cheers,
Vinit
On Feb 14, 2016 6:22 PM, "enggazzar" notifications@github.com wrote:

import module of library tell you can modify


Reply to this email directly or view it on GitHub
#7 (comment)
.

file-new-import module
choose tedpicker library aftere u download the project

then file projectstructure click app then dependancies

then add module dependancy
choose tedpicker library

Thank you soo much, I will try it out and get back to you if I get stuck
somewhere brother.

Cheers,
Vinit
On Feb 14, 2016 6:30 PM, "enggazzar" notifications@github.com wrote:

then add module dependancy
choose tedpicker library


Reply to this email directly or view it on GitHub
#7 (comment)
.

@vj-1023 do you use Appcompat Theme?
and declare like this code?
<item name="windowActionBar">false</item> <item name="windowNoTitle">true</item>

I m using mainActivity extends AppCompactActivity , and my theme is
myAppTheme which is the parent theme of AppCompactActivity.NoActionBar

Where do I add this code ?

@vj-1023 https://github.com/vj-1023 do you use Appcompat Theme?
and declare like this code?

false
true


Reply to this email directly or view it on GitHub
#7 (comment).

@vj-1023

you have to use AppCompat theme like this. ImagePickerActivity use toolbar without actionbar

    <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
        <!-- Customize your theme here. -->
        <item name="colorPrimary">@color/colorPrimary</item>
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
        <item name="colorAccent">@color/colorAccent</item>


        <item name="windowActionBar">false</item>
        <item name="windowNoTitle">true</item>