Skip to content

Instantly share code, notes, and snippets.

@Raf0707
Created May 22, 2024 00:23
Show Gist options
  • Save Raf0707/171fdda6dda33244be39ba415a35ea96 to your computer and use it in GitHub Desktop.
Save Raf0707/171fdda6dda33244be39ba415a35ea96 to your computer and use it in GitHub Desktop.
Food
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.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"
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".ui.main.vocabulary.FoodActivity">
<TableLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
android:stretchColumns="1">
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#E0E0E0">
<TextView
android:text="English"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textStyle="bold"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
<TextView
android:text="Russian"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textStyle="bold"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#FFFFFF">
<TextView
android:text="Apple"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
<TextView
android:text="Яблоко"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#F5F5F5">
<TextView
android:text="Banana"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
<TextView
android:text="Банан"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#FFFFFF">
<TextView
android:text="Pizza"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
<TextView
android:text="Пицца"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#F5F5F5">
<TextView
android:text="Sushi"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
<TextView
android:text="Суши"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#FFFFFF">
<TextView
android:text="Hamburger"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
<TextView
android:text="Гамбургер"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#F5F5F5">
<TextView
android:text="Pasta"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
<TextView
android:text="Паста"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#FFFFFF">
<TextView
android:text="Steak"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
<TextView
android:text="Стейк"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#F5F5F5">
<TextView
android:text="Salad"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
<TextView
android:text="Салат"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#FFFFFF">
<TextView
android:text="Soup"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
<TextView
android:text="Суп"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#F5F5F5">
<TextView
android:text="Bread"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
<TextView
android:text="Хлеб"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#FFFFFF">
<TextView
android:text="Cheese"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
<TextView
android:text="Сыр"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#F5F5F5">
<TextView
android:text="Ice Cream"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
<TextView
android:text="Мороженое"
android:layout_weight="1"
android:gravity="center"
android:padding="8dp"
android:textColor="#333333"
android:background="@drawable/cell_border"/>
</TableRow>
</TableLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment