Posts in 2021
-
Most votes on angular questions 2
May 01, 2021 in FAQ
Most votes on angular questions 2. #11 Could not find module "@angular-devkit/build-angular" #12 What is the equivalent of ngShow and ngHide in Angular 2+? #13 Huge number of files generated for every Angular project #14 How can I select an element in a component template? #15 How to detect when an @Input() value changes in Angular? #16 How to get current route #17 *ngIf and *ngFor on same element causing error #18 access key and value of object using *ngFor #19 How to detect a route change in Angular? #20 No provider for HttpClient
Read all the top votes questions and answers in a single page. #11: Could not find module "@angular-devkit/build-angular" (Score: 665) Created: 2018-05-14 Last updated: 2020-04-13 Tags: angular, angular-cli, angular6, angular-cli-v6 After …
-
Most votes on angular questions 10
May 01, 2021 in FAQ
Most votes on angular questions 10. #91 How do I call an Angular 2 pipe with multiple arguments? #92 How to get current value of RxJS Subject or Observable? #93 How can I manually set an Angular form field as invalid? #94 Send data through routing paths in Angular #95 Use component from another module #96 Angular2 material dialog has issues - Did you add it to @NgModule.entryComponents? #97 Angular2 If ngModel is used within a form tag, either the name attribute must be set or the form #98 How to get query parameters from URL in Angular 5? #99 How to allow access outside localhost #100 How to pass a parameter to routerLink that is somewhere inside the URL?
Read all the top votes questions and answers in a single page. #91: How do I call an Angular 2 pipe with multiple arguments? (Score: 248) Created: 2016-04-23 Last updated: 2016-12-21 Tags: javascript, angular, angular2-pipe I know I can call a pipe …
-
Most votes on angular questions 1
May 01, 2021 in FAQ
Most votes on angular questions 1. #1 Can't bind to 'ngModel' since it isn't a known property of 'input' #2 What is the difference between Promises and Observables? #3 Difference between Constructor and ngOnInit #4 Can't bind to 'formGroup' since it isn't a known property of 'form' #5 Angular HTML binding #6 Angular/RxJs When should I unsubscribe from
Subscription
#7 BehaviorSubject vs Observable? #8 Angular: conditional class with *ngClass #9 How to use *ngIf else? #10 ngFor with index as value in attributeRead all the top votes questions and answers in a single page. #1: Can't bind to 'ngModel' since it isn't a known property of 'input' (Score: 1637) Created: 2016-08-11 Last updated: 2020-03-27 Tags: javascript, angular, typescript, input I’ve …
-
Most votes on android-layout questions 9
May 01, 2021 in FAQ
Most votes on android-layout questions 9. #81 Nested Recycler view height doesn't wrap its content #82 How do I create a ListView with rounded corners in Android? #83 How do I add a bullet symbol in TextView? #84 Android Spinner : Avoid onItemSelected calls during initialization #85 Toolbar overlapping below status bar #86 How to center the content inside a linear layout? #87 Vertical line using XML drawable #88 Why does LayoutInflater ignore the layout_width and layout_height layout parameters I've specified? #89 Flinging with RecyclerView + AppBarLayout #90 What is the 'app' Android XML namespace?
Read all the top votes questions and answers in a single page. #81: Nested Recycler view height doesn't wrap its content (Score: 179) Created: 2014-10-30 Last updated: 2017-06-16 Tags: android, android-layout, android-studio, android-recyclerview, …
-
Most votes on android-layout questions 8
May 01, 2021 in FAQ
Most votes on android-layout questions 8. #71 Why not use always android:configChanges="keyboardHidden|orientation"? #72 Android How to adjust layout in Full Screen Mode when softkeyboard is visible #73 What are the differences between LinearLayout, RelativeLayout, and AbsoluteLayout? #74 Font size of TextView in Android application changes on changing font size from native settings #75 Custom attributes in styles.xml #76 Set the absolute position of a view #77 Disable soft keyboard on NumberPicker #78 Gridview with two columns and auto resized images #79 Android layout replacing a view with another view on run time #80 How can I change default dialog button text color in android 5
Read all the top votes questions and answers in a single page. #71: Why not use always android:configChanges="keyboardHidden|orientation"? (Score: 186) Created: 2011-10-19 Last updated: 2011-11-06 Tags: android, android-layout I was …
-
Most votes on android-layout questions 7
May 01, 2021 in FAQ
Most votes on android-layout questions 7. #61 How to make layout with View fill the remaining space? #62 Set android shape color programmatically #63 How to implement a ViewPager with different Fragments / Layouts #64 Evenly spacing views using ConstraintLayout #65 Android Paint: .measureText() vs .getTextBounds() #66 Getting activity from context in android #67 How do I make WRAP_CONTENT work on a RecyclerView #68 String Resource new line /n not possible? #69 How to adjust layout when soft keyboard appears #70 Android: ScrollView vs NestedScrollView
Read all the top votes questions and answers in a single page. #61: How to make layout with View fill the remaining space? (Score: 199) Created: 2011-06-11 Last updated: 2015-12-30 Tags: android, layout, android-layout I’m designing my …
-
Most votes on android-layout questions 6
May 01, 2021 in FAQ
Most votes on android-layout questions 6. #51 What does ellipsize mean in android? #52 Ripple effect on Android Lollipop CardView #53 Can I Set "android:layout_below" at Runtime Programmatically? #54 How can you tell when a layout has been drawn? #55 Android: how to draw a border to a LinearLayout #56 Android what does the clipToPadding Attribute do? #57 How do I use a compound drawable instead of a LinearLayout that contains an ImageView and a TextView #58 Setting background colour of Android layout element #59 Usage of forceLayout(), requestLayout() and invalidate() #60 How to display count of notifications in app launcher icon
Read all the top votes questions and answers in a single page. #51: What does ellipsize mean in android? (Score: 221) Created: 2012-11-09 Last updated: 2019-07-09 Tags: android, android-layout, textview I’ve added an EditText to my layout, and …
-
Most votes on android-layout questions 5
May 01, 2021 in FAQ
Most votes on android-layout questions 5. #41 Android: set view style programmatically #42 Placing/Overlapping(z-index) a view above another view in android #43 Differences between ConstraintLayout and RelativeLayout #44 How set the android:gravity to TextView from Java side in Android #45 How to lay out Views in RelativeLayout programmatically? #46 How do I change the android actionbar title and icon #47 How to center the elements in ConstraintLayout #48 What does the LayoutInflater attachToRoot parameter mean? #49 How to inflate one view with a layout #50 GridLayout (not GridView) how to stretch all children evenly
Read all the top votes questions and answers in a single page. #41: Android: set view style programmatically (Score: 247) Created: 2012-07-30 Last updated: 2017-03-27 Tags: android, android-layout Here’s XML: <RelativeLayout …
-
Most votes on android-layout questions 4
May 01, 2021 in FAQ
Most votes on android-layout questions 4. #31 RecyclerView: Inconsistency detected. Invalid item position #32 how to change color of textview hyperlink? #33 Android list view inside a scroll view #34 How to change the color of a CheckBox? #35 How to set layout_weight attribute dynamically from code? #36 Android: How to create a Dialog without a title? #37 How to animate RecyclerView items when they appear #38 Android LinearLayout Gradient Background #39 Add padding on view programmatically #40 Avoid passing null as the view root (need to resolve layout parameters on the inflated layout's root element)
Read all the top votes questions and answers in a single page. #31: RecyclerView: Inconsistency detected. Invalid item position (Score: 305) Created: 2015-05-13 Last updated: 2019-08-07 Tags: android, android-layout, android-recyclerview, …
-
Most votes on android-layout questions 3
May 01, 2021 in FAQ
Most votes on android-layout questions 3. #21 Navigation Drawer (Google+ vs. YouTube) #22 Android toolbar center title and custom font #23 How to set space between listView Items in Android #24 LinearLayout not expanding inside a ScrollView #25 How to build a Horizontal ListView with RecyclerView? #26 How to set layout_gravity programmatically? #27 What is the purpose of Android's <merge> tag in XML layouts? #28 Calling setCompoundDrawables() doesn't display the Compound Drawable #29 Changing EditText bottom line color with appcompat v7 #30 RecyclerView inside ScrollView is not working
Read all the top votes questions and answers in a single page. #21: Navigation Drawer (Google+ vs. YouTube) (Score: 404) Created: 2012-07-07 Last updated: 2018-09-16 Tags: android, android-layout, user-interface, navigation-drawer Does anyone know …