Nov 30, 2017 10:52
ok .thank anyway
Nov 30, 2017 10:40
please check the above dependencies
Nov 30, 2017 10:38
compile 'io.karim:materialtabs:2.0.2'
Nov 30, 2017 10:37
i am using karim library
Nov 30, 2017 10:30
i have mentioned in the above xml.i got confused
Nov 30, 2017 10:27
then it is always visible(i.e means on both fragment).Not allocate the change of fragment
Nov 30, 2017 10:25
when i add that drawable as background
Nov 30, 2017 10:25
there is one proble in adding the drawable.it is always visible to both tab.
Nov 30, 2017 10:25
ok sure i will check
Nov 30, 2017 10:25
i am confused where to do .i have updated my solution ,check
Nov 30, 2017 10:25
where do i have to include this. in layout of tab or where???
 

iOS Dev

Here you can discuss problems and share new hacks about code
Nov 30, 2017 07:35
help to solve this issue
https://stackoverflow.com/questions/47567367/shadow-on-the-top-of-indicator-height-within-the-tab
 

[iOS][Android][ChaosOverFlow]

Join to become part of the community, not to simply ask questi...
Nov 30, 2017 07:34
how can this isssue be resolved
https://stackoverflow.com/questions/47567367/shadow-on-the-top-of-indicator-height-within-the-tab
Nov 3, 2017 11:06
@AshishJain whats that mate i din't get
Nov 3, 2017 10:47
How can this issue be solved
https://stackoverflow.com/questions/47092927/testing-toast-message-using-espresso-is-not-resolved/47093907#47093907
 
Nov 3, 2017 11:38
i have updated code.You can check it
Nov 3, 2017 11:36
@bhavikMakwana i got something like this issue
java.lang.RuntimeException: createWindowSurface failed EGL_BAD_ALLOC
Nov 3, 2017 11:30
I got Something like this issue
Waited for the root of the view hierarchy to have window focus and not request layout for 10 seconds. If you specified a non default root matcher, it may be picking a root that never takes focus. Root:
Root{application-window-token=android.view.ViewRootImpl$W@52a73f24, window-token=android.view.ViewRootImpl$W@52a73f24, has-window-focus=false, layout-params-type=1,
Nov 3, 2017 11:28
known to me
Nov 3, 2017 11:28
is not
Nov 3, 2017 11:28
MobileViewMatchers
Nov 3, 2017 11:28
onView(withText(textId)).inRoot(MobileViewMatchers.isToast()).check(matches(isDi‌​splayed()));
Nov 3, 2017 11:22
i got issue in here
Nov 3, 2017 11:22
Matcher 'is toast' did not match any of the following roots:
Nov 3, 2017 11:21
what Does that mean??
Nov 3, 2017 11:19
can i use any ??
Nov 3, 2017 11:19
is it message form the Toast to display or what???
Nov 3, 2017 11:16
I have Update with the Code in the Stack. please Check
Nov 3, 2017 11:14
Then i can i test
I dont have ID Associated with it
Nov 3, 2017 11:11
issue in here
android.support.test.espresso.NoMatchingRootException: Matcher '' did not match any of the following roots: [Root{application-window-token=android.view.ViewRootImpl$W@52a82ed4, window-token=android.view.ViewRootImpl$W@52a82ed4, has-window-focus=true, layout-params-type=1, layout-params-string=WM.LayoutParams{(0,0)(fillxfill) ty=1 fl=#1810100 pfl=0x8 wanim=0x10302a1}, decor-view-string=DecorView{id=-1, visibility=VISIBLE, width=1080, height=1920, has-focus=true, has-focusable=true, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false,
Nov 3, 2017 11:10
What do i have to add in here
Nov 3, 2017 11:08
Added Something like this
class ToastMatcher extends TypeSafeMatcher<Root> {

@Override
public boolean matchesSafely(Root root) {
int type = root.getWindowLayoutParams().get().type;
if ((type == WindowManager.LayoutParams.TYPE_TOAST)) {
IBinder windowToken = root.getDecorView().getWindowToken();
IBinder appToken = root.getDecorView().getApplicationWindowToken();
if (windowToken == appToken) {
return true;
//means this window isn't contained by any other windows.
}
}
return false;
}

@Override
public void describeTo(Description description) {
Nov 3, 2017 11:08
What should be added in here
@Override
public void describeTo(Description description) {

}
Nov 3, 2017 11:07
sure .What we have to set in here. if we used CustomMatcher description.appendText("is toast"); I always get this issue No views in hierarchy found matching: with string from resource id
Nov 3, 2017 11:07
same issue onView(withText(R.string.messsage_login_successful)).inRoot(‌​withDecorView(not(‌​mA‌​ctivityRule.getActiv‌​ity().getWindow().ge‌​tDecorView()))).chec‌​k(matches(i‌​sDisplaye‌​d()));
Nov 3, 2017 11:07
i will try and update you
Nov 3, 2017 11:07
I have tried this .But not Able to solve my issue @BhavikMakwana The Toast is not associated with Another class
 
Nov 3, 2017 10:53
sure mate.i i have tried it more than 20 time
Nov 3, 2017 10:52
but not succeed
Nov 3, 2017 10:51
of stack
Nov 3, 2017 10:51
checked every solution
Nov 3, 2017 10:51
@KingofMasses i have tried alot
Nov 3, 2017 10:47
How can this issue be solved
https://stackoverflow.com/questions/47092927/testing-toast-message-using-espresso-is-not-resolved/47093907#47093907
 
Sep 21, 2017 06:28
@GabrieleMariotti i have uninstalled android studio and installed again ,then it is working properly
Sep 21, 2017 05:13
sure .@GabrieleMariotti .I will check this
Sep 21, 2017 05:06
sure . i @GabrieleMariotti i will ask new one.Why porject is not builded in android studio 3.0 .i have quiery in here
Sep 21, 2017 05:01
not able to solve .I have added error image
Sep 21, 2017 04:55
I hve uncommented all .But no success.
which one should i have to use in gradle-wrapper properties
#distributionUrl= https\://services.gradle.org/distributions/gradle-4.1-rc-1-all.zip
#distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
Sep 21, 2017 04:54
@gabrieleMariotti when i finish gradle sync it suggest me to use android studio 3.0 .When i open in android studio 3.0 the project is not builded.Updated with my gradle file
Sep 21, 2017 04:54
@gabrieleMariotti Doesn't this work distributionUrl=https\://services.gradle.org/distributions/g‌​radle-4.1-all.zip ???quiery