This repository has been archived by the owner on Jul 31, 2022. It is now read-only.
/
sudoku_list_item.xml
60 lines (52 loc) · 2 KB
/
sudoku_list_item.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:padding="6dp">
<org.moire.opensudoku.gui.SudokuBoardView
android:id="@+id/sudoku_board"
android:layout_width="100sp"
android:layout_height="100sp"
android:layout_marginRight="6dp"/>
<TextView
android:id="@+id/state"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@+id/sudoku_board"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="State" />
<TextView
android:id="@+id/time"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_toRightOf="@+id/state"
android:gravity="right"
android:layout_marginLeft="8sp"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="00:00" />
<TextView
android:id="@+id/last_played"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/state"
android:layout_toRightOf="@+id/sudoku_board"
android:layout_marginTop="4sp"
android:text="last_played" />
<TextView
android:id="@+id/created"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/last_played"
android:layout_toRightOf="@+id/sudoku_board"
android:layout_marginTop="4sp"
android:text="created" />
<TextView
android:id="@+id/note"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/created"
android:layout_toRightOf="@+id/sudoku_board"
android:layout_marginTop="4sp"
android:text="note" />
</RelativeLayout>