Project

General

Profile

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

magiccube / src / main / res / layout / dialog_updates_pane.xml @ 9fde123a

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/updates_pane_image"
12
   	    android:scaleType="fitCenter"
13
   		android:layout_width="wrap_content"
14
   		android:layout_height="wrap_content"/>
15

    
16
   	<LinearLayout
17
   		android:layout_width="match_parent"
18
 		android:layout_height="match_parent"
19
 		android:orientation="vertical"
20
 		android:layout_marginStart="8dp">
21

    
22
		<TextView
23
    		android:id="@+id/updates_pane_title"
24
    		android:gravity="top|start"
25
    		android:layout_width="match_parent"
26
    		android:layout_height="wrap_content"
27
    		android:singleLine="true"
28
    		android:textStyle="bold"/>
29

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

    
37
    	<Button
38
             android:id="@+id/updates_pane_button"
39
             android:layout_width="match_parent"
40
             android:layout_height="wrap_content"
41
             android:backgroundTint="@color/black"
42
             android:minHeight="0dp"
43
             android:minWidth="0dp"
44
             android:insetTop="0dp"
45
             android:insetBottom="0dp"
46
             android:text="@string/install"/>
47

    
48
    	<ProgressBar
49
             android:id="@+id/updates_pane_bar"
50
             android:layout_width="match_parent"
51
             android:layout_height="wrap_content"
52
             style="@android:style/Widget.ProgressBar.Horizontal"
53
             android:progressDrawable="@drawable/black_progress"
54
             android:max="100"/>
55

    
56
 	</LinearLayout>
57
</LinearLayout>
(23-23/31)