Project

General

Profile

Download (1.61 KB) Statistics
| Branch: | Tag: | Revision:

magiccube / src / main / res / layout / dialog_solvers_pane.xml @ def32b2c

1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout
3
	xmlns:android="http://schemas.android.com/apk/res/android"
4
	android:layout_width="match_parent"
5
	android:layout_height="wrap_content"
6
	android:background="@color/medium_grey"
7
	android:padding="8dp"
8
	android:orientation="horizontal">
9

    
10
    <ImageView
11
   	     android:id="@+id/solvers_pane_image"
12
   	     android:scaleType="fitCenter"
13
		 android:adjustViewBounds="true"
14
   		 android:layout_width="0dp"
15
   		 android:layout_height="match_parent"
16
   		 android:layout_gravity="top"
17
   		 android:layout_weight="0.5"/>
18

    
19
   	<LinearLayout
20
   		android:layout_width="0dp"
21
 		android:layout_height="match_parent"
22
 		android:orientation="vertical"
23
 		android:layout_marginStart="8dp"
24
 		android:layout_weight="1.0">
25

    
26
		<TextView
27
    		android:id="@+id/solvers_pane_title"
28
    		android:gravity="top|start"
29
    		android:layout_width="match_parent"
30
    		android:layout_height="wrap_content"
31
    		android:singleLine="true"
32
    		android:textStyle="bold"/>
33

    
34
        <TextView
35
    		android:id="@+id/solvers_pane_description"
36
    		android:gravity="top|start"
37
    		android:layout_width="match_parent"
38
    		android:layout_height="wrap_content"/>
39

    
40
    	<Button
41
             android:id="@+id/solvers_pane_button"
42
             android:layout_width="match_parent"
43
             android:layout_height="wrap_content"
44
             android:layout_gravity="bottom"
45
             android:gravity="center"
46
             android:backgroundTint="@color/black"
47
             android:insetTop="0dp"
48
             android:insetBottom="0dp"
49
             android:text="@string/use_solver"/>
50

    
51
 	</LinearLayout>
52
</LinearLayout>
(26-26/54)