Skip to content

Commit

Permalink
move ui activity to ui folder
Browse files Browse the repository at this point in the history
  • Loading branch information
ratanparai committed Apr 29, 2019
1 parent bd44610 commit 881e780
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
android:name=".ui.MainActivity"
android:banner="@drawable/app_icon_your_company"
android:icon="@drawable/app_icon_your_company"
android:label="@string/app_name"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@
* the License.
*/

package com.ratanparai.moviedog
package com.ratanparai.moviedog.ui

import android.app.Activity
import android.os.Bundle
import com.ratanparai.moviedog.R

/**
* Loads [MainFragment].
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ratanparai.moviedog
package com.ratanparai.moviedog.ui

import android.content.Context
import android.os.Bundle
Expand All @@ -7,11 +7,11 @@ import android.util.Log
import android.widget.Toast
import androidx.leanback.app.BrowseFragment
import androidx.leanback.widget.*
import com.ratanparai.moviedog.R
import com.ratanparai.moviedog.db.AppDatabase
import com.ratanparai.moviedog.db.dao.MovieDao
import com.ratanparai.moviedog.db.entity.Movie
import com.ratanparai.moviedog.presenter.CardPresenter
import com.ratanparai.moviedog.ui.PlaybackActivity

/**
* Loads a grid of cards with movies to browse.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import android.util.Log
import android.view.KeyEvent
import androidx.fragment.app.FragmentActivity
import com.ratanparai.moviedog.R
import com.ratanparai.moviedog.db.AppDatabase
import com.ratanparai.moviedog.utilities.EXTRA_MOVIE_ID

class PlaybackActivity: FragmentActivity() {
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@

<!--<fragment-->
<!--android:id="@+id/cardsFragment"-->
<!--android:name="com.ratanparai.moviedog.MainFragment"-->
<!--android:name="com.ratanparai.moviedog.ui.MainFragment"-->
<!--android:layout_width="match_parent"-->
<!--android:layout_height="match_parent"/>-->
<!--</RelativeLayout>-->

<fragment
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/main_frame"
android:name="com.ratanparai.moviedog.MainFragment"
android:name="com.ratanparai.moviedog.ui.MainFragment"
android:layout_width="match_parent"
android:layout_height="match_parent" />

0 comments on commit 881e780

Please sign in to comment.