102 lines
		
	
	
		
			3.5 KiB
		
	
	
	
		
			XML
		
	
	
	
			
		
		
	
	
			102 lines
		
	
	
		
			3.5 KiB
		
	
	
	
		
			XML
		
	
	
	
| <?xml version="1.0" encoding="utf-8"?>
 | |
| <android.support.constraint.ConstraintLayout
 | |
|     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"
 | |
|     xmlns:toolbar="http://schemas.android.com/apk/res-auto"
 | |
|     android:id="@+id/container"
 | |
|     android:layout_width="match_parent"
 | |
|     android:layout_height="match_parent"
 | |
|     android:orientation="vertical"
 | |
|     tools:context=".MainActivity">
 | |
| 
 | |
|     <LinearLayout
 | |
|         android:id="@+id/activty_content"
 | |
|         android:layout_width="match_parent"
 | |
|         android:layout_height="match_parent"
 | |
| 
 | |
|         android:layout_marginStart="8dp"
 | |
|         android:layout_marginLeft="8dp"
 | |
|         android:layout_marginEnd="8dp"
 | |
|         android:layout_marginRight="8dp"
 | |
|         android:orientation="vertical"
 | |
|         app:layout_constraintEnd_toEndOf="parent"
 | |
|         app:layout_constraintStart_toStartOf="parent"
 | |
|         tools:layout_editor_absoluteY="16dp">
 | |
| 
 | |
|         <android.support.v7.widget.Toolbar
 | |
|             android:id="@+id/toolbar"
 | |
|             android:layout_width="match_parent"
 | |
|             android:layout_height="wrap_content"
 | |
|             android:background="@color/colorAccent"
 | |
|             android:minHeight="?attr/actionBarSize">
 | |
|             <!--
 | |
|         toolbar:navigationIcon="@mipmap/ic_launcher_round"
 | |
|         toolbar:logo="@mipmap/ic_launcher"
 | |
|         toolbar:subtitle="456"
 | |
|         toolbar:title="123">
 | |
|          >
 | |
|          -->
 | |
|             <TextView
 | |
|                 android:layout_width="wrap_content"
 | |
|                 android:layout_height="wrap_content"
 | |
|                 android:text="Clock" />
 | |
| 
 | |
| 
 | |
|         </android.support.v7.widget.Toolbar>
 | |
| 
 | |
|         <LinearLayout
 | |
| 
 | |
|             android:layout_width="match_parent"
 | |
|             android:layout_height="671dp"
 | |
|             android:orientation="vertical"
 | |
| 
 | |
|             >
 | |
| 
 | |
|             <TextView
 | |
|                 android:id="@+id/message"
 | |
|                 android:layout_width="wrap_content"
 | |
|                 android:layout_height="wrap_content"
 | |
|                 android:text="@string/title_home" />
 | |
| 
 | |
|             <TextView
 | |
|                 android:id="@+id/message2"
 | |
|                 android:layout_width="wrap_content"
 | |
|                 android:layout_height="wrap_content"
 | |
|                 android:text="@string/title_home" />
 | |
| 
 | |
|             <TextView
 | |
|                 android:id="@+id/message3"
 | |
|                 android:layout_width="wrap_content"
 | |
|                 android:layout_height="wrap_content"
 | |
|                 android:text="@string/title_home" />
 | |
|         </LinearLayout>
 | |
|     </LinearLayout>
 | |
| 
 | |
|     <TextView
 | |
|         android:id="@+id/message4"
 | |
|         android:layout_width="wrap_content"
 | |
|         android:layout_height="wrap_content"
 | |
|         android:layout_marginStart="8dp"
 | |
|         android:layout_marginLeft="8dp"
 | |
|         android:layout_marginBottom="100dp"
 | |
|         android:text="@string/test"
 | |
|         app:layout_constraintBottom_toTopOf="@+id/navigation"
 | |
|         app:layout_constraintStart_toEndOf="parent" />
 | |
| 
 | |
|     <android.support.design.widget.BottomNavigationView
 | |
|         android:id="@+id/navigation"
 | |
|         android:layout_width="0dp"
 | |
|         android:layout_height="wrap_content"
 | |
|         android:layout_marginBottom="8dp"
 | |
|         android:background="?android:attr/windowBackground"
 | |
|         app:layout_constraintBottom_toBottomOf="@+id/activty_content"
 | |
|         app:layout_constraintHorizontal_bias="1.0"
 | |
|         app:layout_constraintLeft_toLeftOf="parent"
 | |
|         app:layout_constraintRight_toRightOf="parent"
 | |
|         app:menu="@menu/navigation" />
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| </android.support.constraint.ConstraintLayout> |