Upgraded Material Dialogs

- native material progress dialog
- auto hide keyboard when saving
This commit is contained in:
Karim Abou Zeid 2015-02-15 12:36:13 +01:00
commit cafd1081ca
5 changed files with 20 additions and 33 deletions

View file

@ -1,25 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<ProgressBar
android:id="@+id/progressBar1"
style="?android:attr/progressBarStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_gravity="center_vertical"/>
<TextView
android:id="@+id/text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:fontFamily="sans-serif"
android:paddingLeft="16dp"
android:textAppearance="?android:textAppearanceMedium"
android:textColor="?title_text_color"
android:textSize="18sp"/>
</LinearLayout>

View file

@ -49,6 +49,7 @@
<string name="track_hint">Track (2 for track 2 or 3004 for CD3 track 4)</string>
<string name="album_or_artist_empty">The album title or the album artist text field is empty.</string>
<string name="writing_file_number">Writing file</string>
<string name="saving_changes">Saving changes…</string>
<string name="title_activity_album_tag_editor">AlbumTagEditorActivity</string>
<string name="label_details">Details</string>
<string name="label_file_name">File name</string>