android-layout 411

  1. What is the difference between “px”, “dip”, “dp” and “sp”?
  2. What is the difference between match_parent and fill_parent?
  3. Gravity and layout_gravity on Android
  4. What's “tools:context” in Android layout files?
  5. How to hide the title bar for an Activity in XML with existing custom theme
  6. You need to use a Theme.AppCompat theme (or descendant) with this activity
  7. Standard Android Button with a different color
  8. What does android:layout_weight mean?
  9. How to align views at the bottom of the screen?
  10. How do I put a border around an Android textview?
  11. How to change fontFamily of TextView in Android
  12. Can I underline text in an android layout?
  13. Can the Android Layout folder contain subfolders?
  14. Navigation Drawer (Google+ vs. YouTube)
  15. Percentage width in a RelativeLayout
  16. Android - I need some clarifications of fragments vs activities and views
  17. getWidth() and getHeight() of View returns 0
  18. How do I remove lines between ListViews on Android?
  19. Spacing between listView Items Android
  20. LinearLayout not expanding inside a ScrollView
  21. How to programmatically set drawableLeft on Android button?
  22. get currently displayed fragment
  23. Changing EditText bottom line color with appcompat v7
  24. android:drawableLeft margin and/or padding
  25. Calling setCompoundDrawables() doesn't display the Compound Drawable
  26. Android: How to create a Dialog without a title?
  27. How to set layout_gravity programmatically?
  28. Linear Layout and weight in Android
  29. How to lay out Views in RelativeLayout programmatically?
  30. What is the purpose of Android's <merge> tag in XML layouts?
  31. Android list view inside a scroll view
  32. how to change color of textview hyperlink?
  33. How to build a Horizontal ListView with RecyclerView?
  34. How do I change the android actionbar title and icon
  35. How to inflate one view with a layout
  36. Android LinearLayout Gradient Background
  37. How do I create a ListView with rounded corners in Android?
  38. GridLayout (not GridView) how to stretch all children evenly
  39. Can I set “android:layout_below” at runtime, programmatically?
  40. Placing/Overlapping(z-index) a view above another view in android
  41. How do I use a compound drawable instead of a LinearLayout that contains an ImageView and a TextView
  42. How to animate RecyclerView items when they appear
  43. Setting background colour of Android layout element
  44. How to implement a ViewPager with different Fragments / Layouts
  45. Android Paint: .measureText() vs .getTextBounds()
  46. Nested Recycler view height doesn't wrap its content
  47. How to display count of notifications in app launcher icon
  48. Gridview with two columns and auto resized images
  49. Add padding on view programmatically
  50. Flinging with RecyclerView + AppBarLayout