Updated material-intro dependency.
This commit is contained in:
parent
708260798b
commit
028b8f0193
3 changed files with 13 additions and 4 deletions
|
|
@ -143,5 +143,5 @@ dependencies {
|
||||||
compile 'com.github.bumptech.glide:glide:3.7.0'
|
compile 'com.github.bumptech.glide:glide:3.7.0'
|
||||||
compile 'com.github.bumptech.glide:okhttp3-integration:1.4.0@aar'
|
compile 'com.github.bumptech.glide:okhttp3-integration:1.4.0@aar'
|
||||||
compile 'com.github.kabouzeid:RecyclerView-FastScroll:v1.6-kmod'
|
compile 'com.github.kabouzeid:RecyclerView-FastScroll:v1.6-kmod'
|
||||||
compile 'com.heinrichreimersoftware:material-intro:a89e1099e5'
|
compile 'com.heinrichreimersoftware:material-intro:3ece4e7199'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,16 +5,16 @@ import android.content.pm.PackageManager;
|
||||||
import android.os.Build;
|
import android.os.Build;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
|
||||||
|
import com.heinrichreimersoftware.materialintro.app.IntroActivity;
|
||||||
import com.kabouzeid.gramophone.R;
|
import com.kabouzeid.gramophone.R;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Karim Abou Zeid (kabouzeid)
|
* @author Karim Abou Zeid (kabouzeid)
|
||||||
*/
|
*/
|
||||||
public class AppIntroActivity extends com.heinrichreimersoftware.materialintro.app.IntroActivity {
|
public class AppIntroActivity extends IntroActivity {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
setFullscreen(false);
|
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
|
|
||||||
addSlide(new PhonographSimpleSlide.Builder()
|
addSlide(new PhonographSimpleSlide.Builder()
|
||||||
|
|
@ -43,7 +43,7 @@ public class AppIntroActivity extends com.heinrichreimersoftware.materialintro.a
|
||||||
addSlide(new PhonographSimpleSlide.Builder()
|
addSlide(new PhonographSimpleSlide.Builder()
|
||||||
.title(R.string.label_storage)
|
.title(R.string.label_storage)
|
||||||
.description(R.string.storage_permission_explaination)
|
.description(R.string.storage_permission_explaination)
|
||||||
.image(R.drawable.ic_folder_white_24dp)
|
.image(R.drawable.ic_folder_white_144dp)
|
||||||
.background(R.color.md_indigo_500)
|
.background(R.color.md_indigo_500)
|
||||||
.backgroundDark(R.color.md_indigo_600)
|
.backgroundDark(R.color.md_indigo_600)
|
||||||
.build());
|
.build());
|
||||||
|
|
|
||||||
9
app/src/main/res/drawable/ic_folder_white_144dp.xml
Normal file
9
app/src/main/res/drawable/ic_folder_white_144dp.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="144dp"
|
||||||
|
android:height="144dp"
|
||||||
|
android:viewportWidth="24.0"
|
||||||
|
android:viewportHeight="24.0">
|
||||||
|
<path
|
||||||
|
android:fillColor="#FFFFFFFF"
|
||||||
|
android:pathData="M10,4H4c-1.1,0 -1.99,0.9 -1.99,2L2,18c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2V8c0,-1.1 -0.9,-2 -2,-2h-8l-2,-2z" />
|
||||||
|
</vector>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue