Improved splash screen & about screen
This commit is contained in:
parent
3cbbd36f2a
commit
5cf596a5bf
5 changed files with 26 additions and 11 deletions
Binary file not shown.
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 99 KiB |
|
@ -6,10 +6,22 @@
|
|||
android:background="@drawable/background"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:src="@drawable/linphone_banner"/>
|
||||
<ImageView
|
||||
android:contentDescription="@string/content_description_welcome"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/logo_linphone_57x57" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="5dp"
|
||||
android:text="@string/app_name"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:textColor="@color/text_default"
|
||||
android:textSize="30dp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
<ProgressBar
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content" />
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_gravity="center_horizontal|bottom" />
|
||||
|
||||
</FrameLayout>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<string name="today_date_format">HH:mm</string>
|
||||
<string name="picture_name_format">linphone-mms-%s.jpg</string>
|
||||
|
||||
<string name="app_name">Linphone 2</string>
|
||||
<string name="app_name">Linphone</string>
|
||||
<string name="notification_title">Linphone</string>
|
||||
<string name="wait_dialog_text">Starting up</string>
|
||||
<string name="notification_registered">Registered to %s </string>
|
||||
|
|
|
@ -73,11 +73,13 @@ public class LinphoneLauncherActivity extends Activity {
|
|||
protected void onServiceReady() {
|
||||
LinphoneService.instance().setActivityToLaunchOnIncomingReceived(LinphoneActivity.class);
|
||||
|
||||
startActivity(new Intent()
|
||||
.setClass(this, LinphoneActivity.class)
|
||||
.setData(getIntent().getData()));
|
||||
|
||||
finish();
|
||||
mHandler.postDelayed(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
startActivity(new Intent().setClass(LinphoneLauncherActivity.this, LinphoneActivity.class).setData(getIntent().getData()));
|
||||
finish();
|
||||
}
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue