User credentials are saved and retrieved from the SQLite database. Next I want to retrieve all songs from icarus and return it to java/kotlin. Some code cleanup
This commit is contained in:
1 parent
bb6b08cf1a
commit
9483c6b834
26 files changed
+601
-637
No files matched your search
+2
-2
@@ -4,7 +4,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".activities.DemoStreamActivity">
|
||||
tools:context=".activities.LoginActivity">
|
||||
|
||||
<android.support.design.widget.AppBarLayout
|
||||
android:layout_width="match_parent"
|
||||
@@ -28,6 +28,6 @@
|
||||
android:layout_margin="@dimen/fab_margin"
|
||||
app:srcCompat="@android:drawable/ic_dialog_email" />
|
||||
|
||||
<include layout="@layout/content_demo_stream" />
|
||||
<include layout="@layout/content_login" />
|
||||
|
||||
</android.support.design.widget.CoordinatorLayout>
|
||||
+3
-4
@@ -5,8 +5,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
||||
tools:context=".activities.DemoStreamActivity"
|
||||
tools:showIn="@layout/activity_demo_stream">
|
||||
tools:context=".activities.LoginActivity"
|
||||
tools:showIn="@layout/activity_login">
|
||||
|
||||
<Button
|
||||
android:id="@+id/demoStream"
|
||||
@@ -27,7 +27,6 @@
|
||||
android:ems="10"
|
||||
android:hint="username"
|
||||
android:inputType="textPersonName"
|
||||
android:text="kverse"
|
||||
app:layout_constraintBottom_toTopOf="@+id/password"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
@@ -40,7 +39,6 @@
|
||||
android:ems="10"
|
||||
android:hint="password"
|
||||
android:inputType="textPassword"
|
||||
android:text="demolaugh"
|
||||
app:layout_constraintBottom_toTopOf="@+id/apiUri"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
@@ -53,6 +51,7 @@
|
||||
android:ems="10"
|
||||
android:hint="apiUri"
|
||||
android:inputType="textPersonName"
|
||||
android:text="https://www.soaricarus.com"
|
||||
app:layout_constraintBottom_toTopOf="@+id/saveUserCred"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent" />
|
||||
Reference in new issue
Block a user