mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-17 05:09:53 +01:00
WIP: Converts the splash screen to XML format
Removes all programatic calls that modify the layout and uses the XML resource instead.
This commit is contained in:
15
briar-android/res/layout/splash.xml
Normal file
15
briar-android/res/layout/splash.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#FFFFFF" >
|
||||
|
||||
<ImageView
|
||||
android:src="@drawable/briar_logo_large"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_margin="@dimen/margin_xxlarge" />
|
||||
|
||||
</RelativeLayout>
|
||||
Reference in New Issue
Block a user