This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mWaveSwipeRefreshLayout = (WaveSwipeRefreshLayout) findViewById(R.id.main_swipe); | |
| mWaveSwipeRefreshLayout.setOnRefreshListener(new WaveSwipeRefreshLayout.OnRefreshListener() { | |
| @Override public void onRefresh() { | |
| // Do work to refresh the list here. | |
| new Task().execute(); | |
| } | |
| }); | |
| private class Task extends AsyncTask<Void, Void, String[]> { | |
| ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <jp.co.recruit_lifestyle.android.widget.WaveSwipeRefreshLayout | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:id="@+id/main_swipe"> | |
| <ListView | |
| android:id="@+id/main_list" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| repositories { | |
| maven { | |
| url "https://jitpack.io" | |
| } | |
| } | |
| dependencies { | |
| compile 'com.github.recruit-lifestyle:WaveSwipeRefreshLayout:1.6' | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.monstertechno.musicplayerappui; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.os.Bundle; | |
| import android.view.View; | |
| import android.widget.ImageButton; | |
| import android.widget.Toast; | |
| import com.sothree.slidinguppanel.SlidingUpPanelLayout; | |
| import com.sothree.slidinguppanel.SlidingUpPanelLayout.PanelState; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <RelativeLayout 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" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| > | |
| <ImageView | |
| android:src="@drawable/songs_cover" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <com.sothree.slidinguppanel.SlidingUpPanelLayout 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" | |
| android:id="@+id/activity_main" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:gravity="bottom" | |
| tools:context=".MainActivity" | |
| app:umanoPanelHeight="70dp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <resources> | |
| <color name="colorPrimary">#3F51B5</color> | |
| <color name="colorPrimaryDark">#a3391f</color> | |
| <color name="colorAccent">#F55730</color> | |
| <color name="backgroundColor">#ffff</color> | |
| <color name="tectColor">#000</color> | |
| <color name="songTimerColor">#484848</color> | |
| </resources> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| dataBinding { | |
| enabled = true | |
| } | |
| } | |
| dependencies { | |
| //... | |
| implementation 'com.sothree.slidinguppanel:library:3.4.0' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.monstertechno.uidesignnew; | |
| import android.os.Bundle; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.support.v7.widget.Toolbar; | |
| import android.view.MenuItem; | |
| public class Profile extends AppCompatActivity{ | |
| @Override |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <android.support.design.widget.CoordinatorLayout 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" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:fitsSystemWindows="true" | |
| tools:context=".Profile"> | |
| <include |