New splashscreen at startup

This commit is contained in:
Sylvain Berfini 2012-09-17 18:16:29 +02:00
parent fa402009b1
commit 087752cb6a
4 changed files with 16 additions and 16 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View file

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true"
android:color="@color/text_over" />
<item android:state_enabled="false"
android:color="@color/text_default" />
<item android:color="@color/text_selected" />
</selector>

View file

@ -1,9 +1,16 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<FrameLayout <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
android:layout_width="fill_parent" android:layout_height="match_parent">
android:layout_height="fill_parent">
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" <ImageView
android:src="@drawable/logo_linphone_57x57" android:scaleType="fitXY" /> android:layout_width="match_parent"
<ProgressBar android:layout_height="wrap_content" android:layout_width="wrap_content" /> android:layout_height="match_parent"
android:src="@drawable/splashscreen"
android:scaleType="fitXY" />
<ProgressBar
android:layout_height="wrap_content"
android:layout_width="wrap_content" />
</FrameLayout> </FrameLayout>

View file

@ -570,9 +570,10 @@ public class ChatFragment extends Fragment implements OnClickListener, LinphoneC
if (requestCode == ADD_PHOTO && resultCode == Activity.RESULT_OK) { if (requestCode == ADD_PHOTO && resultCode == Activity.RESULT_OK) {
final String filePath = getRealPathFromURI(data.getData()); final String filePath = getRealPathFromURI(data.getData());
showPopupMenuAskingImageSize(filePath); showPopupMenuAskingImageSize(filePath);
} } else {
super.onActivityResult(requestCode, resultCode, data); super.onActivityResult(requestCode, resultCode, data);
} }
}
class ProgressOutputStream extends OutputStream { class ProgressOutputStream extends OutputStream {
OutputStream outputStream; OutputStream outputStream;