4 changed files with 57 additions and 13 deletions
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android" |
||||
android:width="24dp" |
||||
android:height="24dp" |
||||
android:viewportWidth="24" |
||||
android:viewportHeight="24"> |
||||
|
||||
<path |
||||
android:fillColor="#FFFFFF" |
||||
android:pathData="M12 10.9c-.61 0-1.1 .49 -1.1 1.1s.49 1.1 1.1 1.1c.61 0 1.1-.49 |
||||
1.1-1.1s-.49-1.1-1.1-1.1zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 |
||||
10-10S17.52 2 12 2zm2.19 12.19L6 18l3.81-8.19L18 6l-3.81 8.19z" /> |
||||
<path |
||||
android:pathData="M0 0h24v24H0z" /> |
||||
</vector> |
@ -1,19 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||
xmlns:tools="http://schemas.android.com/tools" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent" |
||||
tools:context="de.trac.spherical.MainActivity"> |
||||
|
||||
<TextView |
||||
android:id="@+id/hello_world" |
||||
<LinearLayout |
||||
android:id="@+id/container" |
||||
android:orientation="vertical" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent" |
||||
tools:layout_editor_absoluteY="8dp" |
||||
tools:layout_editor_absoluteX="8dp"> |
||||
</LinearLayout> |
||||
|
||||
<android.support.design.widget.FloatingActionButton |
||||
android:id="@+id/fab" |
||||
android:src="@drawable/ic_explore_white_48px" |
||||
app:fabSize="auto" |
||||
android:layout_gravity="bottom|end" |
||||
android:layout_margin="16dp" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:text="Hello World!"/> |
||||
<android.opengl.GLSurfaceView |
||||
android:id="@+id/surface_view" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent"/> |
||||
app:layout_anchor="@id/container" |
||||
app:layout_anchorGravity="bottom|right|end" /> |
||||
|
||||
</android.support.constraint.ConstraintLayout> |
||||
</android.support.design.widget.CoordinatorLayout> |
||||
|
Loading…
Reference in new issue