Skip to content

Commit

Permalink
Bigger play/pause button (fix #669)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniele Ricci <[email protected]>
  • Loading branch information
daniele-athome committed Apr 5, 2016
1 parent 44cf3f9 commit 82828e9
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 4 deletions.
4 changes: 4 additions & 0 deletions app/src/main/java/org/kontalk/ui/view/AudioContentView.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ protected void onFinishInflate() {
mSeekBar = (SeekBar) findViewById(R.id.balloon_audio_seekbar);
mDownloadButton = (ImageView) findViewById(R.id.balloon_audio_download);
mTime = (TextView) findViewById(R.id.balloon_audio_time);

if (isInEditMode()) {
mDownloadButton.setVisibility(GONE);
}
}

@Override
Expand Down
Binary file modified app/src/main/res/drawable-hdpi/pause_balloon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-hdpi/play_balloon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-mdpi/pause_balloon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-mdpi/play_balloon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-xhdpi/pause_balloon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-xhdpi/play_balloon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-xxhdpi/pause_balloon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-xxhdpi/play_balloon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 2 additions & 4 deletions app/src/main/res/layout/message_content_audio.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:id="@+id/balloon_audio_player"
android:layout_marginTop="12dp"
android:focusable="false"
android:background="@drawable/play_balloon"
android:layout_alignParentLeft="true" />
Expand All @@ -30,10 +29,9 @@
android:id="@+id/balloon_audio_seekbar"
android:layout_width="@dimen/message_audio_width"
android:layout_height="wrap_content"
android:layout_marginLeft="9dp"
android:layout_marginTop="6dp"
android:layout_marginTop="8dp"
android:focusable="false"
android:layout_toRightOf="@+id/balloon_audio_player" />
android:layout_toRightOf="@+id/balloon_audio_player"/>

<TextView
android:id="@+id/balloon_audio_time"
Expand Down

0 comments on commit 82828e9

Please sign in to comment.