mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-06 10:09:33 +02:00
Reformat code
This commit is contained in:
parent
137bde5282
commit
6d5ea1596f
5 changed files with 27 additions and 25 deletions
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="de.badaix.snapcast">
|
||||
<manifest package="de.badaix.snapcast"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK"/>
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
|
|
|
@ -18,7 +18,8 @@
|
|||
<h1>Snapcast</h1>
|
||||
|
||||
<p>Copyright © 2014 - 2016 <a href="mailto:snapcast@badaix.de">BadAix</a></p>
|
||||
<p>Author: <a href="https://de.linkedin.com/pub/johannes-pohl/65/6a6/253">Johannes Pohl</a> and <a href="https://github.com/badaix/snapcast/graphs/contributors">contributors</a></p>
|
||||
<p>Author: <a href="https://de.linkedin.com/pub/johannes-pohl/65/6a6/253">Johannes Pohl</a> and <a
|
||||
href="https://github.com/badaix/snapcast/graphs/contributors">contributors</a></p>
|
||||
|
||||
<div>
|
||||
<h2>License</h2>
|
||||
|
|
|
@ -141,6 +141,7 @@ public class ServerDialogFragment extends DialogFragment implements View.OnClick
|
|||
|
||||
public interface ServerDialogListener {
|
||||
void onHostChanged(String host, int streamPort, int controlPort);
|
||||
|
||||
void onAutoStartChanged(boolean autoStart);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,29 +13,29 @@
|
|||
android:id="@+id/lvClient"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_above="@+id/tvStreamState"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:cacheColorHint="@android:color/transparent"
|
||||
android:divider="@null"
|
||||
android:dividerHeight="1dp"
|
||||
android:listSelector="@android:color/transparent"
|
||||
android:layout_above="@+id/tvStreamState"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"/>
|
||||
android:listSelector="@android:color/transparent"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvStreamState"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:text="Stream state"
|
||||
android:id="@+id/tvStreamState"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:padding="5dp"/>
|
||||
android:padding="5dp"
|
||||
android:text="Stream state"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
||||
</RelativeLayout>
|
||||
|
||||
</FrameLayout>
|
||||
|
|
|
@ -2,7 +2,7 @@ package de.badaix.snapcast;
|
|||
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
/**
|
||||
* To work on unit tests, switch the Test Artifact in the Build Variants view.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue