Skip to content

New lines configurable #1

Description

@vanniktech

I want to have 0 new lines between nodes. Currently, it's always set to 1:

Actual formatting:

<?xml version="1.0" encoding="utf-8"?>
<merge
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    tools:layout_width="match_parent"
    tools:layout_height="match_parent"
    tools:background="#000000"
    tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout">

  <com.vanniktech.feature.gps.VanniktechMapView
      android:id="@+id/mapView"
      android:layout_width="match_parent"
      android:layout_height="match_parent" />

Wanted formatting:

<?xml version="1.0" encoding="utf-8"?>
<merge
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    tools:layout_width="match_parent"
    tools:layout_height="match_parent"
    tools:background="#000000"
    tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout">
  <com.vanniktech.feature.gps.VanniktechMapView
      android:id="@+id/mapView"
      android:layout_width="match_parent"
      android:layout_height="match_parent" />

Would it be possible to set the number of lines between nodes? 1 for the current behavior (and can be the default) and 0 for the behavior, I want?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions