Project

General

Profile

« Previous | Next » 

Revision c651024f

Added by Leszek Koltunski over 2 years ago

Downloading updates: dialog progress.

View differences:

src/main/res/layout/dialog_updates_pane.xml
3 3
	xmlns:android="http://schemas.android.com/apk/res/android"
4 4
	android:layout_width="match_parent"
5 5
	android:layout_height="wrap_content"
6
	android:layout_margin="10dp"
7 6
	android:background="@color/grey"
7
	android:padding="8dp"
8 8
	android:orientation="horizontal">
9 9

  
10 10
   	<ImageView
11
   		android:id="@+id/updates_pane_image"
11
   	    android:id="@+id/updates_pane_image"
12
   	    android:scaleType="fitCenter"
12 13
   		android:layout_width="wrap_content"
13
   		android:layout_height="wrap_content"
14
   		android:layout_margin="10dp"/>
14
   		android:layout_height="wrap_content"/>
15 15

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

  
20 22
 		android:layout_gravity="center_vertical">
21 23

  
22 24
		<TextView
23 25
    		android:id="@+id/updates_pane_title"
26
    		android:gravity="center_vertical"
24 27
    		android:layout_width="match_parent"
25 28
    		android:layout_height="wrap_content"
26 29
    		android:textStyle="bold"/>
27 30
   		<TextView
28 31
    		android:id="@+id/updates_pane_version"
32
    		android:gravity="center_vertical"
29 33
    		android:layout_width="wrap_content"
30 34
    		android:layout_height="wrap_content"/>
31
    	<TextView
35

  
36
        <TextView
32 37
    		android:id="@+id/updates_pane_description"
38
    		android:gravity="center_vertical"
33 39
    		android:layout_width="wrap_content"
34 40
    		android:layout_height="wrap_content"/>
41

  
35 42
    	<Button
36 43
             android:id="@+id/updates_pane_button"
37 44
             android:layout_width="match_parent"
38 45
             android:layout_height="wrap_content"
39 46
             android:backgroundTint="@color/black"
40
             android:layout_marginEnd="10dp"
41 47
             android:text="@string/install"
42
             android:gravity="center_vertical"/>
48
             android:gravity="center"/>
49

  
43 50
 	</LinearLayout>
44 51
</LinearLayout>

Also available in: Unified diff