New icon and shadow fix
|
|
@ -23,8 +23,8 @@ android {
|
|||
applicationId "com.kabouzeid.gramophone"
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 22
|
||||
versionCode 2
|
||||
versionName "0.9.0.1b"
|
||||
versionCode 3
|
||||
versionName "0.9.1b"
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
|
|
@ -59,9 +59,12 @@ dependencies {
|
|||
compile 'com.squareup.picasso:picasso:2.5.0'
|
||||
compile 'com.squareup:otto:1.3.6'
|
||||
compile 'com.squareup.okhttp:okhttp:2.2.0'
|
||||
compile files('../libs/jaudiotagger-2.0.4-20111207.115108-15.jar')
|
||||
compile 'asia.ivity.android:drag-sort-listview:1.0'
|
||||
compile('com.crashlytics.sdk.android:crashlytics:2.2.1@aar') {
|
||||
transitive = true;
|
||||
}
|
||||
compile files('../libs/jaudiotagger-2.0.4-20111207.115108-15.jar')
|
||||
compile 'asia.ivity.android:drag-sort-listview:1.0'
|
||||
compile('com.mikepenz.aboutlibraries:library:4.5.9@aar') {
|
||||
transitive = true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ import com.kabouzeid.gramophone.util.NavigationUtil;
|
|||
import com.kabouzeid.gramophone.util.PreferenceUtils;
|
||||
import com.kabouzeid.gramophone.util.Util;
|
||||
import com.kabouzeid.gramophone.util.ViewUtil;
|
||||
import com.mikepenz.aboutlibraries.Libs;
|
||||
import com.squareup.picasso.Picasso;
|
||||
|
||||
|
||||
|
|
@ -242,7 +243,7 @@ public class MainActivity extends AbsFabActivity
|
|||
int id = item.getItemId();
|
||||
switch (id) {
|
||||
case R.id.action_licenses:
|
||||
Toast.makeText(this, "This feature is not available yet", Toast.LENGTH_SHORT).show();
|
||||
new Libs.Builder().withAutoDetect(true).start(this);
|
||||
return true;
|
||||
case R.id.action_new_playlist:
|
||||
CreatePlaylistDialogHelper.getDialog(this).show();
|
||||
|
|
|
|||
BIN
app/src/main/res/drawable-hdpi/ic_launcher.png
Executable file → Normal file
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 7 KiB |
BIN
app/src/main/res/drawable-mdpi/ic_launcher.png
Executable file → Normal file
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 3.8 KiB |
BIN
app/src/main/res/drawable-xhdpi/ic_launcher.png
Executable file → Normal file
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 11 KiB |
BIN
app/src/main/res/drawable-xxhdpi/ic_launcher.png
Executable file → Normal file
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 21 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/ic_launcher.png
Executable file → Normal file
|
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 32 KiB |
|
|
@ -17,9 +17,8 @@
|
|||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_above="@+id/footer"
|
||||
android:layout_alignTop="@+id/progress_container"
|
||||
android:background="@drawable/shadow_up"/>
|
||||
|
||||
<LinearLayout
|
||||
|
|
@ -31,11 +30,12 @@
|
|||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:textStyle="bold"
|
||||
android:id="@+id/song_current_progress"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="2"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:layout_weight="1"
|
||||
android:fontFamily="sans-serif"
|
||||
android:gravity="bottom|left"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Title"
|
||||
|
|
@ -45,12 +45,11 @@
|
|||
android:id="@+id/song_total_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_weight="1"
|
||||
android:fontFamily="sans-serif"
|
||||
android:gravity="bottom|right"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Caption"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Title"
|
||||
android:textColor="?attr/caption_text_color"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
|
@ -69,7 +68,7 @@
|
|||
android:paddingTop="16dp"
|
||||
android:transitionName="@string/transition_album_text">
|
||||
|
||||
<TextView
|
||||
<TextView
|
||||
android:id="@+id/song_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
@ -90,10 +89,10 @@
|
|||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_below="@id/footer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="5dp"
|
||||
android:background="@drawable/shadow_down" />
|
||||
android:layout_below="@id/footer"
|
||||
android:background="@drawable/shadow_down"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/media_controller_container"
|
||||
|
|
@ -110,24 +109,24 @@
|
|||
android:layout_width="72dp"
|
||||
android:layout_height="72dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="-8dp"
|
||||
android:layout_toLeftOf="@+id/fab"
|
||||
android:background="?round_selector"
|
||||
android:padding="22dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/ic_skip_previous_white_48dp"
|
||||
android:layout_marginRight="-8dp"/>
|
||||
android:src="@drawable/ic_skip_previous_white_48dp"/>
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/next_button"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="72dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="-8dp"
|
||||
android:layout_toRightOf="@+id/fab"
|
||||
android:background="?round_selector"
|
||||
android:padding="22dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/ic_skip_next_white_48dp"
|
||||
android:layout_marginLeft="-8dp"/>
|
||||
android:src="@drawable/ic_skip_next_white_48dp"/>
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/repeat_button"
|
||||
|
|
|
|||
|
|
@ -23,12 +23,11 @@
|
|||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/default_album_art"/>
|
||||
|
||||
<LinearLayout
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="64dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:background="@drawable/shadow_up"
|
||||
android:orientation="vertical"/>
|
||||
android:background="@drawable/shadow_up"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@
|
|||
<string name="label_current_playing_queue">Playing queue</string>
|
||||
<string name="close">Close</string>
|
||||
<string name="save_as_playlist">Save as playlist</string>
|
||||
<string name="credits">Gramophone is a completely free material designed music player by <b>Karim Abou Zeid</b>.\n\n<a href="https://plus.google.com/+KarimAbouZeid23697">Google+</a>   <a href="https://twitter.com/karim23697">Twitter</a></string>
|
||||
<string name="credits">Gramophone is a completely free material designed music player by <b>Karim Abou Zeid</b>.\n\nIcon by <a href="http://cookicons.co/">Cookicons</a>\n\n<a href="https://plus.google.com/+KarimAbouZeid23697">Google+</a>   <a href="https://twitter.com/karim23697">Twitter</a></string>
|
||||
<string name="title_activity_search">SearchActivity</string>
|
||||
<string name="more">more</string>
|
||||
<string name="no_results">No results</string>
|
||||
|
|
|
|||