Linked Questions

9 votes
1 answer
26k views

I am using a Custom View. On the Custom View I am plotting some Graph. And also I am using TextView on my layout. When I am making this TextView VISIBLE and INVISIBLE on button click , it is ...
Tejas's user avatar
  • 443
-1 votes
1 answer
89 views

I have a RelativeLayout that is being expanded on click by setting a LinearLayout inside to View.VISIBLE. This works fine, but as soon as I set the LinearLayout inside to INVISIBLE, the LL hides but ...
Jonathan's user avatar
  • 2,107
177 votes
13 answers
315k views

I have a RelativeLayout which contains two buttons. Which are overlapped on each other. <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/...
Rishi's user avatar
  • 3,569
81 votes
13 answers
34k views

I'm developing an app for iOS and I'm using the Storyboard with AutoLayout ON. One of my view controllers has a set of 4 buttons, and in certain circumstances i would like to make the first one ...
elbuild's user avatar
  • 4,889
42 votes
7 answers
79k views

What is the proper way to expand a CardView?
Robert Vangor's user avatar
34 votes
7 answers
68k views

I am unable to stop a ProgressBar. Its style is ProgressBarStylesmall. How can I start and stop a circular, small ProgressBar?
saqibabbasi's user avatar
12 votes
2 answers
19k views

I have a RelativeLayout that inflates just fine. I would like to add a solid color rectangle spanning the width of the layout at the top. I tried putting the following into my xml: <view android:...
JoeyJoeJoeJuniorShabadoo's user avatar
2 votes
6 answers
9k views

public void Add_text() { ll.setOrientation(LinearLayout.HORIZONTAL); ll.setId(i); LinearLayout.LayoutParams params = new LinearLayout.LayoutParams( LayoutParams....
user2771059's user avatar
1 vote
3 answers
12k views

I've a condition check to decide if the ProgressBar should appear or not. The layout looks like below where the ProgressBar is contained within a RelativeLayout: <RelativeLayout android:id="@+...
vardhinisuresh27's user avatar
1 vote
3 answers
2k views

I would like to add AdMob ads to my application, but I have a problem with showing/hiding them depending on the internet connection status of the device. When I turn on my device with WiFi turned on ...
fragon's user avatar
  • 3,471
0 votes
2 answers
2k views

I 've a LinearLayout with 2 views, view A which takes some vertical space, and view B which takes the rest of the layout. <LinearLayout android:id="@+id/ly2" android:layout_width="...
Michael Chourdakis's user avatar
0 votes
1 answer
2k views

I'm working on app which is tutorial based app. I want to show my tutorials as well as banner ad at bottom I want to show tutorial on whole screen until ad is not loaded as soon as ad loads i want my ...
akshay bhange's user avatar
0 votes
1 answer
1k views

In xamarin Android we have "Visibility.Gone;" to hide the button. In Xamarin Forms we have IsVisible="{Binding State}", but this only will make view invisible, space remain there. Please let me know ...
Manik Mahendru's user avatar
0 votes
3 answers
961 views

I have a RecyclerView and two types of views(headers and item -> these are the same class objects, but contains different data). I want a header to be visible but it should take no space (something ...
FuriousSpider's user avatar
0 votes
3 answers
838 views

I have a Relative Layout that has two children, an ImageView and a ProgressBar. While the image for the ImageView is loading I want to show the spinning progress bar, and once the image has finished I ...
user2997084's user avatar

15 30 50 per page