Project

General

Profile

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

magiccube / src / main / res / layout / dialog_updates_pane.xml @ fad10885

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
    <LinearLayout
11
   		android:layout_width="0dp"
12
 		android:layout_height="match_parent"
13
 		android:orientation="horizontal"
14
 		android:layout_weight="0.5">
15

    
16
   	    <ImageView
17
   	        android:id="@+id/updates_pane_image"
18
   	        android:scaleType="fitCenter"
19
   		    android:layout_width="match_parent"
20
   		    android:layout_height="match_parent"/>
21
    </LinearLayout>
22

    
23
   	<LinearLayout
24
   		android:layout_width="0dp"
25
 		android:layout_height="match_parent"
26
 		android:orientation="vertical"
27
 		android:layout_marginStart="8dp"
28
 		android:layout_weight="1.0">
29

    
30
		<TextView
31
    		android:id="@+id/updates_pane_title"
32
    		android:gravity="top|start"
33
    		android:layout_width="match_parent"
34
    		android:layout_height="wrap_content"
35
    		android:singleLine="true"
36
    		android:textStyle="bold"/>
37

    
38
        <TextView
39
    		android:id="@+id/updates_pane_description"
40
    		android:gravity="top|start"
41
    		android:layout_width="wrap_content"
42
    		android:layout_height="wrap_content"
43
    		android:singleLine="true"/>
44

    
45
    	<Button
46
             android:id="@+id/updates_pane_button"
47
             android:layout_width="match_parent"
48
             android:layout_height="wrap_content"
49
             android:backgroundTint="@color/black"
50
             android:minHeight="0dp"
51
             android:minWidth="0dp"
52
             android:insetTop="0dp"
53
             android:insetBottom="0dp"
54
             android:text="@string/install"/>
55

    
56
    	<ProgressBar
57
             android:id="@+id/updates_pane_bar"
58
             android:layout_width="match_parent"
59
             android:layout_height="wrap_content"
60
             style="@android:style/Widget.ProgressBar.Horizontal"
61
             android:progressDrawable="@drawable/black_progress"
62
             android:max="100"/>
63

    
64
 	</LinearLayout>
65
</LinearLayout>
(29-29/38)