android-layout 522

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