Project

General

Profile

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

magiccube / src / main / res / layout / dialog_updates_pane.xml @ 5ba1740c

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
	android:baselineAligned="false">
10

    
11
    <LinearLayout
12
   		android:layout_width="0dp"
13
 		android:layout_height="match_parent"
14
 		android:orientation="horizontal"
15
 		android:layout_weight="0.5">
16

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

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

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

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

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

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

    
65
 	</LinearLayout>
66
</LinearLayout>
(34-34/55)