• Skip to primary navigation
  • Skip to content
  • Skip to footer
Insert mode Snippets & HOW TOs
  • Donate
  • Tags
  • About

    How to set Android TextView line spacing?

    less than 1 minute read

    On this page

    • Example:

    You can use lineSpacingExtra or lineSpacingMultiplier in your XML file.

    Example:

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:lineSpacingMultiplier="0.7">

    More on stackoverflow.

    Updated: April 27, 2020

    Twitter Facebook LinkedIn
    Previous Next

    You May Also Enjoy

    Flask vs Django

    2 minute read

    Introduction Flask and Django are two popular web development frameworks for Python. While they share many similarities, there are some key differences betwe...

    Dump MySQL query to CSV

    less than 1 minute read

    mysql -e "select * from table;" -h HOST --port=PORT -u USER -p DATABASE > mydumpfile.csv

    Django MySQL emoji support

    1 minute read

    This post explains how to add emoji support to MySQL.

    Barrier: control multiple computers with one keyboard mouse

    less than 1 minute read

    Barrier is an open-source kvm software that allows you to control multiple computers with one keyboard and mouse.

    • Twitter
    • GitHub
    • Feed
    © 2022 Insert mode. Powered by Jekyll & Minimal Mistakes.