Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MXML 4.02 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:id="@+id/activity_main"
  6.    android:background="#fff"
  7.    android:layout_width="match_parent"
  8.    android:layout_height="match_parent"
  9.    android:paddingLeft="@dimen/activity_horizontal_margin"
  10.    android:paddingRight="@dimen/activity_horizontal_margin"
  11.    android:paddingTop="@dimen/activity_vertical_margin"
  12.    tools:context="com.example.roma.translater.MainActivity">
  13.  
  14.  
  15.     <LinearLayout
  16.        android:layout_width="match_parent"
  17.        android:background="@drawable/border"
  18.        android:id="@+id/borderEditText"
  19.        android:layout_height="141dp"
  20.        android:weightSum="1"
  21.        android:orientation="vertical">
  22.  
  23.         <LinearLayout
  24.            android:orientation="horizontal"
  25.            android:layout_width="match_parent"
  26.            android:layout_height="106dp"
  27.            android:weightSum="1"
  28.            android:layout_weight="0.09">
  29.                 <EditText
  30.                    android:layout_height="wrap_content"
  31.                    android:textSize="19dp"
  32.                    android:inputType="textMultiLine"
  33.                    android:hint="Введите текст "
  34.                    android:background="@null"
  35.                    android:ems="15"
  36.                    android:id="@+id/etText"
  37.                    android:layout_weight="0.41"
  38.                    android:layout_width="wrap_content"
  39.                    android:layout_marginEnd="40dp"
  40.                    android:layout_marginTop="5dp"
  41.                    android:layout_marginStart="12dp" />
  42.  
  43.         </LinearLayout>
  44.  
  45.     </LinearLayout>
  46.     <FrameLayout
  47.        android:layout_width="match_parent"
  48.        android:layout_height="143dp">
  49.  
  50.         <ImageButton
  51.            android:layout_width="40dp"
  52.            android:layout_height="40dp"
  53.            android:background="@null"
  54.            app:srcCompat="@android:drawable/ic_btn_speak_now"
  55.            android:layout_gravity="end|center_horizontal"
  56.            android:id="@+id/sound" />
  57.         <ImageButton
  58.            android:layout_width="35dp"
  59.            android:layout_height="35dp"
  60.            android:background="@null"
  61.            app:srcCompat="@android:drawable/ic_lock_silent_mode"
  62.            android:layout_gravity="end|center"
  63.            android:id="@+id/imageButton4" />
  64.         <ImageButton
  65.            android:layout_width="wrap_content"
  66.            android:layout_height="wrap_content"
  67.            android:background="@null"
  68.            android:visibility="invisible"
  69.            app:srcCompat="@android:drawable/ic_delete"
  70.            android:layout_gravity="bottom"
  71.            android:id="@+id/btDelete" />
  72.  
  73.     </FrameLayout>
  74.  
  75.     <FrameLayout
  76.        android:id="@+id/framel"
  77.        android:layout_width="match_parent"
  78.        android:layout_height="match_parent">
  79.  
  80.         <android.support.design.widget.TabLayout
  81.            android:id="@+id/tablayout"
  82.            android:layout_width="match_parent"
  83.            android:layout_height="wrap_content"
  84.            android:layout_alignParentBottom="true"
  85.            android:layout_gravity="bottom|center"
  86.            android:background="@drawable/bordertab">
  87.  
  88.             <android.support.design.widget.TabItem
  89.                android:layout_width="wrap_content"
  90.                android:layout_height="wrap_content"
  91.  
  92.                android:text="Left" />
  93.  
  94.             <android.support.design.widget.TabItem
  95.                android:layout_width="wrap_content"
  96.                android:layout_height="wrap_content"
  97.                android:text="Center" />
  98.  
  99.             <android.support.design.widget.TabItem
  100.                android:layout_width="wrap_content"
  101.                android:layout_height="wrap_content"
  102.                android:text="Right" />
  103.         </android.support.design.widget.TabLayout>
  104.  
  105.     </FrameLayout>
  106. </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement