Merge branch 'audiorecorder-1.1.20'

This commit is contained in:
Alexey Kuznetsov 2016-03-28 14:09:45 +03:00
commit 175159bf52
3 changed files with 26 additions and 14 deletions

View file

@ -8,8 +8,8 @@ android {
applicationId "com.github.axet.audiorecorder"
minSdkVersion 16
targetSdkVersion 23
versionCode 40
versionName "1.1.19"
versionCode 41
versionName "1.1.20"
}
signingConfigs {
release {

View file

@ -687,7 +687,7 @@ public class MainActivity extends AppCompatActivity implements AbsListView.OnScr
str = getResources().getQuantityString(R.plurals.seconds, diffSeconds, diffSeconds);
}
String ss = String.format("free %s ~ %s left", MainApplication.formatSize(free), str);
String ss = String.format("%s free ~ %s left", MainApplication.formatSize(free), str);
TextView text = (TextView) findViewById(R.id.space_left);
text.setText(ss);

View file

@ -18,21 +18,33 @@
android:layout_height="wrap_content"
android:layout_gravity="center"
android:padding="5dp"
android:text="free 32G ~ 3 hours left" />
android:text="32G free ~ 3 hours left" />
<LinearLayout
android:id="@+id/empty_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@android:color/darker_gray" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="5dp"
android:text="Recording List is Empty\n\nClick Record to Start Recording"
android:textAlignment="center"></TextView>
</LinearLayout>
<ListView
android:id="@+id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:clipToPadding="false"
android:paddingBottom="61dp"></ListView>
<TextView
android:id="@+id/empty_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="Recording List is Empty\n\nClick Record to Start Recording"
android:textAlignment="center"
android:visibility="gone"></TextView>
</LinearLayout>