Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <FrameLayout 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:id="@+id/activity_main"
- android:background="#fff"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:paddingLeft="@dimen/activity_horizontal_margin"
- android:paddingRight="@dimen/activity_horizontal_margin"
- android:paddingTop="@dimen/activity_vertical_margin"
- tools:context="com.example.roma.translater.MainActivity">
- <LinearLayout
- android:layout_width="match_parent"
- android:background="@drawable/border"
- android:id="@+id/borderEditText"
- android:layout_height="141dp"
- android:weightSum="1"
- android:orientation="vertical">
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="106dp"
- android:weightSum="1"
- android:layout_weight="0.09">
- <EditText
- android:layout_height="wrap_content"
- android:textSize="19dp"
- android:inputType="textMultiLine"
- android:hint="Введите текст "
- android:background="@null"
- android:ems="15"
- android:id="@+id/etText"
- android:layout_weight="0.41"
- android:layout_width="wrap_content"
- android:layout_marginEnd="40dp"
- android:layout_marginTop="5dp"
- android:layout_marginStart="12dp" />
- </LinearLayout>
- </LinearLayout>
- <FrameLayout
- android:layout_width="match_parent"
- android:layout_height="143dp">
- <ImageButton
- android:layout_width="40dp"
- android:layout_height="40dp"
- android:background="@null"
- app:srcCompat="@android:drawable/ic_btn_speak_now"
- android:layout_gravity="end|center_horizontal"
- android:id="@+id/sound" />
- <ImageButton
- android:layout_width="35dp"
- android:layout_height="35dp"
- android:background="@null"
- app:srcCompat="@android:drawable/ic_lock_silent_mode"
- android:layout_gravity="end|center"
- android:id="@+id/imageButton4" />
- <ImageButton
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@null"
- android:visibility="invisible"
- app:srcCompat="@android:drawable/ic_delete"
- android:layout_gravity="bottom"
- android:id="@+id/btDelete" />
- </FrameLayout>
- <FrameLayout
- android:id="@+id/framel"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <android.support.design.widget.TabLayout
- android:id="@+id/tablayout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_gravity="bottom|center"
- android:background="@drawable/bordertab">
- <android.support.design.widget.TabItem
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Left" />
- <android.support.design.widget.TabItem
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Center" />
- <android.support.design.widget.TabItem
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Right" />
- </android.support.design.widget.TabLayout>
- </FrameLayout>
- </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement